Confluence 5.1 has reached end of life
Check out the [latest version] of the documentation
The Create from Template macro displays a button on a page, linked to a specific template. When someone clicks the button, the macro opens the editor, ready to add a new page, and adds content to the page based on the given template.
When adding the macro to the page, you can specify a blueprint or a user-created template in the macro. You will also specify the name of the button displayed, and the space in which the new page will appear.
Example
Screenshot: A page with three buttons, all displayed by the 'Create from Template' macro
Using the Create from Template Macro
To add the Create from Template macro to a page:
Speeding up macro entry with autocomplete: To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Parameters
Parameters are options that you can set to control the content or format of the macro output.
Parameter | Default | Description |
---|---|---|
Space Key | The space where the current page is located | Supply the unique space identifier, to determine where the new page will be created when someone uses this macro to create a page. |
Template Name | None | A template or blueprint on which to base the new page. |
Button Text | 'Create from Template' | The description that people will seeing when viewing this macro on the page. |
Code examples
See:
- Confluence Storage Format for Macros
Wiki markup is not available for this macro. You cannot add this macro via wiki markup.