Wikipedia:Template index/Examples
A list of examples of the various message templates, and other sorts of templates.
Main namespace (for encyclopedic articles)
[edit]Usage and links | Description and examples | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Templates relating to article descriptions. Templates related to issues and disputes with articles, including NPOV, are listed under Template messages/Disputes. Templates related to formatting are listed under Template messages/Format. Templates related to Cleanup issues are listed under Template messages/Cleanup. Example: {{disambiguation }} | |||||||||||
|
Template messages to inform readers and editors of specific problems with articles or sections; not to be used as a badge of shame. These template messages may be added to articles needing a cleanup. Their purposes are to foster improvement of the encyclopedia by alerting editors to changes that need to be made. Cleanup tags are meant to be temporary notices that lead to an effort to fix the problem, not a permanent badge of shame to show disagreement with the article, or a method of warning the readers against the article. Example: {{multiple issues}}
| ||||||||||
A list of ways to create several kinds of compact 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: {{Compact ToC}} | |||||||||||
|
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: {{cfd result}}
| ||||||||||
|
Dispute templates are used to alert other editors that work is needed on a certain article, and auto-categorize pages so that patrolling editors can aid their talent to the problem. They should normally not be used without a clear description from the applying editor of the rationale, preferably presented in a numbered list form on the article's talk page, in a section which includes the name of the template that was applied. As these items are dealt with, it is suggested each line be struck through. Some guidance should be given by the posting editor as to what action will resolve the matter when using section and article (page) tagging templates. For placement at top of an article. For placement at top of article or section. For placement in or at top of a section only. For inline article placement. For placement on talk pages of articles. For placement on talk pages of users. Example: {{Contradict}}
| ||||||||||
|
Templates related to descriptions (such as disambiguation, spoiler, wikicode) are listed under Template messages/General. Templates related to issues and disputes with articles, including NPOV, are listed under Disputes templates. Example: {{divbox|gray|Title|Lorem ipsum}}Example: {{key press|Ctrl|F5}} Ctrl+F5 | ||||||||||
|
Example: {{main|Article}}
Example: {{cat main}}
Example: {{lnt|namespace|page name}} Namespace talk:Page name (edit | namespace | history | links | watch | logs)Example: {{tl|name of template}} {{name of template}}Example: {{German title Freiherr}} Regarding personal names: Freiherr is a former title (translated as 'Baron'). In Germany since 1919, it forms part of family names. The feminine forms are Freifrau and Freiin. | ||||||||||
|
Example: {{Unsorted list|reason=alpha}}
| ||||||||||
|
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: {{In use}}
Example: {{Uncategorized}} | ||||||||||
|
Example: {{merge}} | ||||||||||
|
It is sometimes considered helpful to put redirects into categories where appropriate, see Wikipedia:Categorizing redirects. For pages which should ultimately be handled by a full article, add both Redirect templates are designed to be used together. For example, the redirect "Architechts" uses both Example: {{R to project namespace}} | ||||||||||
|
While most templates can be used in sections, these templates are section-specific. Example: {{Expand-section}}
| ||||||||||
Example: {{Unreferenced|date=November 2014}}
| |||||||||||
|
Example: {{Split}} | ||||||||||
|
Describes standard box and diagram templates, used for specific subject matter items. They include right and left side, or lower article boxes, calendars, tables, grids and diagrams used in article expostion. The templates provide a consistent, clean format for the displayed information. Infoboxes are described on the Infoboxes page. Example: {{MINUTE|00:00}}00 | ||||||||||
|
Example: {{proofreader needed}}
| ||||||||||
List of templates that are designed to provide article-to-article linking between Wikipedia and its Wikimedia sister projects. Also, links to pages concerning moving articles between projects. Example: {{mediaWiki}}MediaWiki has documentation related to: Template index/Examples Meta has related information at: Insert page title here Wikibooks has more on the topic of: Template index/Examples Wikimedia Commons has media related to Insert category name here. |
Main namespace: other
[edit]Usage and links | Description and examples | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Example: {{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 redirected, because the sought article uses a more specific, disambiguated title, or because the sought article and the article with the hatnote have similar names. Hatnotes provide links to the possibly sought article or to a disambiguation page. Example: {{Hatnote|CUSTOM TEXT}} | |||||||||||
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. Example: {{Named sapphires}} | |||||||||||
Country codes, to render a flag icon and a wikilink to a country's article Example: {{AFG}} Afghanistan | |||||||||||
An infobox on Wikipedia is a consistently-formatted table which is present in articles with a common subject. Example: {{Infobox manner of address|name=Example}}
| |||||||||||
This template sets up a {{Automatic taxobox}}, a table setting out the Biological classification (taxonomy) for a group of living things with a choice of over 160 parameters. Example: {{Automatic taxobox|taxon=Animalia}} | |||||||||||
Templates for noting a particular national or regional bias of an article, and asking for a worldwide view. Example: {{globalize}}
| |||||||||||
Wikiproject to list stub messages/templates that are applied to stubs. Example: {{Edu-stub}} |
Other namespaces
[edit]Usage and links | Description and examples | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
These notes are generally placed on top of category pages. For notes about the deletion and renaming of categories, see Wikipedia:Template messages/Deletion. Additional templates for category pages can be found in Category:Category namespace templates and its subcategories. For table of contents templates, see Wikipedia:Template messages/Compact tables of contents. Example: {{birth year category header|123|4}} What you would see: see the header at Category:1234 deaths. Example: {{category diffuse|nocat=true}}
| ||||||||||
|
These are tags that may be placed on the file description pages, i.e., the pages that open up when pictures in articles are clicked. This is not the complete list (at the moment). When tagging images, please see the full text list at Wikipedia:File copyright tags. Example: {{ffd}}
| ||||||||||
|
These are template messages that can be used on talk pages. If you create a new or modify an old talk page template please first read the guideline about how they should look at Wikipedia:Talk page templates. Example: {{connected contributor|Jimbo Wales}}
Resolved
| ||||||||||
|
These templates and message boxes are used on template pages and their subpages such as their /doc pages. Additional templates for template pages can be found in Category:Template namespace templates and its subcategories. Example: {{documentation subpage}}
| ||||||||||
|
Example: {{user sandbox}}
| ||||||||||
|
Wikipedia:WikiProject User warnings: User talk templates are placed on users' talk pages to advise a user against actions that disrupt Wikipedia, to advise editors of common mistakes, or to place a standard boilerplate note at the top of a page. Multi-level warning templates Blatant vandalism. General disruptive editing. Behavior in articles. Behavior towards editors. Adding promotions of objects or ideologies (also spam). Inserting factual inaccuracies and/or libel. Unaccepted practices, unilateral action against policies or guidelines. Example: {{Uw-vandalism1}} Hello, I'm Mrjulesd. I wanted to let you know that I undid one or more of your recent contributions because it did not appear constructive. If you would like to experiment, please use the sandbox. If you think I made a mistake, or if you have any questions, you can leave me a message on my talk page. Thanks!Single-level templates (Advisories. Noticeboard notices. Warnings.) Foreign-language contributors. Miscellanea (Page headers. Images. Discussions and editing. New user. Deletion notifications. Other notifications.) Example: {{usercomment}}
| ||||||||||
|
Example: {{essay}}
| ||||||||||
|
These template messages are WikiProject banners for use on Talk pages. They should typically be placed at the top of talk pages of articles or pages covered by the associated WikiProject. Example: {{WikiProject Albums}}
|