Template Variables: Difference between revisions

Jump to navigation Jump to search
Lesley (talk | contribs)
Lesley (talk | contribs)
Line 1,737: Line 1,737:


There are special versions of each IF constructed with ^ and ~ separators like [IF=^this^this^same~different]
There are special versions of each IF constructed with ^ and ~ separators like [IF=^this^this^same~different]
<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span>Only one IF of each type can be used to create complex logic.


The special versions are processed first so should be used as the internal IF so it's result can be processed by the outer if.
The special versions are processed first so should be used as the internal IF so it's result can be processed by the outer if.
Line 1,742: Line 1,744:
The special versions can also be used if you expect : or | characters within your data.
The special versions can also be used if you expect : or | characters within your data.


<span style="color: #f3e504; font-size: 150%;" >{{#fas:lightbulb}} </span>Only one IF of each type can be used to create complex logic.
 


IF's are processed in the following order.
IF's are processed in the following order.