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}
I think this is a duplicate of: How do you add template variables as macro parameters or in plain text macro bodies?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.