Velocity enables you to use a number of variables and call methods on specific objects. When writing PocketQuery templates, the following variables and objects are available:
All Confluence objects accessible from Velocity
All variables given by the Velocity NumberTool
A number of additional object specific to PocketQuery
A complete list can be found in the PocketQuery Documentation for Templates.