Template:Disambig/doc: Difference between revisions

From Mistipedia
Jump to navigationJump to search
Gonzoron (talk | contribs)
mNo edit summary
 
Gonzoron (talk | contribs)
cleaning up detritus in templates imported from wikipedia
Line 7: Line 7:
'''<big>Important: Please do not [[WP:SUBST|SUBST:]] this template.</big>'''
'''<big>Important: Please do not [[WP:SUBST|SUBST:]] this template.</big>'''


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 (disambiguation)|cross]]'', ''[[Life (disambiguation)|life]]'' and ''[[work]]''. This template automatically adds articles to the [[:Category:Disambiguation pages]].  
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 ''[[w:Cross (disambiguation)|cross]]'', ''[[w:Life (disambiguation)|life]]'' and ''[[work]]''. This template automatically adds articles to the [[:Category:Disambiguation pages]].  


=== Page title fix ===
=== Page title fix ===
Line 13: Line 13:
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>''' .
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|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:Lists of ambiguous hospital names]]
* {{tl|Mathdab}} for mathematics titles – [[:Category:Mathematical disambiguation]]
* {{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|SIA}} for set index articles
** {{tl|Shipindex}} for ship names – [[:Category:Set indices on ships]]
** {{tl|Mountainindex}} for mountain names – [[:Category:Set indices on mountains]]
* {{tl|WP disambig}} for Wikipedia project and help pages associated with a given shortcut or title
=== 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|hn}}: 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|surname}}: for [[:Category:Surnames]]
*{{tlx|disambig|given name}}: [[:Category:Given names]]
*{{tlx|disambig|geo}}: for [[:Category:Place name disambiguation pages]]
*{{tlx|disambig|airport}}: for [[:Category:Airport disambiguation]]
*{{tlx|disambig|hospital}}: for [[:Category:Lists of ambiguous hospital names]]
*{{tlx|disambig|road}}: for [[:Category:Lists of roads sharing the same title]]
*{{tlx|disambig|school}}: for [[:Category:Educational institution disambiguation]]
*{{tlx|disambig|math}}: for [[:Category:Mathematical disambiguation]]
*{{tlx|disambig|number}}: for [[:Category:Lists of ambiguous numbers]]
*{{tlx|disambig|plant}}: for [[:Category:Plant common names]]
*{{tlx|disambig|callsign}}: for [[:Category:Broadcast call sign disambiguation pages]]
*{{tlx|disambig|church}}: for [[:Category:Church building disambiguation pages]]
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 ===
=== Alternative names ===
Line 73: Line 31:
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Disambiguation and redirection templates]]
[[Category:Disambiguation and redirection templates]]
[[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]]
[[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-piat-iah]]
[[zh-yue:Template:分流]]
</includeonly>
</includeonly>

Revision as of 11:15, 18 January 2010

Template:Helpbox 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 = ***}} .


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

  • {{dablink}} – Basic article hatnote, see templates (example usage) for the full hatnote index.
  • {{dn}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article.