Difference between revisions of "Template:Switch"

Jump to navigation Jump to search
Allow switch to be empty
(Use the new IsEmpty syntax)
(Allow switch to be empty)
Line 1: Line 1:
<includeonly>{{{ {{{switch}}}|{{IsEmpty|{{{default|}}}|empty={{{switch}}}}}}}}</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

Navigation menu