Difference between revisions of "User:Slavfox/Template:Distinguish"
From Blaseball Wiki
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{if |
− | + | |{{{text|}}} | |
− | + | |''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
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |