Tags


Most notifications need parameters sent alongside the request to function. Template and events use  these parameters within Tags. Tags help create blocks of logic within templates.


Syntax


{% <Tag>[ <Conditions>] %}

<Template Block>

{% <EndTag> %}



Arguments

Tag  – The name of the Tag. This changes the functionality of what occurs within the tag block.


Conditions  – Some Tags require additional conditions. These conditions are places after a tag name and drive the content within the tag block.


Template Block  – A small section of the template that the tag affects


EndTag – Used alongside the Tag name to denote the end of a template block


Table of Contents

  case

  comment

  cycle

  for

  if

  raw

  unless


Important Note:

Users wishing to alter HTML structure should surround the tag syntax language with comments.



<!-- {% <Tag>[ <Conditions>] %} -->

<Template Block>

<!-- {% <EndTag> %} -->