This page last changed on Mar 23, 2010 by alui.

Whenever you add a new page you do not have to prepare it from scratch. Instead, you can base your new page on a template, which is essentially a page with pre-populated content.

Templates may be written in regular Confluence markup, or using special markup if you wish to define form fields to be filled in.

Some examples:

  • A software development project may have a template for use-cases.
  • A systems administration space may have a template for defining what information is kept about each server.

In Confluence, there are two places to store your templates:

Global templates can only be created by site administrators, and space templates by space administrators. Site administrators can also import templates from template bundles.

Here is an example:

Note
Currently, templates can only be used to create a page. Once a page is created, the template is gone and all further editing is performed as if the template was never used. Some plugins provide expanded functionality for strictly templated content. See below for more information.

Important Plugins For Templates

Two popular plugins that expand on template behaviour are the Zones Plugin and Scaffolding Plugin. Below is a comparision:

Field Default Zones Plugin Scaffolding Plugin
Description Basic Flexible Powerful
Saves page version history
Allows return to form version
Suitable for dynamic data
Has a library of examples
RELATED TOPICS
Page: Editing a template
Page: Global Templates
Page: Adding a Template
Page: Working with Templates Overview
Page: Removing a Template
Page: Creating a Page using a Template
Page: Working with Pages Overview

Take me back to the Confluence User's Guide.


pagefromtemplate.png (image/png)
pagetemplate.png (image/png)
pagetemplate.png (image/png)
Document generated by Confluence on Jul 09, 2010 01:08