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

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 Nov 05, 2009 23:36