Jump to content

Wikipedia:Template index/Examples

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 47.55.18.166 (talk) at 00:58, 7 August 2019 (User talk namespace). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A list of examples of the various message templates, and other sorts of templates.

Main namespace (for encyclopedic articles)

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 | talk | 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: {{Alphabetize}} 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}}

Example: {{disputed title}} Template:Disputed title

  • 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

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
Kingdom:

This template sets up a {{taxobox}}, a table setting out the Biological classification (taxonomy) for a group of living things with a choice of over 160 parameters.

Example: {{Taxobox|regnum=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}}


  }}


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 namespace#Miscellanea|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