Template:Disambiguation: Difference between revisions
Appearance
No edit summary |
m Fix padding |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|color=var(--color-base) | |color=var(--color-base) | ||
|background=var(--background-color-neutral-subtle) | |background=var(--background-color-neutral-subtle) | ||
| | |borderColor=var(--border-color-muted) | ||
|small=yes | |||
|icon=⤧ | |icon=⤧ | ||
|'''Disambiguation:''' {{{message|Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}|, {{{2}}}|}}.}}} | |'''Disambiguation:''' {{{message|Not to be confused with [[{{{1}}}]]{{#if:{{{2|}}}|, {{{2}}}|}}.}}} | ||
}}{{#ifeq:{{{category|yes}}}|yes|[[Category:Disambiguated articles]]|}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}{{#ifeq:{{{category|yes}}}|yes|[[Category:Disambiguated articles]]|}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 21:01, 14 June 2025
Template Documentation [edit source| uses| help]
Sometimes a single word or phrase can be used to refer to many different things. In these cases we might need to differentiate between different terms using this template.
⤧︎
Disambiguation: Not to be confused with Template:Notice.
Usage
It is simply sufficient to include this template, along with the name of the page that sounds similar. The notice above can be crafted by:
{{Disambiguation|Template:Notice}}
If the disambiguation is particularly complex, you might need to override the message altogether:
{{Disambiguation|message=This refers to the disambiguation template. For a notice see [[Template:Notice]], and for a note see [[Template:Note]]}}
⤧︎
Disambiguation: This refers to the disambiguation template. For a notice see Template:Notice, and for a note see Template:Note