Template:If

From Red Faction Wiki

Allows for if-defined statements in templates -- that is, you can test if a particular variable is empty or not. It is the functional equivalent of the ParserFunction #if.

Usage

{{if|CONDITION|NOT EMPTY|EMPTY}} outputs NOT EMPTY

{{if||NOT EMPTY|EMPTY}} outputs EMPTY