Difference between revisions of "User:Slavfox/Template:Distinguish"

From Blaseball Wiki

Line 1: Line 1:
<includeonly>
+
<includeonly>{{if
<!-- Variable definitions
+
|{{{text|}}}
-->{{#vardefine: numargs | -1}}
+
|''Not to be confused with {{{text}}}''
 +
|{{#vardefine: numargs | -1}}
 
{{#fornumargs:
 
{{#fornumargs:
 
| argno
 
| argno
Line 10: Line 11:
 
-->{{#switch: {{#var:numargs}}  
 
-->{{#switch: {{#var:numargs}}  
 
| 0 =  
 
| 0 =  
| 1 = ''Not to be confused with [{{{ 1 }}}]''
+
| 1 = ''Not to be confused with [[{{{ 1 }}}]]''
 
| ''Not to be confused with {{#loop: iterator
 
| ''Not to be confused with {{#loop: iterator
 
   | 1
 
   | 1
 
   | {{#expr: {{#var:numargs}} - 1}}
 
   | {{#expr: {{#var:numargs}} - 1}}
   | [{{{ {{#var: iterator}} }}}],
+
   | [[{{{ {{#var: iterator}} }}}]],
   }}, or [{{{ {{#var: numargs}} }}}]''
+
   }}, or [[{{{ {{#var: numargs}} }}}]]''
 +
}}|
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:00, 7 March 2021