This project is read-only.
Used to specify a default value for a variable in case the variable is null or empty.

Optional parameters:

First - the value to output if the variable is null or empty. Default is empty string.

{null|default:'The default value'}
{''|default:'Another default value'}


Will output

The default value
Another default value

Last edited Feb 16, 2010 at 1:43 PM by JacoPretorius, version 2

Comments

No comments yet.