How can I define a variable once in a space template and refer to its contents later in the same pag

Apologies if this is extremely obvious and explained elsewhere.

I am creating a template for deployment instructions. I want to define a set of environmental variables once at the top of a page, and refer to the contents of these variables later in the page.

For example I want to define a version number variable once, and use its contents within the page at several places. This will be contained within pathnames etc.

Another variable would be the database name. Once defined this should be present in multiple places within the page created by the template.

Any pointers will be appreciated.

Thanks

 

Sean

1 answer

DOH!

I have answered my own question!

If I define a variable once at the top of my template, and refer to it in the same way throughout my template, pages created using this template correctly contain the referred values.

 

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
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

329 views 18 10
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