As a space admin, you can create your own, custom page templates in Confluence. To learn about creating global page templates, see Create a global template.
To create a template:
- Go to the space where you want the template to appear.
- Choose Space settings > Content tools.
- Tap 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 click 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.
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.
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, type
/placeholder while editing a template.
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 page properties report to keep track of similar pages.
To add a label to a template, tap the tag icon next to the breadcrumb while editing a template.