Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use of template variables within add-page macros

Kevin Buchs
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 13, 2011

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

0 votes
Daniel Brice
Contributor
July 25, 2013

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events