[TPL include='header.inc'] [TPL IF this = 'now'] time is now [TPL ELSIF this = 'then'] then [TPL ENDIF]


[TPL IF hour < '12'] Good Morning [TPL ELSIF hour >= '18'] Good Evening [TPL ELSE] Good Afternoon [TPL ENDIF]
It is now: [TPL variable='time']

[TPL LOOP name='countries'] [TPL LOOP END]
name [sort] population [ASC | DESC] currency [sort] capital [sort] area [sort] languages
[TPL array='name'] [TPL array='population'] [TPL array='currency'] [TPL array='capital'] [TPL array='area'] Km2 [TPL LOOP IF area > '700000']
(Huge!) [TPL LOOP ELSIF area > '300000']
(medium) [TPL LOOP ELSE]
Normal [TPL LOOP ENDIF]
[TPL LOOP name='languages'] [TPL array='name'], [TPL LOOP END]
[TPL OPTION name='outer'] outer option [TPL OPTION name='inner'] inner option [TPL OPTION END] [TPL OPTION END]