This page last changed on Jan 22, 2008 by smaddox.

You can create a template which allows you to create an editable form. The form is displayed when a user creates a page, so that the user can enter page content.

For example:

  • 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 types of templates:

Global templates can only be created by site administrators, and space templates by space administrators.

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

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. In the future, templates will be expanded to do more interesting things such as remaining part of the page, having more complex (and even dynamic) fields, being able to search Confluence based on the value of particular fields, and so on.

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

Take me back to Confluence User Guide

Document generated by Confluence on Apr 10, 2008 20:55