{if:variable}

{if:variable} -- creates a PHP if statement

Synopsis

Usage ({if:variable}, {if:method()})

Description

creates an if statement, with the argument as a variable or method. You must close an if statement with an {end:} statement, and you may use {else:} with it.

Example