Wiktenauer logo.png

Difference between revisions of "Template:Disambiguation/doc"

From Wiktenauer
Jump to navigation Jump to search
m (1 revision)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
+
{{documentation subpage}}
{{High-risk|140,000+}}
+
{{dabnav}}
{{Dabnav}}
 
This is the {{tl|Disambiguation}} template.
 
 
 
 
'''<big>Important: Please do not [[Wikipedia:Substitution|subst:]] this template.</big>'''
 
'''<big>Important: Please do not [[Wikipedia:Substitution|subst:]] this template.</big>'''
  
Line 9: Line 6:
  
 
=== Page title fix ===
 
=== 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>{{Disambiguation|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>{{Disambiguation|page-title = ***}}</nowiki></code>''' .
  
 
===Variant templates===
 
===Variant templates===
 +
 
====Disambiguation====
 
====Disambiguation====
 +
 
{{Category see also|Disambiguation message boxes}}
 
{{Category see also|Disambiguation message boxes}}
  
Line 35: Line 35:
  
 
====Set index====
 
====Set index====
 +
 
{{Category see also|Set index article templates}}
 
{{Category see also|Set index article templates}}
  
Line 48: Line 49:
  
 
=== Parameters ===
 
=== Parameters ===
 +
 
Sometimes there isn't a specific disambiguation 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|Disambiguation}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order, for example:
 
Sometimes there isn't a specific disambiguation 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|Disambiguation}} but with one or more parameters telling which categories to use. Up to ten parameters can be fed, and in any order, for example:
  
Line 79: Line 81:
  
 
=== Redirects ===
 
=== Redirects ===
 +
 
The following redirect to this template:
 
The following redirect to this template:
  
Line 87: Line 90:
  
 
=== Technical details ===
 
=== Technical details ===
 +
 
Internally, this template uses {{tl|Dmbox}}. That template categorises pages into [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
 
Internally, this template uses {{tl|Dmbox}}. That template categorises pages into [[:Category:All disambiguation pages]] and [[:Category:All article disambiguation pages]].
  
Line 92: Line 96:
  
 
=== See also ===
 
=== See also ===
* [[Wikipedia:Hatnote]]
+
 
 +
* [[wikipedia:Wikipedia:Hatnote]]
 
* {{tl|Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article, see [[Wikipedia:OTHERUSES]] for more.
 
* {{tl|Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article, see [[Wikipedia:OTHERUSES]] for more.
 
* {{tl|WikiProject Disambiguation}} – for disambig talkpages
 
* {{tl|WikiProject Disambiguation}} – for disambig talkpages
 
 
<includeonly>
 
<includeonly>
 
[[Category:Disambiguation message boxes| ]]
 
[[Category:Disambiguation message boxes| ]]
 
[[af:Sjabloon:Dubbelsinnig]]
 
[[als:Vorlage:Begriffsklärung]]
 
[[am:Template:መንታ]]
 
[[an:Plantilla:Desambig]]
 
[[ang:Template:Disambig]]
 
[[ar:قالب:توضيح]]
 
[[arc:ܩܠܒܐ:ܬ.ܐ.]]
 
[[arz:قالب:توضيح]]
 
[[ast:Plantilla:Dixebra]]
 
[[az:Şablon:Dəqiqləşdirmə]]
 
[[az:Şablon:دقیقلشدیرمه]]
 
[[ba:Ҡалып:Күп мәғәнәлелек]]
 
[[bar:Vorlage:Begriffsklärung]]
 
[[bat-smg:Šablonas:Disambig]]
 
[[be-x-old:Шаблён:Неадназначнасьць]]
 
[[bg:Шаблон:Пояснение]]
 
[[bn:Template:দ্ব্যর্থতা নিরসন]]
 
[[br:Patrom:Disheñvelout]]
 
[[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:Πρότυπο:Αποσαφήνιση]]
 
[[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]]
 
[[lez:Шаблон:Са шумуд манавал]]
 
[[li:Sjabloon:Verdudeliking]]
 
[[lmo:Template:Desambiguació]]
 
[[lmo:Template:Desambiguassiú]]
 
[[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]]
 
[[ta:வார்ப்புரு:பக்கவழி நெறிப்படுத்தல்]]
 
[[te:మూస:అయోమయ నివృత్తి]]
 
[[tg:Шаблон:Ибҳомзудоӣ]]
 
[[th:แม่แบบ:แก้กำกวม]]
 
[[tl:Template:Paglilinaw]]
 
[[tr:Şablon:Anlam ayrımı]]
 
[[tt:Калып:Күп мәгънәләр]]
 
[[uk:Шаблон:Disambig]]
 
[[ur:سانچہ:Disambig]]
 
[[uz:Template:Disambig]]
 
[[vec:Template:Disambigua]]
 
[[vi:Tiêu bản:Trang định hướng]]
 
[[vls:Patrôon:Db]]
 
[[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>
 
</includeonly>

Latest revision as of 15:23, 11 March 2014

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: {{Disambiguation|page-title = ***}} .

Variant templates

Disambiguation

For disambiguation pages requiring cleanup, use {{Disambiguation cleanup}}.

More specific and alternative templates do exist, for disambiguation pages or set index articles whose entries are limited exclusively to items of a particular type:

Set index

For set index articles:

Parameters

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

{{Disambiguation|school|hospital}}

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

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

Redirects

The following redirect to this template:

Technical details

Internally, this template uses {{Dmbox}}. That template categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages.

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

See also