Is there a way to specify variables as macro parameters in Confluence 5 templates

In Confluence 4 I had a number of very useful templates that passed variables to macro parameters. For example a trivial example of a template like this is:

Specify Page Name to Include: @PAGE@
{excerpt-include:@PAGE@}

However in confluence 5 with the new rich text template editor, I can not see how I can do the same. I've tried entering $PAGE or @PAGE@ as a parameter, and but that is ignored. I've tried using the source editor add on - but that does not seem to work with templates.

This feature is very useful to me - is there any way to do it in Confluence 5?

3 answers

Duplicate is gone... 404 page

This widget could not be displayed.

Bob's question did speak to this, but also wiki markup.

To speak specificly to Daniels question, yes you can still insert variables in confluence 5, just use the "$ variables" drop down, or start typing $blah. below is the docs for conf 5 and an example i tried to validate.

https://confluence.atlassian.com/display/DOC/Adding+a+Template

The key words in the question are: as macro parameters

Yeah, sorry, ten minutes after walkign away I realized what you both meant. I figured my answer was too obvious!

This widget could not be displayed.

Yes it is a duplicate, I'll vote on your question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday 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...

163 views 2 4
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