Difference between revisions of "Template:DisambigMsg"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
m
old>Phoe nixx
m (fix italicizing if the first parameter is omitted)
Line 1: Line 1:
{| style="padding-bottom:5px;padding-left:25px"
{| 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>
|}<noinclude>{{doc}} [[Category:Notice templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:42, 13 October 2020

Disambig.png For {{{2}}}, see [[{{{3}}}]].
Template-info.png Documentation

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:

Disambig.png This article is about the quest Test. For the Achievement , see Test (achievement).

{{DisambigMsg|the quest Test|the class|Test (class)|the achievement|Test (achievement)}} will result in:

Disambig.png This article is about the quest Test. For the class, see Test (class). For the achievement, see Test (achievement).

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:

Disambig.png For the class, see Test (class). For the achievement, see Test (achievement).