This page last changed on Apr 14, 2010 by smaddox.

A template is a pre-defined page that can be used as a prototype when creating new pages. Templates are useful for giving pages a common style or format.

Templates are written in regular Confluence markup, using special markup to define form fields that need to be filled in.

Confluence ships with a number of templates, including the 'Charts', 'Document List' and 'Meeting Notes' templates. These templates are not available for use by default. However, if you have the appropriate permissions to access the Administration Console, you can import any of these templates to be used globally or within a specific space.

Known issue importing templates from multiple template bundles
There is a known issue preventing templates from being imported when multiple template bundles are available. Please read this KB article for further information.
Where can I find more template bundles?
  • You can download template bundles from the Atlassian Plugin Exchange.
  • You can also build your own custom template bundles. These are built as plugins and deployed to your Confluence instance. You can then import the templates from your custom template bundle, as described on this page. Read Creating A Template Bundle for instructions. Please note, you will need some programming knowledge to develop a custom template bundle.
Quick guide to importing a template
  1. Go to the Confluence Administration Console and click 'Import Templates'.
  2. Select the templates that you want to import.
  3. Choose which space to import the templates to, or whether to import them as global templates.
  4. Click the 'Import' button.

Importing a template

To import templates,

  1. Log into Confluence as a System Administrator or Confluence Administrator.
  2. Go to the Confluence 'Administration Console'. To do this:

    • Open the 'Browse' menu and select 'Confluence Admin'. The 'Administrator Access' login screen will be displayed.
    • Enter your password and click 'Confirm'. You will be temporarily logged into a secure session to access the 'Administration Console'.
  3. Select 'Import Templates' in the left navigation panel. The 'Import Templates' screen will appear, listing the template packages deployed to your Confluence instance (e.g. 'Default Templates Package') and the templates included in each package.
  4. Select the templates to be imported by ticking the checkboxes next to the relevant template names.
    You can view a preview of the template by clicking the template name.
  5. Select the import destination for the templates in the 'Import To' dropdown. If you want the templates to only be available to a specific space, select the name of the space, otherwise select 'Global Templates' to make the templates available to all spaces.
  6. Click the 'Import' button to import the selected templates.

If a template with the same name already exists on import, a duplicate template of the same name will be created. You will need to check each template and rename manually.
Removing the plugin that contains a template will not remove it from your Confluence instance if you have already imported it. You will need to remove it manually from the global templates/space.

Screenshots: Importing and Previewing a Template (click to view full-size images)

Related Topics
Page: Global Templates
Page: Working with Templates Overview

Document generated by Confluence on Jul 09, 2010 01:09