• Products
  • Documentation
  • Resources

Create a template

As a space admin, you can create your own, custom page templates in Confluence Cloud. To learn about creating global page templates, see Create a global template.

To create a template:

  1. Go to the space where you want the template to appear.

  2. Select Space settings > Content tools.

  3. Select Create new template.

Help people discover custom templates by adding a description that will appear in the template gallery. To add or edit a template’s description, go to to Space Settings > Content Tools and select the pencil icon.

Using the template editor

Editing a template is a lot like editing a page – there are only a few small differences. Currently, there’s no way to add images or attachments in templates. However, you can include variables, placeholder text, and labels. These features help people using these templates create rich and dynamic pages quickly.

Variables

When someone creates a page from a template with variables, they’ll fill out a form with text fields or lists for each variable in the template. The information they provide will be added to the page automatically.

To add a variable to a template, type /variable while editing a template. Use the same name and type as another variable in the same template to reuse it. It is only possible to add variables to custom templates.

Placeholder text

Use placeholder text to add instructions or sample text to pages created from a template. Placeholder text will only appear when a page is being edited – it’s invisible to anyone who’s viewing the published version.

To add placeholder text to a template you're editing, type /placeholder, hit enter, then type in the placeholder text you'd like to display and hit enter again. Once you hit enter, you will not be able to edit placeholder text.

Labels

Add a label to a template to apply it to every page created from that template. This is helpful if you want to create a Create a custom reportto keep track of similar pages.

To add a label to a template, select Add labels from the ••• menu in the top right while editing a template.

 

Last modified on Mar 25, 2021
Cached at 12:43 AM on Apr 17, 2021 |

Additional Help

Ask the Community