Wiktenauer logo.png

Difference between revisions of "Template:Disambiguation"

From Wiktenauer
Jump to navigation Jump to search
m (1 revision)
 
Line 1: Line 1:
{{Dmbox
+
{{dmbox
 
| type = disambig
 
| type = disambig
 
| text = This disambiguation page lists articles associated with the same title. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
 
| text = This disambiguation page lists articles associated with the same title. <br /> <small>If an [{{fullurl:Special:WhatLinksHere/{{{page-title|{{FULLPAGENAME}}}}}|namespace=0}} internal link] led you here, you may wish to change the link to point directly to the intended article.</small>
 
| nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
 
| nocat = {{{nocat|}}}  <!--So "nocat=true" works-->
}}{{main other
+
}}
 +
{{main other
 
| demospace = {{{demospace|}}}
 
| demospace = {{{demospace|}}}
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 15:38, 11 March 2014

[edit] [history] [purge] Documentation icon Template documentation

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