960
edits
(add switch tests) |
|||
Line 12: | Line 12: | ||
The "default" argument is ignored when it's empty: | The "default" argument is ignored when it's empty: | ||
*<nowiki>{{Switch|yes=yay|no=nay|default=|switch=err}}</nowiki> shows "{{Switch|yes=yay|no=nay|default=|switch=err}}"="err" | *<nowiki>{{Switch|yes=yay|no=nay|default=|switch=err}}</nowiki> shows "{{Switch|yes=yay|no=nay|default=|switch=err}}"="err" | ||
{{IsEmpty||empty=EMPTY|notempty=NOTEMPTY}} |
edits