Prev |  | Next

### 1.4.4. Statements

The template language has a number of statements that can be used for executing templating actions and decisions.

- Display a variable
- In line comments
- DEFINE
- VAR
- IF .. ELSEIF .. ELSE ..
- LOOP
- INCLUDE
- HOOK

#### 1.4.4.1. Display a variable

Function

  This is both the most simple and the most important template statement there is. Using this statement, you can display the contents of a value.

Syntax

  `{<VALUE>}`

Example code

  Example 1.13. Display a variable

      The name of the current forum is: {NAME}

Prev | Up | Next
| Home |