Template containing subpages

I would like to create a template page with 5-10 subpages. I then want to create a new set of those pages in an easy way. So if I have the following structure:
<Release Notes>

I want to create several "products" and just rename the product page. The other pages should be a copy of a template.

What is the best way to accomplish this ?

1 answer

1 accepted

1 vote
Accepted answer

One approach you might consider is a hierarchy of templates with a specified prefix. I just created this series of three templates: JournalMaster, JournalSubject and JournalEntry to create a journal organized by subject and then under each subject there are dated entries. You use this by starting with a page you create with the JournalMaster. That allows you to create the subjects and it automatically adds page prefixes. So on the subject pages you can an entries.

(1) JournalMaster

h2. {center}{color:blue}*Project Journal Master*{color}{center}

h2. Create New Journal Entry

{add-page:template=JournalSubject|parent=@self|prefix=%Journal Subject% }Click to add new journal subject{add-page}

Note, when you create the new subject, you will create a page and be prompted for the Subject title and the subject prefix. The latter should be a fairly short abbreviation which will make all the journal entry pages unique.

h2. Journal Subjects


(2) JournalSubject:

*Subject Prefix:* {text-data:Prefix}@Prefix@{text-data}

h2. Subject Description

*Description:* {text-data:Descr}@Description|textarea(5,35)@{text-data}

h2. Create New Journal Entry

{add-page:template=JournalEntry|parent=@self|prefix=%data:Prefix% Journal Entry %global:current date &gt; date:yyyy-MM-dd% }Click to add new journal entry{add-page}

h2. Journal Entries


(3) JournalEntry:

h2. {center}Journal Entry{center}

Write your entry here.

h2. Attachments

h2. Meetings Referenced

Add a meeting reference.

h2. List of recent meetings you may wish to reference
Copy and paste the name(s) from this list into referenced meetings above in the editor. {choose-label:labels=meetrefdone|descriptions=click here to remove this list}

  {local-reporter:value:label meeting &gt; label:content}
    {content-filter:scope="Home" &gt; descendents}
    {date-sort:content:creation date|order=descending}    
  {report-body}&gt; &amp;nbsp; {report-info:page:title}  {report-link:page:title|link=true}link{report-link}\\{report-body}


thanks will give it a try

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,032 views 51 8
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