5.3.30. If Search
Purpose:
Depending on the given condition, it runs the first or second list of instructions. It may be used anywhere in the template.
Syntax:
If [not] Search <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Search]
where
<condition> = ok | error | action
ok: the if condition is true if search action was taken and its result is success
error: the if condition is true if search action was taken and its result is error
action: the if condition is true if search action was taken
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.30. If Search
There are no user contributed notes for this page.