Is there a way to use a template multiple times in a page?


I'm quite new to Confluence and am evaluating this system for our company right now. Now I can't figure out how to do the following thing:

Is there a possibility to make a reusable template-like thing that I can use in a page? With templates I can only create a new page but can't use it as part of a page.

1 answer

This widget could not be displayed.


You're right that templates can only be used to create a new page, but a standard workaround to do what you're trying to do is the following:

1. Create a page at the root of the Space called "_includes" or similar
2. Create relevant pages underneath the "_includes" page, 1 for each snippet that you want to re-use
3. Populate these pages with the relevant content snippets
4. Use the {include} macro on your real pages to include the relevant snippet(s)

Does that make sense?


Thanks for the answer. But I'm afraid your solution is not what I want: If I had _includes\Snippet1 and include that snippet in two other pages then I can't edit the snippet there. I want something like a template where I can fill in missing text fields/images/whatever but each "derivative" of the template should be independent from the others.

Ah ok. Another approach would be to write a user macros for each template which would be independent wherever they were used though they would be more rigid than normal templates as you'd need to define the missing values as parameters to the macros.

Or go really low-tech and have a page with a library of snippets and copy and paste them in to the real pages when you need them?


Hey Andrew!

Thanks for you answers. After a few weeks of evaluation we ended at the "really low-tech" solution, it works fine for us.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

569 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you