$endelseif

is used to close $elseIf

Usage

$elseIf[EXPR]
CODE BLOCK
$endelseif
1
2
3