Open main menu

Difference between revisions of "Template:Switch"

23 bytes removed ,  20:07, 5 March 2009
Use the new IsEmpty syntax
(I hope this is the last iteration on this template)
(Use the new IsEmpty syntax)
Line 1: Line 1:
<includeonly>{{{ {{{switch}}}|{{IsEmpty|{{{default|}}}|empty={{{switch}}}|notempty={{{default}}}}}}}}</includeonly><noinclude>
<includeonly>{{{ {{{switch}}}|{{IsEmpty|{{{default|}}}|empty={{{switch}}}}}}}}</includeonly><noinclude>
This template allows you to conditionally show one of a predefined set of arguments, depending on another named argument.
This template allows you to conditionally show one of a predefined set of arguments, depending on another named argument.
=Usage=
=Usage=
960

edits