Template:Disambiguation/doc

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. This template automatically adds articles to the Category:Disambiguation.

Page title fixes[edit]

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. If you wish to manually specify the article type, use the |type= parameter.

Variant templates[edit]

Disambiguation[edit]

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


Parameters[edit]

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.

Nocat[edit]

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:

Redirects[edit]

The following redirect to this template:

Technical details[edit]

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.

Other templates and modules used:

Template use[edit]

Place template at the foot of the disambiguation page after all of the disambiguation content but before any categories.

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Disambiguation

Place at the bottom of Disambiguation pages.

Template parameters

ParameterDescriptionTypeStatus
First category key1

Used to put the page in a category. Can be one of 'split' (dab pages in need of being split); 'clean up','clean-up','cleanup' (dabs in need of cleanup)

Stringsuggested
Second category key2

Further category keys, as parameter 1.

Stringoptional
Third category key3

Further category keys, as parameter 1.

Stringoptional
Fourth category key4

Further category keys, as parameter 1.

Stringoptional
Fifth category key5

Further category keys, as parameter 1.

Stringoptional
Sixth category key6

Further category keys, as parameter 1.

Stringoptional
Seventh category key7

Further category keys, as parameter 1.

Stringoptional
Eighth category key8

Further category keys, as parameter 1.

Stringoptional
Ninth category key9

Further category keys, as parameter 1.

Stringoptional
Tenth category key10

Further category keys, as parameter 1.

Stringoptional
Human namehn

Human name disambiguation page with its own sort key.

Stringoptional
page-titlepage-title

Page title to use, only useful for special cases when default does not work.

Default
(FULLPAGENAME)
Stringoptional
nocatnocat

Set to 'yes' to prevent categorisation.

Stringoptional
demospacedemospace

Used for testing.

Stringoptional
ignore_parenthesesignore_parentheses

Set to 'yes' to prevent parentheses in the article title from being parsed as incomplete disambiguation.

Stringoptional
typetype

Manually specify the article type in the descriptive text ('This disambiguation page lists {{{type}}} articles...')

Stringoptional

See also[edit]

  • BattleTechWiki:Hatnote
  • {{Disambiguation needed}} – Adds an inline "disambiguation needed" tag to an ambiguous link within an article.
  • {{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