5.3.28. If Language
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] Language <condition>
<list_of_instructions>
[Else [<list_of_instructions>]]
EndIf [Language]
where
defined: the if condition is true if language parameter is defined
fromstart: the if condition is true if actual value of language parameter is equal with the value from template start
number: the if condition is true if operation: number <integer_operator> <integer_value> is true
name, englname, code: the if condition is true if operation: name|englname|code <string_operator> <string_value> is true where englname is the English name of the language, name is the original language name
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.28. If Language
There are no user contributed notes for this page.