Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Need help creating template variables in new editor

I am creating a new template and want to insert variables. But, I don't see Template > New Variable as listed in the instructions. Is it because I'm in a different editor? 

 

To insert a variable into a template:

  1. Choose Template > New Variable from the editor toolbar (or choose an existing variable to add it to the page)
  2. Enter a name for the variable
  3. Press Enter (by default this will create a single-line text input field)

To change the variable type, click the variable placeholder and the variable's property panel will appear. Choose one of the variable types: TextMulti-line Text, or List.

You can change the number of lines and width in characters of a Multi-line Text field. If you choose List, enter each of the items in your list, separated by commas.

 

Hint: Type $ and the variable name, then press Enter to add a new variable or to select an existing variable from a list of suggestions. The suggestions dialog shows variables already defined in this template.

1 comment

Looks like the editor has changed. You can insert it by either typing forward slash or selecting the 'insert' menu.

As far as reusing it, I've been successful with copy/pasting or inserting a second variable with the same name. But it doesn't seem like $ works to call on them anymore. Which sucks because that means you can use the variables in macros. Unless there is some other way now.

image.png

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

987 views 7 42
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you