Demo:SwitchStatement7

From PKC
Revision as of 08:44, 19 May 2022 by Benkoo (talk | contribs)
Jump to navigation Jump to search

{{#switch: {{#expr: 4+2*1}} | 1 = one | 2 = two | 3|4|5 = any of 3–5 | 6 = six | 7 = {{uc:sEveN}} <!--lowercase--> | #default = other }}


The above text can be better visualized as follow:

{{#switch: {{#expr: 4+2*1}}
 | 1 = one
 | 2 = two
 | 3|4|5 = any of 3–5
 | 6 = six
 | 7 = {{uc:sEveN}} <!--lowercase-->
 | #default = other
}}