4.1. Templating rules

4.1.1. {KEY}

Inserts the value of the KEY for the reference. In a database query, this is the column name.

4.1.2. {KEY|fallback string}

Displays the value of {KEY} or if it is zero or blank, the fallback string (i.e., default).

4.1.3. {KEY true string}

Displays true string if the value of {KEY} is non-blank, non-zero, or displays nothing if the key is false.

4.1.4. {KEY?} true text {/KEY?}

Displays true text if the value of {KEY} is non-blank, non-zero, and nothing otherwise.

4.1.5. {KEY:} false text {/KEY:}

Displays false text if the value of {KEY} is blank or zero, and nothing otherwise.

Copyright 2002-2004 Mike Heins <mike.heins@perusion.net> and Michael Wilk <mwilk@steppenwolf.com>. Freely redistributable under terms of the GNU General Public License.