Wikipedia:Template index/Examples

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

Main namespace (for encyclopedic articles)
{| border=1 cellspacing=0 cellpadding=3 align=center style="width: 100%;" ! style="width: 30%;" | Usage and links ! style="width: 70%;" | Description and examples

General
Templates relating to article descriptions.
 * Disambiguation and redirection
 * Section
 * Footnotes and references
 * Timing-related
 * Title-related
 * Character/symbol notes
 * Expansion requests
 * Disambiguation introductory lines
 * Miscellaneous

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

Cleanup
Template messages to inform readers and editors of specific problems with articles or sections; not to be used as a badge of shame.
 * Tag consolidation
 * General cleanup
 * Copy editing
 * Cleanup of specific subjects
 * Fiction
 * Inline with article text
 * Style of writing
 * Structure, formatting and sections
 * Introduction
 * Potentially unwanted content
 * Context and detail
 * Off-topic
 * Expand and add
 * Expert needed
 * Time-sensitive
 * Contradiction and confusion
 * Content forks
 * Importance and notability
 * Neutrality and factual accuracy
 * Verifiability and sources
 * Categories
 * Images
 * Lists
 * Wiki tech
 * Infobox needed
 * Infobox cleanup needed

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: Example: CIA Example: fiction Example:



Compact tables of contents (TOC)
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
 * Non-Category pages
 * Alphabetical lists
 * Category pages
 * Alphabetical lists
 * Numeric lists



Deletion / discussion / speedy
Before attempting to delete any articles, categories, etc., read Deletion policy, and the specific instructions for the type of page you want to delete. Example: cfd result Example: Old AfD
 * Deletion tools
 * Articles (AfD)
 * Categories (CfD)
 * Files (FfD)
 * Miscellany (MfD)
 * Redirects (RfD)
 * Stub types (SfD)
 * Templates (TfD)
 * Discussion pages
 * Speedy deletion

Disputes
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.
 * Autobiography
 * Contradictory
 * Controversial
 * Factual accuracy
 * Neutrality
 * Notability
 * Original research
 * Possible neologisms
 * Suspected hoax
 * Unencyclopedic
 * Verifiability

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

Formatting
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.
 * Division boxes
 * Hide/show boxes
 * Image frames
 * Multiple columns

Example: Example: Ctrl

Links
Example:
 * Internal links (articles, namespaces and categories)
 * Templates
 * German titles
 * External links (databases and websites, etc.)
 * Film and television (IMDb, YouTube, etc.)
 * Games (board and video games, etc.)
 * Geography (locations and maps)
 * Literature (books, etc.)
 * Music
 * Religion
 * Wikis (sister projects, etc.)
 * Miscellaneous (science and the internet, etc.)

Example: cat main

Example:

Example: name of template

Example: German title Freiherr



Lists
Example: Example: List dispute
 * Dynamic lists
 * Incomplete lists
 * Subject or topic lists
 * Disputed content/length

Maintenance
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
 * Articles requiring significant attention and other issues
 * General attention needed
 * ISSN issues
 * Lack of geopolitical balance
 * Articles undergoing major edits
 * Categorization issues
 * Copyright violations
 * Protected articles, pages and images

Merging
Example: merge
 * To be placed on top of the pages or sections which require merging.

Redirect pages

 * 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 Categorizing redirects. For pages which should ultimately be handled by a full article, add both 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 and. 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

Section
While most templates can be used in sections, these templates are section-specific. Example: Expand-section
 * Templates that are section-specific.

Sources / citations / references
Example: Example: more footnotes
 * Requesting sources and verification
 * General sources
 * Citations of generic sources
 * Citations of specific sources (GFDL, public domain, U.S. government, etc.)
 * Footnotes and links

Splitting
Example: Split
 * To be placed on top the pages or sections which require splitting.

Standard boxes
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.
 * Calendars
 * Court Decisions
 * Diagrams
 * Game and Puzzle layouts
 * Grids
 * Periodic Table

Infoboxes are described on the Infoboxes page.

Example:



Translation
Example: proofreader needed
 * Translation-related cleanup and expansion.

Wikimedia sister projects
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.
 * MediaWiki
 * Meta-Wiki
 * Simple
 * Wikibooks
 * Wikimedia Commons
 * Wikinews
 * Wikiquote
 * Wikisource
 * Wikispecies
 * Wikiversity
 * Wiktionary

Example: mediaWiki

Example:

Example: wikibooks

Example:
 * }

Main namespace: other
{| border=1 cellspacing=0 cellpadding=3 align=center style="width: 100%;" ! style="width: 30%;" | Usage and links ! style="width: 70%;" | Description and examples

Main page and alternatives
Example: contents pages (header bar)

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

Navigation templates
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

Inline templates linking country articles
Country codes, to render a flag icon and a wikilink to a country's article

Example: AFG 🇦🇫

Infoboxes
An infobox on Wikipedia is a consistently-formatted table which is present in articles with a common subject. Example:

Automatic taxobox


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:

WikiProject Countering systemic bias
Templates for noting a particular national or regional bias of an article, and asking for a worldwide view.

Example: globalize

WikiProject Stub sorting
Wikiproject to list stub messages/templates that are applied to stubs. Example: Edu-stub


 * }

Other namespaces
{| border=1 cellspacing=0 cellpadding=3 align=center style="width: 100%;" ! style="width: 30%;" | Usage and links ! style="width: 70%;" | Description and examples

Category namespace
These notes are generally placed on top of category pages.
 * Births in years
 * Books in years
 * Deaths in years
 * Works in years
 * Categorization of people:
 * Subjective category disclaimer
 * Disputed categorisation
 * Category headers

For notes about the deletion and renaming of categories, see 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 Template messages/Compact tables of contents.

Example: What you would see: see the header at Category:1234 deaths. Example:

File namespace
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 File copyright tags. Example: ffd Example: POV-map
 * 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

Talk namespace
These are template messages that can be used on talk pages.
 * 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

If you create a new or modify an old talk page template please first read the guideline about how they should look at Talk page templates. Example: Example: resolved Example: GA

Template namespace
These templates and message boxes are used on template pages and their subpages such as their /doc pages.
 * Template documentation
 * High-use and intricate
 * Template talk page messages

Additional templates for template pages can be found in Category:Template namespace templates and its subcategories.

Example: documentation subpage



User namespace
Example: user sandbox
 * General
 * Languages (Babel)
 * Licensing
 * Open tasks
 * Sockpuppet, blocked, talk page and inactive user alerts
 * User sandboxes
 * Userboxes
 * Wikipedia Awards / Barnstars

Example:



User talk namespace
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
 * 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

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.)

Blocks.

Foreign-language contributors.

Miscellanea (Page headers. Images. Discussions and editing. New user. Deletion notifications. Other notifications.) Example: usercomment Example: Talk header

Meta-templates.



Wikipedia namespace
Example: WP:SHORT Example: nutshell
 * Policies and guidelines
 * Essays and related
 * Humor
 * Maintenance
 * Proposals and disputes
 * Village pump
 * WikiProjects

WikiProject banners
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 banners
 * WikiProject meta templates
 * Banner shells
 * }