Template Variables: Difference between revisions
Jump to navigation
Jump to search
| Line 1,735: | Line 1,735: | ||
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 | ||
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] | ||
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. | ||
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. | ||