{if:variable}
Opis
creates an if statement, with the argument as a variable or method. You must close an if statement with an {end:} statement, and you may use {else:} with it.
Przykład
Przykład 43-1. Setting variables for if
|
Przykład 43-2. The template
|
Przykład 43-3. Compiled template
|
Przykład 43-4. The output
|
| Poprzedni | Spis treści | Następny |
| {foreach:variable,key,value} | Początek rozdziału | {end:} |