Confluence 4.0 has reached end of life
Check out the [latest version] of the documentation
- Use XHTML in the macro template.
- 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.Note that this will prevent your macro appearing in the macro browser.
Overview
Content Tools
Apps
