This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
updates:mvt-messages-we-have-introduced-conditional-tags [2017/01/04 12:54] rafal created |
updates:mvt-messages-we-have-introduced-conditional-tags [2017/01/04 13:29] rafal |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Conditional Tags in MVT Messages templates ===== | ===== Conditional Tags in MVT Messages templates ===== | ||
+ | |||
+ | [{{ : | ||
+ | **Conditional tags** allow you to include or exclude empty fields from the MVT Message. | ||
+ | |||
+ | To create such condition you need to use '#' | ||
+ | |||
+ | **{{# | ||
+ | |||
+ | where **{{# | ||
+ | |||
+ | In the above case, if the Flight Watch does not include PAX number, or PAX number is 0, this information will not be included in MVT Message. If it is 1 and more, The above sentence will be included in the message. | ||
+ | |||
+ | It is also important to close one condition before opening another. Errors in the template will be highlighted orange in the template and ' | ||
+ | |||
+ |