Difference between revisions of "Template:Switch"
Jump to navigation
Jump to search
m (ParserFunctions template replacement) |
m (Usage documentation) |
||
Line 1: | Line 1: | ||
− | {{{case: {{{1|}}}|{{{default|}}}}}}<noinclude>[[Category:Wikipedia Templates]]</noinclude> | + | {{{case: {{{1|}}}|{{{default|}}}}}}<noinclude> |
+ | Usage is different from #switch!!! | ||
+ | <pre>{{switch | ||
+ | |VALUE-TO-BE-TESTED | ||
+ | | case: foo=hello | ||
+ | | case: bar=world | ||
+ | | default=Neither ''foo'' nor ''bar'' | ||
+ | }}</pre> | ||
+ | [[Category:Wikipedia Templates]]</noinclude> |
Latest revision as of 14:19, 20 September 2008
Usage is different from #switch!!!
{{switch |VALUE-TO-BE-TESTED | case: foo=hello | case: bar=world | default=Neither ''foo'' nor ''bar'' }}