vlibTemplate

vLib Logo

5.6. <TMPL_ELSE>

You can include an alternate block in your TMPL_IF block by using TMPL_ELSE. NOTE: You still end the block with </TMPL_IF>, not </TMPL_ELSE>! Example:



Example
   <TMPL_IF BOOL>

     Some text that is included only if BOOL is true

   <TMPL_ELSE>

     Some text that is included only if BOOL is false

   </TMPL_IF>