Revision as of 17:37, 25 October 2005 view sourceGurch (talk | contribs)Extended confirmed users, Rollbackers109,955 editsm capitlize Google← Previous edit | Latest revision as of 01:36, 19 December 2024 view source Wbm1058 (talk | contribs)Autopatrolled, Administrators265,444 edits only populate Category:Unsynchronized disambiguation talk pages with pages in mainspace | ||
(136 intermediate revisions by 75 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{nocat|}}}||{{Disambiguation page short description}}}}</includeonly> | |||
<div class="notice metadata" id="disambig">''This is a ] page, a list of pages that otherwise might share the same title. Further articles in Misplaced Pages that may relate to this subject can be found (Google search). If an ] referred you to this page, you might want to go back and fix it to point directly to the intended page.''</div> | |||
{{Dmbox | |||
<noinclude> | |||
| type = disambig | |||
] | |||
| text = {{#switch: {{{nsoverride|<includeonly>{{NAMESPACE}}</includeonly>}}}|<!--detects namespace between Misplaced Pages, MOS, Portal, and everything else--> | |||
] | |||
| #default = This ] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|1={{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}} {{namespace detect|main=articles|category=categories|wikipedia=project pages<includeonly>|template=templates</includeonly>|other=pages}} associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{PAGENAMEBASE|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''.<!--for normal disambiguation pages--> | |||
] | |||
| Misplaced Pages = This page is a list of ] associated with the same title or shortcut.]<!--for Misplaced Pages disambiguation pages--> | |||
] | |||
| MOS = This page is a list of ] associated with the same title or shortcut.]<!--for Manual of Style disambiguation pages--> | |||
] | |||
| Portal = This page is a list of ] associated with the same title.]<!--for Portal disambiguation pages--> | |||
] | |||
}}<br /><small>{{main other<!--detects if in mainspace or not--> | |||
] | |||
| demospace = {{{demospace|}}}<!--for testing, see docs at ]--> | |||
] | |||
| If an led you here, you may wish to change the link to point directly to the intended article.<!--If in mainspace, the "internal link" only links to incoming links in mainspace, and we use the term "intended article"--> | |||
] | |||
| If an led you here, you may wish to change the link to point directly to the intended page.<!--If not in mainspace, the "internal link" links to incoming links in all namespaces, and we use the term "intended page"--> | |||
] | |||
}}</small> | |||
] | |||
| nocat = {{{nocat|}}} <!--So "nocat=true" works--> | |||
] | |||
}}{{main other | |||
] | |||
| demospace = {{{demospace|}}} | |||
] | |||
| ]{{disambiguation/cat|{{{1|}}}}}{{disambiguation/cat|{{{2|}}}}}{{disambiguation/cat|{{{3|}}}}}{{disambiguation/cat|{{{4|}}}}}{{disambiguation/cat|{{{5|}}}}}{{disambiguation/cat|{{{6|}}}}}{{disambiguation/cat|{{{7|}}}}}{{disambiguation/cat|{{{8|}}}}}{{disambiguation/cat|{{{9|}}}}}{{disambiguation/cat|{{{10|}}}}}{{#if: {{{hn|}}} | ] }}{{#if:{{Title disambig text|1={{Str rep|{{FULLPAGENAME}}|(disambiguation)|}}}}|]|}}<!-- The preceding test should include articles like "Socialist Party (Sweden) (disambiguation)". --> | |||
] | |||
| <!-- Don't categorise when not in main (article) space. However, note that {{Dmbox}} categorises pages into Category:All disambiguation pages and Category:All article disambiguation pages--> | |||
] | |||
}}<includeonly>{{main other|{{#if:{{{nocat|}}}||{{#ifeq:{{#invoke:redirect|isRedirect|{{TALKPAGENAME}}}}|yes|]}}}}}}</includeonly><noinclude> | |||
] | |||
{{Documentation}} | |||
] | |||
<!-- Add categories to the /doc subpage and interwikis to Wikidata, not here! --> | |||
] | |||
] | |||
] | |||
] | |||
] | |||
] | |||
</noinclude> | </noinclude> | ||
<includeonly> | |||
] | |||
</includeonly> |
Latest revision as of 01:36, 19 December 2024
This disambiguation page lists pages associated with the title Template:Disambiguation.If an internal link led you here, you may wish to change the link to point directly to the intended page. Template documentation[view] [edit] [history] [purge] For the inline tag, see Template:Disambiguation needed.
This template is used on approximately 226,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This template should not be substituted. |
This template adds an automatically generated short description via an embedded template. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Disambiguation |
---|
|
This is the {{Disambiguation}} 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 fixes
This template will automatically detect incomplete disambiguation present in page titles. If the title includes anything other than (disambiguation) in parentheses, it is assumed to be the article type. For example, this template on the page 1st Division (France) would produce the text "This disambiguation page lists France articles associated with the title 1st Division". If the page title contains parentheses that are not used for disambiguation (such as Everything You Always Wanted to Know About Sex* (*But Were Afraid to Ask)), set |ignore_parentheses=yes
. If you wish to manually specify the article type, use the |type=
parameter.
Variant templates
Disambiguation
See also: Category:Disambiguation message boxesFor disambiguation pages requiring cleanup, use {{Disambiguation cleanup}}.
More specific and alternative templates exist for disambiguation pages whose entries are limited exclusively to items of a particular type:
Note: A set index article (SIA) is not a disambiguation page; it is a list article about a set of items of a specific type that also share the same (or similar) name. Misplaced Pages:Set index articles includes templates for SIAs.
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}}
This list is currently complete as of 28 October 2023 and {{Disambiguation}} has parameters for all subcategories of Category:Disambiguation pages; it is recommended to use this template and its parameters instead of adding that categories' subcategory to the disambiguation page manually.
Nocat
If categorization is not needed on pages that are not in mainspace, then the "nocat" parameter may be set equal to "true" or "yes" as follows:
{{Disambiguation|nocat=true}}
{{Disambiguation|nocat=yes}}
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".
Other templates and modules used:
- {{Disambiguation page short description}}
- {{Template other}}
- {{Title disambig text}}
- {{PAGENAMEBASE}}
- {{Trim}}
- {{Str rep}}
- {{#invoke:Redirect|isRedirect}}
Template use
Place template at the foot of the disambiguation page after all of the disambiguation content but before any categories (see below) (interlanguage links to Wikidata), as per the WP:DCAT guideline.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Disambiguation in articles based on its TemplateData.TemplateData for Disambiguation
Place at the bottom of Disambiguation pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
First category key | 1 | Used to put the page in a category. Can be one of 'split' (dab pages in need of being split); 'cleanup','clean up','clean-up' (dabs in need of cleanup); 'one non-primary topic','non-primary','non-primary topic' (dabs without a primary topic); 'building and structure','building','buildings','structure','structures','buildings and structures' (building and structure dabs); 'airport','airports' (airport dabs); 'architecture' (architecture dabs); 'hospital','hospital name','hospital names','hospitals' (hospital dabs); 'school','schooldis','education','educational institution','educational institutions','college','colleges','university','universities','schools' (Educational institution dabs); 'station','stations' (station dabs); 'religion','hindu','hindu temple','hindu temples','religious building','religious buildings' (religious building dabs); 'church','church building','church buildings','churches' (church building dabs); 'mosque','mosques' (mosque dabs); 'synagogue','synagogues' (synagogue dabs); 'temple','buddhist','buddhist temple','buddhist temples','temples' (buddhist temple dabs); 'science' (science dabs); 'biology' (biology dabs); 'animal' (animal dabs); 'bird' (bird dabs); 'fish' (fish dabs); 'plant','plants' (Plant common name dabs); 'taxonomy' (taxonomy dabs); 'genus','genera' (Genus dabs); 'latin','latin name','latin names' (Latin name dabs); 'species latin','species latin name','species latin names' (species Latin name dabs); 'species latin name abbreviation','species latin name abbr','species latin name abbrs','species latin name abbreviations' (species Latin name abbreviation dabs); 'linguistics' (linguistics dabs); 'math','mathdab','mathematics','mathematical','maths' (mathematical dabs); 'social science','social' (social science dabs); 'economics' (economics dabs); 'geo','geodis','geography','geographical','place name','place names','place','places' (Place names); 'county','counties' (county dabs); 'uscounty','uscounties' (United States county dabs); 'department','departments' (department dabs); 'district','districts' (district dabs); 'municipality','municipalities' (municipality dabs); 'parish','parishes' (parish dabs); 'province','provinces' (province dabs); 'township','townships' (Township name dabs); 'arkansas township','arkansas townships' (arkansas township dabs); 'illinois township','illinois townships' (illinois township dabs); 'indiana township','indiana townships' (indiana township dabs); iowa township','iowa townships' (iowa township dabs); 'kansas township','kansas townships' (kansas township dabs); 'michigan township','michigan townships' (michigan township dabs); 'minnesota township','minnesota townships' (minnesota township dabs); 'missouri township','missouri townships' (missouri township dabs); 'nebraska township','nebraska townships' (nebraska township dabs); 'new jersey township','new jersey townships' (new jersey township dabs); 'north carolina township','north carolina townships' (north carolina dabs); 'north dakota township','north dakota townships' (north dakota dabs); 'ohio township','ohio townships' (ohio township dabs); 'oklahoma township','oklahoma townships' (oklahoma township dabs); 'pennsylvania township','pennsylvania townships' (pennsylvania township dabs); 'south dakota township','south dakota townships' (south dakota township dabs); 'callsign','call sign','call signs','broadcast call sign','broadcast call signs','callsigns' (broadcast call sign dabs); 'caselaw' (caselaw dabs); 'chinese','chinese char','chinese-char','chinesechar','chinese character' (chinese character dabs); 'culture','language','languages','nationality','nationalities','language and nationality','languages and nationalities','cultures' (language and nationality dabs); 'date time','date','time' (date and time dabs); 'flight number','flight','flight numbers' (flight number dabs); 'opus number','opus','opus numbers' (opus number dabs); 'hn','name','names','human name','human names','hndis' (Human name dabs); 'surname','surnames' (surname dabs); 'given name','given names' (given-name dabs); 'hangul' (hangul dabs); 'ih same title','ihs same title' (ih same title dabs); 'letter number','letter-number' (Letter-number combination dabs); 'military' (military dabs); 'number','numberdis','ambiguous number','ambiguous numbers','numbers' (Lists of ambiguous numbers); 'political party','party','parties','political','political parties' (political party dabs); 'road','roaddis','roads' (road dabs); 'road same title','roads same title' (road same title dabs); 'ship','ships' (ship dabs); 'technology and engineering','engineering','tech','tech and engineering','technology' (technology and engineering dabs); 'template','templates' (template dabs); 'temple name','temple names' (temple name dabs); 'tndis' (title and name dabs); 'transport route','transport routes' (transport route dabs)
| String | suggested |
Second category key | 2 | Further category keys, as parameter 1.
| String | optional |
Third category key | 3 | Further category keys, as parameter 1.
| String | optional |
Fourth category key | 4 | Further category keys, as parameter 1.
| String | optional |
Fifth category key | 5 | Further category keys, as parameter 1.
| String | optional |
Sixth category key | 6 | Further category keys, as parameter 1.
| String | optional |
Seventh category key | 7 | Further category keys, as parameter 1.
| String | optional |
Eighth category key | 8 | Further category keys, as parameter 1.
| String | optional |
Ninth category key | 9 | Further category keys, as parameter 1.
| String | optional |
Tenth category key | 10 | Further category keys, as parameter 1.
| String | optional |
Human name | hn | Human name disambiguation page with its own sort key. | String | optional |
page-title | page-title | Page title to use, only useful for special cases when default does not work.
| String | optional |
nocat | nocat | Set to 'yes' to prevent categorisation. | String | optional |
demospace | demospace | Used for testing. | String | optional |
ignore_parentheses | ignore_parentheses | Set to 'yes' to prevent parentheses in the article title from being parsed as incomplete disambiguation. | String | optional |
type | type | Manually specify the article type in the descriptive text ('This disambiguation page lists {{{type}}} articles...') | String | optional |
See also
- Misplaced Pages:Hatnote
- {{Dablinks}} – lists wikilinks on the page that link to disambiguation pages
- {{dabsearch}}
- {{Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article, see Misplaced Pages:OTHERUSES for more.
- {{WikiProject Disambiguation}} – for disambig talkpages
- {{Redirect}} – for linking to disambiguation pages in an article that is the primary topic of a redirect
- {{Other uses}} – for linking to disambiguation pages in articles
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: