Reference – Language
Loops
Reference for loops and branches in WEBSALE templates: combine if, elseif, else and foreach to react to conditions and iterate over lists.
With control structures, you can make the output depend on certain conditions. A distinction is made between branches with if or switch and the foreach loop.
The following HTML source code is generated:
Iterating with a foreach loop is possible with strings, lists, and maps.
