{% if foo %} foo {% elseif ((bar eq "foo") and baz) %} bar {% elseif quux %} baz {% else %} something else {% endif %}