5.3.32. If Topic
Purpose:
Depending on the given condition, it runs the first (for true) or second (for false) list of instructions. It may be used anywhere in the template.
Syntax:
If [not] Topic <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Topic]
where
<condition>= | name <string_operator> <string_value> |
The list of instructions may contain any instruction allowed in the current context. If it is used inside a list it must respect the constraints of the list (List Issue, List Section, List Article, List Subtitle, List SearchResult).
Constraints:
None.
add a note
User Contributed Notes
5.3.32. If Topic
There are no user contributed notes for this page.