elseif shorthand?

Jaxel

Well-known member
#1
So you can do conditions in templates with:

Code:
<xen:if is="$condition1">
    stuff
<xen:elseif is="$condition2"/>
    other stuff
<xen:else>
    more stuff
</xen:if>
There is also a shorthand:

Code:
{xen:if '$condition1', 'stuff', 'more stuff'}
That shorthand can't do an "elseif". Is there a way I can do that shorthand?
 
Top