Campsite 2.3 User Guide

Campsite 2.3 User Guide

Select your language:  
    Search:   
<5.3.31. If Subtitle        5.3.33. URL, Form>

Print / Download:
Available languages: english Last update: 2005-08-04 13:24:11

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>

  • name: the condition is true if topic name is in <string_operator> relation with <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 add a note User Contributed Notes
5.3.32. If Topic
There are no user contributed notes for this page.

<5.3.31. If Subtitle 5.3.33. URL, Form>

  Last update: 2005-08-04 13:24:11
Website powered by Docmint Last update: 2005-08-04 13:24:11
Total page time: 1.06662607193