The IF tag executes a block of code conditionally. If the condition expression evaluates to True, then the contents of the IF tag are execute, otherwise they are skipped.
| name | purpose | type | required? |
|---|---|---|---|
| condition | The inner block will be executed if this condition evaluates to True If condition evaluates to False, the block will be skipped. |
expression | yes |
| name | type | required? |
|---|---|---|
| if | expression | no |
<if condition=".debug">
<echo>This only displays in debug</echo>
</if>