Template Variables: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 1,491: Line 1,491:


You can use IF variables inside other IF variables to create complex logic but the internal IF: must be processed before the external IF
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.
There are special versions of each IF constructed with double :: and || separators like [IF=::this::this::same||different]
i.e. all the [IF=: will be processed first, then all the [IFIN: etc.  
All the double separator IF's are processed first so should be used as the internal IF wherever required.


IF's are processed in the following order.
i.e. all the [IF=:: will be processed first, then all the [IFIN:: etc.
[IF=::
[IFIN::
[IFLIKE::
[IF>::
[IF>=::
[IF<::
[IF<=::
[IFBETWEEN::
[IF=:
[IF=:
[IFIN:
[IFIN: