Condition
Previous  Top  Next

If you left this space blank, then the template will always work.  
Here you may enter an expression contained in a full IF clause. If the IF expression is evaluated as True, then the template works, otherwise it won't.  
For example:  
clip0005  
The template only executes when the variable GLO:PAIS equals the word 'CHILE'.  
 
If you enter an invalid expression, or if you forget the IF clause here, you will get a compiler error.  
You may specify an 'include' line that references an external .clw file with a clause as complex as you need. A single "END" will be generated at the end of the template call only if this condition is not blank.  
 
Also, keep in mind that you may use this line for activation in combination with user variables, which you may load as will under the conditions you set.