|
|
| 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> |
|
File:Edit-copy green.svg |
This is a documentation subpage for Template:Disambig (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
|
File:Imbox content.png |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
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.