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

From Blaseball Wiki

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

Revision as of 17:07, 7 March 2021