Difference between revisions of "Template:DisambigMsg"
Jump to navigation
Jump to search
old>Phoe nixx m (fix italicizing if the first parameter is omitted) |
old>Phoe nixx m (add includeonly) |
||
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> |
Revision as of 20:55, 13 October 2020
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:
|