This page last changed on Jul 01, 2009 by ggaskell.

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.

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
Working with Templates Overview
Adding a Template
Working with Pages Overview
Creating a Page using a Template
Editing a template
Removing a Template

Take me back to the Confluence User Guide.


pagefromtemplate.png (image/png)
pagetemplate.png (image/png)
pagetemplate.png (image/png)
Document generated by Confluence on Dec 10, 2009 18:45