Switch / Case
It's possible to use switch
/ case
to determine what elements to render.
The default
branch has to be the last one, and is not required.
Example
switch value
case 1: text "one"
case 2: text "two"
default: text "default"