Confluence 2.5 has reached end of life
Check out the [latest version] of the documentation
Example Usage
A variable in velocity looks like this:
$foo
To set a variable:
#set ($message = "Hello")
A basic if statement:
#if ($message == "Hello") Message received and is "Hello" #end
A velocity variable which evaluates to null will simply render as the variable name. See the Velocity User's Guide
Related Content
-
Customizing Site and Space Layouts (Confluence Data Center 10.0)
-
Working With Decorator Macros (Confluence Data Center 10.0)
-
-
-
-
-
-
-
-
-
-
-
-
-
Overview
Content Tools
Apps
