Use of template variables within add-page macros

I am not sure if it is possible to get template variables to properly expand in the markup of an add-page macro, but this is what I would like to do. My attempt is below. It does not expand the second or third macros (i.e. the user is not prompted for them when using this template for a new page; only @Subject@ is working.

{center}{color:blue}*Project @Subject@ Journal Page*{color}{center}

----

h2. Subject Description

{color:gray}Enter description{color}

h2. Create New Journal Entry

{add-page:template=Meeting-Instance-CommonInclude|parent=@self|prefix=

@Prefix@ Journal Entry %page:title% }Click to add new journal entry{add-page}

{add-page:template=Meeting-Instance-CommonInclude|parent=@self|prefix=

@Prefix2|textarea(1,10)@

Journal Entry %page:title% }Click to add new journal entry{add-page}

h2. Journal Entries

{children:depth=1}

1 answer

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published yesterday in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

109 views 2 4
Read article

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