A template is a predefined page that can be used as a prototype when creating new pages. Templates are useful for giving pages a common style or format. This page is about changing an existing template.
Note:
Page templates are used only when adding a page. It is not possible to apply a template to an already-existing page. Once a page has been added using a template, the template is no longer linked to the page. All further editing is performed as if the template was never used. Some plugins provide enhanced template functionality. You can search the
Atlassian Marketplace for template add-ons.
In Confluence, there are two places to store your page templates:
- Space templates: These page templates are available in a specific space only. People who have space administrator permission can define templates via the space administration screen.
- Global templates: These page templates are available in every space on the site. People who have Confluence Administrator permission can define the global templates via the Confluence Administration Console.
Confluence also provides 'system templates' containing content like the site welcome message and default space content. See Administering Site Templates.
To edit a space template:
- Go to the space and choose Space tools > Content Tools on the sidebar.
- A list of templates for the space displays. Choose Edit next to the template that you want to modify.
- Make changes, or add new content, as you would when adding a template.
- Choose Save.
If your space uses the Documentation theme:
- Choose Browse > Space Admin at the top of the screen.Note: The 'Space Admin' option appears only if you have space admin permissions for the space or you have System Administrator global permissions.
- Choose Templates from space administration options.
- A list of templates for the space displays. Choose Edit next to the template that you want to modify.
- Make changes, or add new content, as you would when adding a template.
- Choose Save.
To edit a global template:
- Choose the cog icon , then choose General Configuration under Confluence Administration.
- Choose Global Templates and Blueprints in the left-hand navigation panel.
- A list of templates for the Confluence site displays. Choose Edit next to the template that you want to modify.
- Make changes, or add new content, as you would when adding a template.
- Choose Save.
For more information on editing the content of a template, including adding macros, variables and instructional text see - Adding Content to a Template.