Template:Switch

From Avlis Wiki
Revision as of 17:56, 22 September 2009 by Buddha (talk | contribs) (Added Switch template to make other templates work.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Usage

A switch statement is defined like so:

{{Switch
|{{{field_name}}}
|case: Is This=Something Happens
|case: Is This 2=Something Happens 2
|default=Something Happens Default
}}