Sfairadora

  • Reference Guide

Condition

if(cond) template1 endif
if(cond) template1 else template2 endif
The parameter cond is an Enki expression returning a Bool. If its result is TRUE, the result of template1 is inserted to the output text. Otherwise, the result of template2 is used, or nothing, if the template2 is not specified.

Remark

Instead of endif, it is also permitted to write end if.

See Also