Difference between revisions of "Template:DisambigMsg"

From Binding of Isaac: Rebirth Wiki
Jump to: navigation, search
(Line)
(fr link)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{noalign|}}}|<div>|<div style="position: absolute; top: 2px; padding-bottom: 5px">}}{| style="padding-bottom:5px"
+
<includeonly><onlyinclude>{| style="padding-bottom:5px; padding-left:25px"
 
| [[Image:Disambig.png|18px|link=]]
 
| [[Image:Disambig.png|18px|link=]]
| ''This article is about {{{1}}}. For {{{2}}}, see [[{{{3}}}]].{{#if: {{{4|}}} | &nbsp;For {{{4}}}, see [[{{{5}}}]].{{#if: {{{6|}}} | &nbsp;For {{{6}}}, see [[{{{7}}}]].{{#if: {{{8|}}} | &nbsp;For {{{8}}}, see [[{{{9}}}]].}} }} }}''
+
| ''This article is about {{{1}}}. For {{{2}}}, see [[{{{3}}}]].{{#if: {{{4|}}} | &nbsp;For {{{4}}}, see [[{{{5}}}]].{{#if: {{{6|}}} | &nbsp;For {{{6}}}, see [[{{{7}}}]].}} }}''
|}</div><noinclude>
+
|}</onlyinclude></includeonly>
 
+
{{Doc}}
== Usage ==
 
Usage is <code><nowiki>{</nowiki>{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''|...)}}</code>.  You can provide up to three pairs of "other article" parameters as you want (minimum one, of course). 
 
 
 
For example, <code><nowiki>{{DisambigMsg|the boss, Gemini|the item |Gemini (Item)}}</nowiki></code> will result in:
 
{{DisambigMsg|the boss, Gemini|the item |Gemini (Item)|noalign=true}}
 
<code><nowiki>{{DisambigMsg|the boss at the end of The Chest, ???| the player-character |Blue Baby|the achievement|Achievements}}</nowiki></code> will result in:
 
{{DisambigMsg|the boss at the end of The Chest, ???| the player-character |Blue Baby|the achievement|Achievements|noalign=true}}
 
  
 
[[Category:Notice templates]]
 
[[Category:Notice templates]]
 
[[fr:Modèle:MsgHomonymie]]
 
[[fr:Modèle:MsgHomonymie]]
</noinclude>
 

Latest revision as of 13:50, 21 April 2017

Template-info.png Documentation

Usage[edit source]

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).

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 book Test|the class|Test (class)|the achievement|Test (achievement)}} will result in:

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