{{#switch: {{{1|}}} | = Foo | f }} is the opposite of {{#if: {{{1|}}} | Foo | f }}

{{#tag:pre|WIKITEXT}} {{msgnw:TEMPLATE}} {{#tag:pre|{{msgnw:TEMPLATE}}}} [1]