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. Unable to render {include} The included page could not be found.
  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

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

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.

Error rendering macro 'excerpt-include'

User 'null' does not have permission to view the page.

Other ways to add this macro

Add this macro as you type

Unable to render {include} The included page could not be found.

Add this macro using wiki markup

Unable to render {include} The included page could not be found.


Last modified on May 1, 2020

Was this helpful?

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