Open main menu

Difference between revisions of "Template:Switch"

31 bytes added ,  19:36, 5 March 2009
Use the new empty test
(Use the new empty test)
Line 1: Line 1:
<includeonly>{{{ {{{switch}}}|{{{default|{{{switch}}}}}}}}}</includeonly><noinclude>
<includeonly>{{{ {{{switch}}}|{{IsEmpty|{{{default}}}|empty=EMPTY|notempty=NOT_EMPTY}} }}}</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