This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.
Skip to end of metadata
Go to start of metadata

Example Usage

A variable in velocity looks like this:

To set a variable:

A basic if statement:

A velocity variable which evaluates to null will simply render as the variable name. See the Velocity User's Guide

Related Content

Page: Working With Decorator Macros (Confluence 3.4)
Labels: customising-looknfeel, velocity-related
Page: Basic Introduction to Velocity (Confluence 2.9)
Labels: velocity-related
Page: Confluence Objects Accessible From Velocity (Confluence 2.9)
Labels: velocity-related
Page: Confluence UI architecture (Confluence 2.8)
Labels: velocity-related
Page: Working With Decorator Macros (Confluence 2.7)
Labels: customising-looknfeel, velocity-related
Page: Customising Layouts (Confluence 2.7)
Labels: customising-looknfeel, velocity-related
Page: Disable Velocity Caching (Confluence 2.7)
Labels: velocity-related
Page: Confluence rendering pipeline (Confluence 2.6)
Labels: velocity-related
Page: Confluence Objects Accessible From Velocity (Confluence 2.6)
Labels: velocity-related
Page: Basic Introduction to Velocity (Confluence 2.6)
Labels: velocity-related
Page: Working With Decorator Macros (Confluence 2.5)
Labels: velocity-related, customising-looknfeel
Page: Customising Layouts (Confluence 2.5)
Labels: velocity-related, customising-looknfeel
Page: Confluence rendering pipeline (Confluence 2.5)
Labels: velocity-related
Page: Confluence Objects Accessible From Velocity (Confluence 2.5)
Labels: velocity-related
Page: Customising Layouts (Confluence 2.9)
Labels: customising-looknfeel, velocity-related
Showing first 15 of 72 results
Labels