Changes

Jump to navigation Jump to search

Template Variables

137 bytes removed, 13:00, 20 August 2020
== Smart Template Variables ==
IF: style template variables will compare two values and display a text if the comparison is true and an alternative text if the comparison is false.
Colons : are used between the two comparison values and the first text, a pipe | is used between the two texts.
Empty text is allowed if you do not want to display anything for a condition.
You can use IF: variables inside other IF: variables to create complex logic but the internal IF: must be processed before the external IF:
They are processed in the following order from left to right so choose an internal one that is different and processed before the external one.
i.e. all the [IF=: will be processed first, then all the [IFIN: etc.
[IFBETWEEN:
The last element is the text to show based on the result of the IF comparison, texts for the true and false case are separated by a pipe |
Template variables can be used inside this template variable as per the examples.

Navigation menu