Template:DisambigMsg/doc

Template page

{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}{{#if: | {{#ifeq: doc | doc | |

}} }}

[[File:Template-{{#if: | no | {{#if: | bad }} }}info.png|50px|bottom]] Documentation
{{#if: | This template has no documentation. If you know how to use this template, please add some.{{#ifeq: doc | doc | |}} |{{#if: | This template's documentation has been marked as bad. Please improve or add to it.{{#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).
{{#ifeq: doc | doc |

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.

| }}