Difference between revisions of "Template:Disambiguation/doc"

From blackwiki
Jump to navigation Jump to search
imported>Yebop
(Replaced content with ''''Henry Hay''' (1893-1952) was an Australian freestyle swimmer of the 1920s. '''Henry Hay''' may also refer to: *''Henry Hay (writer)'', an American w...')
imported>ClueBot
m (Reverting possible vandalism by Yebop to version by Vasilcho. False positive? Report it. Thanks, ClueBot. (637159) (Bot))
Line 1: Line 1:
'''[[Henry Hay]]''' (1893-1952) was an Australian freestyle swimmer of the 1920s.
+
{{documentation subpage}}
 +
{{high-risk| 100,000+ }}
 +
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{dabnav}}
 +
This is the {{tl|disambig}} template.
  
'''Henry Hay''' may also refer to:
+
'''<big>Important: Please do not [[Wikipedia:Substitution|subst:]] this template.</big>'''
*''[[Henry Hay (writer)]]'', an American writer of books on magic and sleight of hand.
 
  
==See also==
+
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 ''[[Wikipedia:Disambiguation|disambiguation]]'' and is used with many common words, such as ''[[Cross (disambiguation)|cross]]'', ''[[Life (disambiguation)|life]]'' and ''[[work]]''. This template automatically adds articles to the [[:Category:Disambiguation pages]].
*''[[Henry Hayes]]''
+
 
*[[Harry Hay]], LGBT rights activist
+
=== Page title fix ===
 +
 
 +
In the event that the page title is causing an error, such as <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=%2A%2A%2A&oldid=171348746 what happened]</span> at ''[[***]]'', add the parameter: '''<code>{{para|page-title |<var> page title</var>}}</code>''' . Thus, the [[***]] page would use the syntax: '''<code><nowiki>{{disambig |page-title = ***}}</nowiki></code>''' .
 +
 
 +
=== Variant templates ===
 +
 
 +
For disambiguation pages requiring cleanup, use {{tl|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.
 +
* {{tl|Airport disambig}} for airports – [[:Category:Airport disambiguation]]
 +
* {{tl|Callsigndis}} – [[:Category:Broadcast call sign disambiguation pages]]
 +
* {{tl|Disambig-Chinese-char-title}} – [[:Category:Disambiguation pages with Chinese character titles]]
 +
* {{tl|Geodis}} for place names – [[:Category:Place name disambiguation pages]]
 +
* {{tl|Hndis}} for people's names – [[:Category:Human name disambiguation pages]]
 +
** {{tl|Hndis-cleanup}}
 +
* {{tl|Hospitaldis}} for hospitals or medical centers – [[:Category:Hospital disambiguation pages]]
 +
* {{tl|LatinNameDisambig}} – [[:Category:Latin name disambiguation pages]]
 +
* {{tl|Letter disambig}} – Adds no special category but adds a Latin letter navbox.
 +
* {{tl|Letter-NumberCombDisambig}} – [[:Category:Letter-number combination disambiguation pages]]
 +
* {{tl|Mathdab}} for mathematics titles – [[:Category:Mathematical disambiguation]]
 +
* {{tl|MolFormDisambig}} – [[:Category:Molecular formula disambiguation pages]] and [[:Category:Molecular formulas]]
 +
* {{tl|Numberdis}} for numbers – [[:Category:Lists of ambiguous numbers]]
 +
* {{tl|Roaddis}} for roads, streets, or highways – [[:Category:Lists of roads sharing the same title]]
 +
* {{tl|Schooldis}} for educational institutions – [[:Category:Educational institution disambiguation]]
 +
* {{tl|WP disambig}} for Wikipedia project and help pages associated with a given shortcut or title
 +
 
 +
For [[Wikipedia:Disambiguation#Set index articles|set index articles]]:
 +
 
 +
* {{tl|SIA}} for any set index article – [[:Category:Set indices]]
 +
* {{tl|Mountainindex}} for mountain names – [[:Category:Set indices on mountains]]
 +
* {{tl|Shipindex}} for ship names – [[:Category:Set indices on ships]]
 +
* {{tl|Sportindex}} for sport names – [[:Category:Set indices on sports]]
 +
* {{tl|Surname}} for people's surnames – [[:Category:Surnames]]
 +
* {{tl|Given name}} for people's given names – [[:Category:Given names]]
 +
 
 +
=== Parameters ===
 +
 
 +
Sometimes there isn't a specific disambig template (see list above) that fits for a page, or the page has items in more than one of the above classes. Then use {{tl|disambig}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order. Like this:
 +
 
 +
:{{tlc|disambig|school|hospital}}
 +
 
 +
Only add a parameter if the disambig page has several items of that type.
 +
 
 +
* {{tlx|disambig|human name}}: for [[:Category:Human name disambiguation pages]] (note that you must instead add the category separately if it needs a different [[WP:SORT|sort key]])
 +
* {{tlx|disambig|given name}}: [[:Category:Given names]]
 +
* {{tlx|disambig|surname}}: for [[:Category:Surnames]]
 +
* {{tlx|disambig|airport}}: for [[:Category:Airport disambiguation]]
 +
* {{tlx|disambig|callsign}}: for [[:Category:Broadcast call sign disambiguation pages]]
 +
* {{tlx|disambig|chinese}}: for [[:Category:Disambiguation pages with Chinese character titles]]
 +
* {{tlx|disambig|church}}: for [[:Category:Church building disambiguation pages]]
 +
* {{tlx|disambig|fish}}: for [[:Category:Fish common names]]
 +
* {{tlx|disambig|geo}}: for [[:Category:Place name disambiguation pages]]
 +
* {{tlx|disambig|hospital}}: for [[:Category:Hospital disambiguation pages]]
 +
* {{tlx|disambig|latin}}: for [[:Category:Latin name disambiguation pages]]
 +
* {{tlx|disambig|letter number}}: for [[:Category:Letter-number combination disambiguation pages]]
 +
* {{tlx|disambig|math}}: for [[:Category:Mathematical disambiguation]]
 +
* {{tlx|disambig|molform}}: for [[:Category:Molecular formula disambiguation pages]] and [[:Category:Molecular formulas]]
 +
* {{tlx|disambig|number}}: for [[:Category:Lists of ambiguous numbers]]
 +
* {{tlx|disambig|plant}}: for [[:Category:Plant common names]]
 +
* {{tlx|disambig|road}}: for [[:Category:Lists of roads sharing the same title]]
 +
* {{tlx|disambig|school}}: for [[:Category:Educational institution disambiguation]]
 +
* {{tlx|disambig|split}}: for [[:Category:Disambiguation pages in need of being split]]
 +
 
 +
For pages that need clean-up use {{tl|disambig-cleanup}}, it understands the same parameters.
 +
 
 +
Note that {{tl|disambig}} might not have parameters for all subcategories of [[:Category:Disambiguation pages]], then you have to manually add the category to the disambig page.
 +
 
 +
=== Alternative names ===
 +
 
 +
For those who can't remember how this template's name is abbreviated, the {{tl|disambiguation}}, {{tl|disamb}} and {{tl|dab}} templates all redirect to {{tl|disambig}}.
 +
 
 +
=== Technical details ===
 +
 
 +
Internally this template uses {{tl|dmbox}}. That template categorises pages into [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
 +
 
 +
This template uses {{tl|disambig/cat}} to handle the categorisation parameters such as "hospital" and "school".
 +
 
 +
=== See also ===
 +
 
 +
* {{tl|dablink}} – Basic article hatnote, see [[Wikipedia:Otheruses templates (example usage)]] for the full hatnote index.
 +
* {{tl|dn}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article.
 +
 
 +
<includeonly>
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 +
[[Category:Disambiguation message boxes| ]]
 +
 
 +
[[af:Sjabloon:Dubbelsinnig]]
 +
[[als:Vorlage:Begriffsklärung]]
 +
[[am:Template:መንታ]]
 +
[[an:Plantilla:Desambig]]
 +
[[ang:Template:Disambig]]
 +
[[ar:قالب:توضيح]]
 +
[[arc:Template:ܕ]]
 +
[[arz:قالب:توضيح]]
 +
[[ast:Plantilla:Dixebra]]
 +
[[az:Şablon:Dəqiqləşdirmə]]
 +
[[az:Şablon:دقیقلشدیرمه]]
 +
[[bar:Vorlage:Begriffsklärung]]
 +
[[bat-smg:Šablonas:Disambig]]
 +
[[be-x-old:Шаблён:Неадназначнасьць]]
 +
[[bg:Шаблон:Пояснение]]
 +
[[bn:Template:দ্ব্যর্থতা নিরসন]]
 +
[[br:Patrom:Digejañ]]
 +
[[bs:Šablon:Čvor]]
 +
[[ca:Plantilla:Desambiguació]]
 +
[[cdo:Template:Gì-ngiê]]
 +
[[co:Template:Disambig]]
 +
[[cs:Šablona:Rozcestník]]
 +
[[cv:Шаблон:Disambig]]
 +
[[cy:Nodyn:Gwahaniaethu]]
 +
[[da:Skabelon:Flertydig]]
 +
[[de:Vorlage:Begriffsklärung]]
 +
[[nv:Template:Dab]]
 +
[[el:Πρότυπο:Disambig]]
 +
[[eo:Ŝablono:Apartigilo]]
 +
[[es:Plantilla:Desambiguación]]
 +
[[et:Mall:Täpsustuslehekülg]]
 +
[[eu:Txantiloi:Argipen]]
 +
[[fa:الگو:ابهام‌زدایی]]
 +
[[fi:Malline:Täsmennyssivu]]
 +
[[fo:Fyrimynd:Fleiri týdningar]]
 +
[[fr:Modèle:Homonymie]]
 +
[[frp:Template:Homonimos]]
 +
[[fur:Model:Disambig]]
 +
[[fy:Berjocht:Neibetsjuttings]]
 +
[[ga:Teimpléad:Idirdhealú]]
 +
[[gl:Template:Homónimos]]
 +
[[he:תבנית:פירושונים]]
 +
[[hi:Template:बहुविकल्पी शब्द]]
 +
[[hr:Predložak:Razdvojba]]
 +
[[ht:Template:Menm non]]
 +
[[hu:Sablon:Egyért]]
 +
[[hy:Template:Երկիմաստ]]
 +
[[ia:Patrono:Disambiguation]]
 +
[[id:Templat:Disambig]]
 +
[[io:Template:Homonimo]]
 +
[[is:Snið:Aðgreining]]
 +
[[it:Template:Disambigua]]
 +
[[ja:Template:Aimai]]
 +
[[jv:Cithakan:Disambig]]
 +
[[ka:თარგი:მრავალმნიშვნელოვანი]]
 +
[[kk:Үлгі:Disambig]]
 +
[[kn:ಟೆಂಪ್ಲೇಟು:ದ್ವಂದ್ವ ನಿವಾರಣೆ]]
 +
[[ko:틀:Disambig]]
 +
[[ksh:Schablon:Disambig]]
 +
[[ku:Şablon:Cudakirin]]
 +
[[kw:Template:Klerheans]]
 +
[[la:Formula:Discretiva]]
 +
[[lb:Template:Homonymie]]
 +
[[li:Sjabloon:Verdudeliking]]
 +
[[lmo:Template:Desambiguació]]
 +
[[lmo:Template:Desambiguassiú]]
 +
[[lmo:Template:Desambiguazziú]]
 +
[[ln:Template:Bokokani]]
 +
[[lt:Šablonas:Disambig]]
 +
[[lv:Veidne:Disambig]]
 +
[[map-bms:Template:Disambig]]
 +
[[mi:Template:Disambig]]
 +
[[mk:Шаблон:Појаснување]]
 +
[[ml:Template:Disambig]]
 +
[[mo:Template:Дезамбигуйзаре]]
 +
[[ms:Templat:Nyahkekaburan]]
 +
[[mt:Template:Diżambigwazzjoni]]
 +
[[mzn:الگو:گجگجی بایری]]
 +
[[nap:Template:Disambiguazzione]]
 +
[[nds:Vörlaag:Mehrdüdig Begreep]]
 +
[[nds-nl:Sjabloon:Dv]]
 +
[[nl:Sjabloon:Dp]]
 +
[[nn:Mal:Fleirtyding]]
 +
[[no:Mal:Peker]]
 +
[[nrm:Template:Page dé frouque]]
 +
[[oc:Modèl:Omonimia]]
 +
[[os:Шаблон:Disambig]]
 +
[[pl:Szablon:Disambig]]
 +
[[pt:Predefinição:Desambiguação]]
 +
[[qu:Plantilla:Disambig]]
 +
[[rmy:Sikavno:Dudalipen]]
 +
[[ro:Format:Dezambiguizare]]
 +
[[ru:Шаблон:Неоднозначность]]
 +
[[scn:Template:Disambigua]]
 +
[[sh:Template:Višeznačna odrednica]]
 +
[[simple:Template:Disambig]]
 +
[[sk:Šablóna:Rozlišovacia stránka]]
 +
[[cu:Обраꙁь́ць:Мъногосъмꙑ́слиѥ]]
 +
[[sl:Predloga:Razločitev]]
 +
[[sq:Stampa:Kthjellim]]
 +
[[sr:Шаблон:Вишезначна одредница]]
 +
[[su:Citakan:Disambig]]
 +
[[sv:Mall:Förgrening]]
 +
[[sw:Template:Maana]]
 +
[[te:మూస:అయోమయ నివృత్తి]]
 +
[[tg:Шаблон:Ибҳомзудоӣ]]
 +
[[th:แม่แบบ:แก้กำกวม]]
 +
[[tl:Template:Paglilinaw]]
 +
[[tr:Şablon:Anlam ayrımı]]
 +
[[uk:Шаблон:Disambig]]
 +
[[ur:سانچہ:Disambig]]
 +
[[uz:Template:Disambig]]
 +
[[vec:Template:Disambigua]]
 +
[[vi:Tiêu bản:Trang định hướng]]
 +
[[vls:Patrôon:Dp]]
 +
[[vo:Template:Telplänov]]
 +
[[yi:מוסטער:באדייטן]]
 +
[[wa:Modele:Omonimeye]]
 +
[[zh:Template:Disambig]]
 +
[[zh-classical:Template:釋義]]
 +
[[zh-min-nan:Template:Khu-pia̍t-ia̍h]]
 +
[[zh-yue:Template:分流]]
 +
</includeonly>

Revision as of 09:10, 24 June 2010

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: |page-title = page title . 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.

For set index articles:

Parameters

Sometimes there isn't a specific disambig template (see list above) that fits for a page, or the page has items in more than one of the above classes. Then use {{disambig}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order. Like this:

{{disambig|school|hospital}}

Only add a parameter if the disambig page has several items of that type.

For pages that need clean-up use {{disambig-cleanup}}, it understands the same parameters.

Note that {{disambig}} might not have parameters for all subcategories of Category:Disambiguation pages, then you have to manually add the category to the disambig page.

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.

This template uses {{disambig/cat}} to handle the categorisation parameters such as "hospital" and "school".

See also