Changes

Jump to navigation Jump to search

Template Variables

2 bytes added, 11:25, 2 November 2020
5. [<span style="color: #019cde">IF>=:[NUMADULT]:2</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|no</span>]
6. [<span style="color: #019cde"[IF>IFBETWEEN:[NUMADULTGUESTID1]:10:[BOOKINGINFOCODETEXT:3REPEATGUEST]|]"</span><span style="color: #75d5ad">:yes[BOOKINGINFOCODETEXT:REPEATGUEST] </span><span style="color: #fe746c">|too low|too high</span>]
If the Booking Info Code REPEATGUEST has been added to the booking then you will see the value in the text (date/time) otherwise blank.  7. [<span style="color: #019cde">IFBETWEEN:[NUMADULT]:1:3</span><span style="color: #75d5ad">:yes</span><span style="color: #fe746c">|too low|too high</span>] 8. [<span style="color: #019cde">IFLIKE:[GUESTTITLE]</span><span style="color: #75d5ad">:Mr:Dear|Hi</span>]
IFLIKE works like IF= except it is case insensitive and removes any spaces from the start and end of the words
89. [<span style="color: #019cde">IFIN:John:[GUESTFIRSTNAME]</span><span style="color: #75d5ad">:Hi John</span><span style="color: #fe746c">|Your name does not contain John?</span>]
If the first word is contained in the second word the first option is displayed, otherwise the second option is displayed
910. [<span style="color: #019cde">IFIN:CHECKIN:[BOOKINGINFOITEMS]</span><span style="color: #75d5ad">:[BOOKINGINFOCODETEXT:CHECKIN]</span><span style="color: #fe746c">|</span>]
If the Booking Info Code CHECKIN has been added to the booking then you will see the value in the text (date/time) otherwise blank.
10. [<span style="color: #019cde"[IF>:[GUESTID1]:0:[BOOKINGINFOCODETEXT:REPEATGUEST]|]"</span><span style="color: #75d5ad">:[BOOKINGINFOCODETEXT:REPEATGUEST] </span><span style="color: #fe746c">|</span>]
If the Booking Info Code REPEATGUEST has been added to the booking then you will see the value in the text (date/time) otherwise blank.
[INWORDS] - writes out a number in words. This works in English only.
3,160

edits

Navigation menu