Confluence 5.0 has reached end of life
Check out the [latest version] of the documentation
- Use HTML and Confluence-specific XML elements in the macro template. Details of Confluence's storage format are in Confluence Storage Format.
- You can use the Velocity templating language. Here is more information on the Velocity project.
- If your macro has a body, your template can refer to the macro body text by specifying '
$body'. - Each parameter variable you use must have a matching metadata definition. Use
@paramto define metadata for your macro parameters. - When using the information passed using parameters, refer to your parameters as $paramXXX where 'XXX' is the parameter name that you specifed in the
@parammetadata definition. - Use
@noparamsif your macro does not accept parameters.
Overview
Content Tools
Apps
