Template:Switch
Jump to navigation
Jump to search
This template has been deprecated and substituted with the parser function #switch. It is currently used only inside MediaWiki:Sitenotice, which does not accept parser functions. |
Syntax
{{switch| a
|case: b = x
|case: c = y
|default = z
}}
Differences from the syntax of the parser function #switch:
{{#switch: a
|b = x
|c = y
|#default = z
}}