- If you choose an output format of 'Wiki Markup', you should write the template using Confluence wiki markup.
- If you choose an output format of 'HTML', you should write the template using HTML.
- You can also 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'.
- Use
@param to define parameters for your macro.
- When using the information passed via parameters, refer to your parameters as
$paramXXX where 'XXX' is the parameter name that you specify in @param.
- Use
@noparams if your macro does not accept parameters.