Name

MODEL_IF, MODEL_UNLESS, MODEL_ELSE — Displays enclosed section if model sets value to true/false.

Synopsis

       <MODEL_IF NAME="foo">
        Text to be included if foo is true
       <MODEL_ELSE>
        Text to be included if foo is false
       </MODEL_IF>

       <MODEL_UNLESS NAME="bar">
        Text to be included if bar is false
       </MODEL_UNLESS>
      

Description

If the parameter in the name attribute is set to true by the output method of the Model, then the text enclosed by the MODEL_IF tag will be included in the template.