Difference between revisions of "Template:DisambigMsg"
Jump to navigation
Jump to search
old>Phoe nixx m (fix italicizing if the first parameter is omitted) |
m (6 revisions imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{| style="padding-bottom:5px;padding-left:25px" | <includeonly>{| style="padding-bottom:5px;padding-left:25px" | ||
|[[Image:Disambig.png|18px|link=]] | |[[Image:Disambig.png|18px|link=]] | ||
|''{{#if:{{{1|}}}|This article is about {{{1}}}.}} For {{{2}}}, see [[{{{3}}}]].{{#if: {{{4|}}}| For {{{4}}}, see [[{{{5}}}]].{{#if: {{{6|}}}| For {{{6}}}, see [[{{{7}}}]].|}}|}}'' | |''{{#if:{{{1|}}}|This article is about {{{1}}}.}} For {{{2}}}, see [[{{{3}}}]].{{#if: {{{4|}}}| For {{{4}}}, see [[{{{5}}}]].{{#if: {{{6|}}}| For {{{6}}}, see [[{{{7}}}]].|}}|}}'' | ||
|}<noinclude>{{doc}} [[Category:Notice templates|{{PAGENAME}}]]</noinclude> | |}</includeonly><noinclude>{{doc}} [[Category:Notice templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 20:45, 21 November 2021
Documentation
[purge]
Usage
Usage is {{DisambigMsg|what this article is about|what other article 1 is about|name of other article 1|what other article 2 is about|name of other article 2|...)}}
. You can provide up to three pairs of "other article" parameters as you want (minimum one, of course). Shortcut: {{for}}
For example, {{DisambigMsg|the quest Test|the Achievement|Test (achievement)}}
will result in:
|
{{DisambigMsg|the quest Test|the class|Test (class)|the achievement|Test (achievement)}}
will result in:
|
In order to omit "This article is about" part, leave the first parameter empty. {{DisambigMsg||the class|Test (class)|the achievement|Test (achievement)}}
will result in:
|