Skip to content

if-elseif-else-endif block

  • If-elseif-else-endif block uses multiple conditional statements that are met to show content.

Example: {% raw %}

This block of text will be shown with the contact name as John.
{% elsif contact_name == "Karen" %}
This block of text will be shown with the contact name as Karen.
{% else %}
This block of text will show with no name.

{% endraw %}