To use placeholders in macros we recommend that you install the Confluence Source Editor to be able to make changes to the XHTML.
Macros with parameter validation
There are macros such as the Jira macro, for example, where parameters are validated. In this case you may not be able to save parameters with placeholder contents.
If this happens, add the macro to the page and edit the macro configuration contents using the source editor. Here you can enter the placeholders in the parameters.
Placeholders in macro parameters may not be entered directly, because additional HTML elements are not supported within the parameters. For this reason, information about the parameter and placeholders used are stored outside the macro when the initial placeholders are entered.
To be able to assign this information to a macro, a macro ID is used for identification. However, some macros change their macro ID each time you edit the page. In this case, an additional parameter called "templateId" must be added to the macro. The template ID must be unique on a page. You can use the current macro ID as the template ID or enter your own.
The resulting generated Confluence page will look as follows.
Macros with links as parameters
Some macros such as the Include Page macro use links to Confluence pages as parameters. Placeholders can also be used here, for example, to include generated pages. If you edit the parameters using the source editor, format the content with a Confluence link tag (see Confluence Storage Format).