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

This widget could not be displayed.

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
Community showcase
Posted Sep 17, 2018 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...

599 views 8 6
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