Jump to content

Wikipedia:Template index/Examples

From Wikipedia, the free encyclopedia

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}} Example: {{cleanup|reason=Example}} Example: {{CIA}} Example: {{fiction}} Example: {{abbreviations}}

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}} Example: {{Old AfD}}
  • Autobiography
  • Contradictory
  • Controversial
  • Factual accuracy
  • Neutrality
  • Notability
  • Original research
  • Possible neologisms
  • Suspected hoax
  • Unencyclopedic
  • Verifiability

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}}
  • Division boxes
  • Hide/show boxes
  • Image frames
  • Multiple columns

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.
  • Dynamic lists
  • Incomplete lists
  • Subject or topic lists
  • Disputed content/length
Example: {{Unsorted list|reason=alpha}} Example: {{List dispute}}

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}}

  • To be placed on top of the pages or sections which require merging.
Example: {{merge}}
  • To be placed at the end of the same line as the redirect tag.

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 {{R with possibilities}} and one or more stub sorting templates to draw attention to the needed article.

Redirect templates are designed to be used together. For example, the redirect "Architechts" uses both {{R from misspelling}} and {{R from plural}}. {{This is a redirect}} can be used to add up to seven templates to a single page by listing the appropriate redirect templates as parameters.

Example: {{R to project namespace}}

  • Templates that are section-specific.

While most templates can be used in sections, these templates are section-specific.

Example: {{Expand-section}}
Example: {{Unreferenced|date=November 2014}} Example: {{more footnotes}}
  • To be placed on top the pages or sections which require splitting.
Example: {{Split}}
  • Calendars
  • Court Decisions
  • Diagrams
  • Game and Puzzle layouts
  • Grids
  • Periodic Table

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

  • Translation-related cleanup and expansion.
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}}
Example: {{meta|Insert page title here}}
Example: {{wikibooks}}
Example: {{commons category|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}}
Styles of
Example

Template index/Examples
Scientific classification Edit this classification
Domain: Eukaryota
Clade: Choanozoa
Kingdom: Animalia

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
  • Births in years
  • Books in years
  • Deaths in years
  • Works in years
  • Categorization of people:
    • Subjective category disclaimer
    • Disputed categorisation
  • Category headers

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}}
  • General
  • Categorization
  • Copy to Wikimedia Commons
  • Creative Commons
  • Deletion
  • Featured content
  • Format and quality
  • Free image / Semi-free image usage
  • GNU/GFDL images
  • Government copyrights (UK, Canada, Poland, etc.)
  • Non-free (copyrighted) images
  • Public domain images

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}} This template should only be used on file pages. Example: {{POV-map}}
  • General
  • Archiving
  • Biography
  • Comments
  • Discussion thread tags
  • Expansion requests
  • FAQ
  • Featured and good articles
  • Free images
  • Peer review
  • To do lists
  • Translation requests
  • WikiProject notices

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}} Example: {{resolved}}
Resolved
Example: {{GA}}
  • Template documentation
  • High-use and intricate
  • Template talk page messages

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}}


Example: {{User:Saoshyant/Userboxes/User oops}}
This user tries to do the right thing. If they make a mistake, please let them know.
  • Multi-level warning templates
  • Single-level warning templates
  • Behavior in articles
  • Behavior towards editors
  • Blatant vandalism
  • Blocks
  • Foreign-language contributors
  • General disruptive editing
  • Inserting factual inaccuracies and/or libel
  • Meta-templates
  • Miscellanea
  • Promotions of objects or ideologies (also spam)
  • Unaccepted practices, unilateral action against policies or guidelines

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}}
Information icon 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.)

Blocks.

Foreign-language contributors.

Miscellanea (Page headers. Images. Discussions and editing. New user. Deletion notifications. Other notifications.)

Example: {{usercomment}} Example: {{Talk header}}

Meta-templates.

  • Policies and guidelines
  • Essays and related
  • Humor
  • Maintenance
  • Proposals and disputes
  • Village pump
  • WikiProjects
Example: {{essay}} Example: {{nutshell}}
  • WikiProject banners
  • WikiProject meta templates
  • Banner shells

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}}
WikiProject iconAlbums Unassessed
WikiProject iconThis article is within the scope of WikiProject Albums, an attempt at building a useful resource on recordings from a variety of genres. If you would like to participate, visit the project page, where you can join the project and/or contribute to the discussion.
???This article has not yet received a rating on Wikipedia's content assessment scale.

Various namespaces

[edit]