Template:Disambiguation: Difference between revisions

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
m (remove double space)
(tweak message for translation)
Line 1: Line 1:
{{Dmbox
{{Dmbox
| type = disambig
| type = disambig
| text = This [[Help:Disambiguation|disambiguation]] page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|{{trim|{{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}}}}articles associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{title without disambig|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''. <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 ={{int:Visualeditor-dialog-meta-settings-disambiguation-label}}. This page lists {{{type|{{#if:{{{ignore_parentheses|}}}||{{Title disambig text|{{trim|{{Str rep|{{{page-title|{{FULLPAGENAME}}}}}|(disambiguation)|}}}}}}}}}}}articles associated with the title '''{{#if:{{{ignore_parentheses|}}}|{{{page-title|{{FULLPAGENAME}}}}}|{{title without disambig|{{{page-title|{{FULLPAGENAME}}}}}}}}}'''. <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

Revision as of 12:37, August 23, 2019

template icon Template documentation[view] [edit] [history] [purge]

Script error: No such module "Sidebar".

Shortcuts:
  • Template:Dab
  • Template:Disambig

This is the {{Disambiguation}}

{{Disambiguation}} 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 stress, life and cross. 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 titles contains parentheses that are not used for disambiguation, set |ignore_parentheses=yes.

Variant templates

Disambiguation

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.

Parameters

And This parameter reflects a maintenance need, not the contents:

  • {{Disambiguation|split}}: for Disambiguation pages in need of being split

Note that {{Disambiguation}}

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

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:

Redirects

The following redirect to this template:

{{Disambig}}

Technical details

Internally, this template uses {{Dmbox}}

{{Dmbox}}. That template categorises pages into Category:Disambiguation pages.

Template use

Place template at the foot of the disambiguation page after all of the disambiguation content but before any categories (see below) or interlanguage links.

See also

{{Other uses}} - for linking to disambiguation pages in articles

Didplays a disambiguation message

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
33

no description

Unknownoptional
44

no description

Unknownoptional
55

no description

Unknownoptional
66

no description

Unknownoptional
77

no description

Unknownoptional
88

no description

Unknownoptional
99

no description

Unknownoptional
1010

no description

Unknownoptional
typetype

no description

Unknownoptional
ignore_parenthesesignore_parentheses

no description

Unknownoptional
page titlepage-title 1

name of current page

Unknownrequired
nocatnocat

no description

Unknownoptional
demospacedemospace

no description

Unknownoptional