5.3.20. If Section
Purpose:
Depending on the given condition, it runs the first
or second list of instructions. It may be used anywhere in the
template. It is used when printing information for a certain section.
Syntax:
If [not] Section <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Section]
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).
number: the if condition is true if runtime section number is in <integer_operator> relation with <integer_value>
name: the if condition is true if runtime section name is in <string_operator> relation with <string_value>
defined: the if condition is true if section parameter is defined
fromstart: the if condition is true if actual value of section parameter is equal with the value from template start
Constraints:
None.
add a note
User Contributed Notes
5.3.20. If Section
There are no user contributed notes for this page.