Create from Template Macro

Add the Create from Template macro to a page to provide a way to create pages in a specific location, using a particular template.

When someone clicks the button, the macro opens the editor, loads the template or blueprint, and is ready to use. When saved, the page will be a child of the page containing the macro. 

This macro is great for:

  • project pages
  • documentation
  • recurring processes.

On this page:

Screenshot: Page showing the Create from template button, used to create DACI decision pages. 


Add this macro to your page

To add the Create from Template macro to a page:

  1. From the editor toolbar, choose Insert > Other Macros.
  2. Choose Create from Template from the Confluence content category.
  3. Select a template.
  4. Choose Insert

You can then publish your page to see the macro in action. 

Screenshot: Configuring the macro to have custom button text, and a default page title which includes the current date. 

Change the macro parameters

Macro parameters are used to change the behaviour of a macro.

To change the macro parameters:

  1. In the editor, click the macro placeholder and choose Edit.
  2. Update the parameters as required then choose Insert.

Here's a list of the parameters available in this macro. 

Parameter

Required

Default

Description

Button Text
'Create from Template'The description that people will see when viewing this macro on the page.
Template Name
NoneSelect the template or blueprint to base the new page on. Only global and user-created templates for the current space appear (unless you have specified a different space in the 'Space Key' field).

Template Title


Blank

Specify a default title for pages created using this macro (optional). You can include @currentDate, @spaceName and @spaceKey variables in the title.

Some blueprints, such as the Decision blueprint, will override your custom title.

Space Key
The space where the current page is locatedSupply the unique space identifier (space key), to determine where the new page will be created when someone uses this macro to create a page.

Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

Other ways to add this macro

Add this macro as you type

Type followed by the start of the macro name, to see a list of macros. 

Add this macro using wiki markup

You can't use wiki markup to add this macro.


Last modified on Feb 21, 2023

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.