Difference between revisions of "Template:Switch"

Jump to navigation Jump to search
267 bytes added ,  15:16, 5 March 2009
Document the usage
m (Template:QueryArgument moved to Template:Switch: Shorter and more concise name)
(Document the usage)
Line 1: Line 1:
{{{ {{{arg}}} }}}
<includeonly>{{{ {{{switch}}} }}}</includeonly><noinclude>
=Usage=
Use the "switch" argument to select which argument to show:
*<nowiki>{{{Switch|yes=yay|no=nay|switch=yes}}}</nowiki> will show "yay"
*<nowiki>{{{Switch|yes=yay|no=nay|switch=no}}}</nowiki> will show "nay"
</noinclude>
960

edits

Navigation menu