Template:Disambig/doc: Difference between revisions
(Created page with '{{Documentation subpage}} {{high-use}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> {{dabnav}} This is the {{tl|disambig}} template. '''<big>Importan...') |
Sturlington (talk | contribs) No edit summary |
||
Line 62: | Line 62: | ||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Disambiguation and redirection templates]] | <nowiki>[[Category:Disambiguation and redirection templates]] | ||
</nowiki> | |||
[[af:Sjabloon:Dubbelsinnig]] | [[af:Sjabloon:Dubbelsinnig]] | ||
[[als:Vorlage:Begriffsklärung]] | [[als:Vorlage:Begriffsklärung]] |
Latest revision as of 10:10, 16 July 2013
Template:Documentation subpage Template:High-use Template:Dabnav This is the {{disambig}} template.
Important: Please do not SUBST: this template.
This is a general-purpose template, to be placed at the bottom of any article that exists to help readers find other articles with the same or similar names. This concept is called disambiguation and is used with many common words, such as cross, life and work. This template automatically adds articles to the Category:Disambiguation pages.
Page title fix
In the event that the page title is causing an error, such as what happened at ***, add the parameter: Template:Para
. Thus, the *** page would use the syntax: {{disambig |page-title = ***}}
.
Variant templates
For disambiguation pages requiring cleanup, use {{disambig-cleanup}}.
More specific, alternative templates exist, for disambiguation pages or set index articles whose entries are limited exclusively to items of a particular type.
- {{Airport disambig}} for airports – Category:Airport disambiguation
- {{Geodis}} for place names – Category:Place name disambiguation pages
- {{Hndis}} for people's names – Category:Human name disambiguation pages
- {{Hndis-cleanup}}
- {{Hospitaldis}} for hospitals or medical centers – Category:Lists of ambiguous hospital names
- {{Mathdab}} for mathematics titles – Category:Mathematical disambiguation
- {{Numberdis}} for numbers – Category:Lists of ambiguous numbers
- {{Roaddis}} for roads, streets, or highways – Category:Lists of roads sharing the same title
- {{Schooldis}} for educational institutions – Category:Educational institution disambiguation
- {{Shipindex}} for ship names – Category:Set indices on ships
- {{SIA}} for set index articles
Parameters
If a general dab page includes more than one item in any of the above classes, then {{disambig}} should still be used, but parameters can be added in order to place the page additionally into the above categories. Parameters are as follows (they may also be combined, in any order):
- {{disambig|hn}}: for Category:Human name disambiguation pages (note that you must instead add the category separately if it needs a different sort key)
- {{disambig|surname}}: for Category:Surnames
- {{disambig|given name}}: Category:Given names
- {{disambig|geo}}: for Category:Place name disambiguation pages
- {{disambig|airport}}: for Category:Airport disambiguation
- {{disambig|hospital}}: for Category:Lists of ambiguous hospital names
- {{disambig|road}}: for Category:Lists of roads sharing the same title
- {{disambig|school}}: for Category:Educational institution disambiguation
- {{disambig|math}}: for Category:Mathematical disambiguation
- {{disambig|number}}: for Category:Lists of ambiguous numbers
- {{disambig|plant}}: for Category:Plant common names
- {{disambig|callsign}}: for Category:Broadcast call sign disambiguation pages
- {{disambig|church}}: for Category:Church building disambiguation pages
Alternative names
For those who can't remember how this template's name is abbreviated, the {{disambiguation}}, {{disamb}} and {{dab}} templates all redirect to {{disambig}}.
Technical details
Internally this template uses {{dmbox}}. That template categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages.
See also
- {{dablink}} – Basic article hatnote, see Wikipedia:Otheruses templates (example usage) for the full hatnote index.
- {{dn}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article.
- {{Shortcut disambig}} - For "Wikipedia namespace" pages associated with the same shortcut.