Template:If
From Armagetron
if-then-else
conditional:
{{if|test=non-empty|then=yes|else=no}}
gives yes
{{if|test=|then=yes|else=no}}
gives no
Yanked from WikiMedia.
if-then-else
conditional:
{{if|test=non-empty|then=yes|else=no}}
gives yes
{{if|test=|then=yes|else=no}}
gives no
Yanked from WikiMedia.