{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |
}} }}
Usage
Usage is {{{{#if:|subst:}}DisambigMsg{{#if:what this article is about|
|what this article is about
}}{{#if:what other article 1 is about|
|what other article 1 is about
}}{{#if:name of other article 1|
|name of other article 1
}}{{#if:what other article 2 is about|
|what other article 2 is about
}}{{#if:name of other article 2|
|name of other article 2
}}{{#if:...)|
|...)
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}}
. You can provide up to three pairs of "other article" parameters as you want (minimum one, of course).
For example, {{{{#if:|subst:}}DisambigMsg{{#if:the quest Test|
|the quest Test
}}{{#if:the Achievement |
|the Achievement
}}{{#if:Test (achievement)|
|Test (achievement)
}}{{#if:|
|{{{5}}}
}}{{#if:|
|{{{6}}}
}}{{#if:|
|{{{7}}}
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}}
will result in:
File:Disambig.png | This article is about the quest Test. For the Achievement, see Test (achievement). |
{{{{#if:|subst:}}DisambigMsg{{#if:the book Test|
|the book Test
}}{{#if:the class|
|the class
}}{{#if:Test (class)|
|Test (class)
}}{{#if:the achievement|
|the achievement
}}{{#if:Test (achievement)|
|Test (achievement)
}}{{#if:|
|{{{7}}}
}}{{#if:|
|{{{8}}}
}}{{#if:|
|{{{9}}}
}}{{#if:|
|{{{10}}}
}}{{#if:|
|{{{11}}}
}}{{#if:|
|...
}}}}
will result in:
File:Disambig.png | This article is about the book Test. For the class, see Test (class). For the achievement, see Test (achievement). |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.
|The above documentation is transcluded from Template:DisambigMsg/doc/doc. (edit | history)
}}