Open main menu

Difference between revisions of "User:Jvprat/Sandbox"

no edit summary
(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}}
960

edits