User Tools

Site Tools


updates:mvt-messages-we-have-introduced-conditional-tags

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
updates:mvt-messages-we-have-introduced-conditional-tags [2017/01/04 13:29]
rafal
updates:mvt-messages-we-have-introduced-conditional-tags [2017/01/04 15:59]
bartek
Line 1: Line 1:
-===== Conditional Tags in MVT Messages templates =====+===== Conditional tags in MVT Messages templates =====
  
-[{{ :leon:settings:Conditional tags.png?300|Example of Content error when creating conditional MVT Message}}]+[{{ :leon:settings:Conditional tags.png?200|Example of Content error when creating conditional MVT Message}}]
 **Conditional tags** allow you to include or exclude empty fields from the MVT Message. **Conditional tags** allow you to include or exclude empty fields from the MVT Message.
  
 To create such condition you need to use '#' to open the sentence and '/' to close it, for example: To create such condition you need to use '#' to open the sentence and '/' to close it, for example:
  
-**{{#PAX}}** Passenger number on the flight is {{PAX}} **{{/PAX}}**,+**{////{#PAX}}** Passenger number on the flight is {////{PAX}} **{////{/PAX}}**,
  
-where **{{#PAX}}** is opening the condition and **{{/PAX}}** is closing it.+where **{////{#PAX}}** is opening the condition and **{////{/PAX}}** is closing it.
  
 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. 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.
updates/mvt-messages-we-have-introduced-conditional-tags.txt · Last modified: 2017/01/12 08:48 by bartek