Wikipedia:Template index/Examples: Difference between revisions
Content deleted Content added
created |
Undid revision 1133796004 by 190.171.91.6 (talk) patent nonsense |
||
(45 intermediate revisions by 30 users not shown) | |||
Line 1:
A '''list of examples''' of the various message templates, and other sorts of templates.
__FORCETOC__
==Main namespace (for encyclopedic articles)==
{| border=1 cellspacing=0 cellpadding=3 align=center style="width: 100%;"
Line 23:
Templates related to issues and disputes with articles, including NPOV, are listed under [[Wikipedia:Template messages/Disputes|Template messages/Disputes]]. Templates related to formatting are listed under [[Wikipedia:Template messages/Format|Template messages/Format]]. Templates related to Cleanup issues are listed under [[Wikipedia:Template messages/Cleanup|Template messages/Cleanup]].
'''Example:''' {{ tl|disambiguation }} {{ disambiguation
|-
|
Line 76:
|
A list of ways to create several kinds of [[Wikipedia:Section#Compact TOC|compact]] [[Wikipedia:Section#Table of contents (TOC)|tables of contents]] (TOC). Please note that a normal compact TOC will not work when put on Category pages; the page contains a separate section instructing you how to put a compact TOC on Category pages.
'''Example:''' {{tl|Compact ToC}}
{{Compact ToC}} |-
|
Line 94 ⟶ 95:
Before attempting to delete any articles, categories, etc., read [[Wikipedia:Deletion policy]], and the specific instructions for the type of page you want to delete.
'''Example:''' {{tl|cfd result}} {{cfd result}}
'''Example:''' {{tl|Old
|-
|
Line 119 ⟶ 120:
|-
|
===[[Wikipedia:Template messages/Format|Formatting]]===
Line 132 ⟶ 134:
|-
|
===[[Wikipedia:Template messages/Links|Links]]===
Line 155 ⟶ 158:
'''Example:''' {{tl|German title Freiherr}}
{{German title Freiherr}}{{clear}}
|-
|
Line 168 ⟶ 167:
* Disputed content/length
|
'''Example:''' {{
'''Example:''' {{tl|List dispute}} {{List dispute}}
|-
|
===[[Wikipedia:Template messages/Maintenance|Maintenance]]===
Line 184:
|
Note that a message about "this page" may have an unintended effect on a page that includes the page with the message. If that applies, put the message inside noinclude tags, or be specific about which page the message refers to.
'''Example:''' {{tl|In use}} {{In use|category=no}}
'''Example:''' {{tl|
|-
|
===[[Wikipedia:Template messages/Merging|Merging]]===
* To be placed on top of the pages or sections which require merging.
|
'''Example:''' {{tl|merge}} {{merge|Wikipedia:Template messages/Merging|demospace=main}}
|-
|
|-
|
Line 234 ⟶ 230:
|-
|
===[[Wikipedia:Template messages/Splitting|Splitting]]===
Line 258 ⟶ 255:
|-
|
===[[Wikipedia:Template messages/Translation|Translation]]===
Line 297 ⟶ 295:
|-
|
|
'''Example:''' {{tl|contents pages (header bar)}} {{contents pages (header bar)}}
|-
|
|
''Hatnotes'' are short notes placed at the top of an article or section of an article (hence the name "[[hat]]"). Hatnotes help readers locate a different article they might be seeking. Readers may have arrived at the article containing the hatnote because they were [[WP:redirect|redirected]], because the sought article uses a more specific, [[WP:DAB|disambiguated]] title, or because the sought article and the article with the hatnote have similar names. Hatnotes provide [[WP:Internal link|links]] to the possibly sought article or to a [[WP:disambiguation page|disambiguation page]].
Line 308 ⟶ 306:
|-
|
|
A ''navigation template'' is a grouping of links used in multiple related articles to facilitate navigation between those articles. Editing of a navigation template is done in a central place, the template page. There are two main varieties of navigation template: ''navigation boxes'' (or ''navboxes''), designed to sit at the very bottom of articles, and ''sidebars'', designed to sit at the side of the article text. The two are complementary and either or both may be appropriate in different situations.
Line 315 ⟶ 313:
|-
|
|
[[Country code]]s, to render a flag icon and a wikilink to a country's article
Line 322 ⟶ 320:
|-
|
|
An '''infobox''' on [[Wikipedia]] is a consistently-formatted table which is present in articles with a common subject.
Line 328 ⟶ 326:
|-
|
|
{{Automatic taxobox|taxon=Animalia}}
This template sets up a {{tl|Automatic taxobox}}, a table setting out the [[Biological classification]] ([[taxonomy (biology)|taxonomy]]) for a group of living things with a choice of over 160 parameters.
'''Example:''' {{tlp|
|-
|
|
Templates for noting a particular national or regional bias of an article, and asking for a [[world view|worldwide view]].
Line 344 ⟶ 342:
|-
|
|
Wikiproject to list stub messages/templates that are applied to [[stubs]].
Line 375 ⟶ 373:
For '''table of contents''' templates, see [[Wikipedia:Template messages/Compact tables of contents]].
'''Example:''' {{tlp|birth year category header|<nowiki>123|4</nowiki>}} '''What you would see:''' see the header at [[:Category:1234 deaths]].
'''Example:''' {{tlp|category diffuse|2=nocat=true}} {{Category diffuse|nocat=true}}
|-
Line 471 ⟶ 469:
-->Other sandboxes: <!--
-->[[Wikipedia:Sandbox|Main sandbox]] | <!--
-->
-->[[Wikipedia:Tutorial/Formatting/sandbox|2]], <!--
-->[[Wikipedia:Tutorial (Wikipedia links)/sandbox|3]], <!--
Line 558 ⟶ 556:
|
These [[Wikipedia:Template messages|template messages]] are [[WP:PROJ|WikiProject]] banners for use on [[Talk page]]s. They should typically be placed at the top of [[Wikipedia:Talk page|talk page]]s of [[Wikipedia:What is an article|article]]s or pages covered by the associated WikiProject.
'''Example:''' {{tl|WikiProject Albums}} {{WikiProject Albums|category=no}}
|}
== Various namespaces ==
{{Top icon templates|state=collapsed}}
{{Quotation templates}}
{{Notice and warning templates}}{{Userspace linking templates|heading=no|intro=no}}
{{Inline cleanup tags}}
{{Unicode templates|state=collapsed}}
{{Wikipedia template messages|expanded}}
[[Category:Wikipedia template administration]]
|