IF-ELSEIF-ELSE Statement

You can use IF-ELSEIF-ELSE statement to display one of several available blocks of HTML code depending on CONDITION :

<!--{if CONDITION1 }-->

HTML CODE 1
<!--{elseif CONDITION2}-->>

HTML CODE 2
<!--{else}-->

HTML CODE 3
<!--{/if}-->

Note

if and else and elseif should be written in lowercase letters. Using uppercase letters (IF, ELSE, ELSEIF) will result in error.