Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How do I add variables in a Confluence template?

I want to add variables to my template so that the user will be prompted to enter values when creating a page from the template.


5 answers

Thanks just fat fingered the keyboard. Got it figured out

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 14, 2018

Thank you for letting me know, Andrew!

Take care,


4 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 15, 2018

Hi Bob,

You can add variables following this procedure:

In summary,

When you add variables to your template, they will act as form fields. When you create a page based on a template, you'll see a text entry box for each field. Enter data into each field, and it'll be added to the page.

You can add the same variable more than once in the same template, which is useful if you need the same information in more than one place on the page.

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)

Please read the entire article for the full set of instructions.

Let us know if you have any trouble!



Hmm I might be missing this but when I add a variable it just puts a ? mark on the screen. Is there any other way?

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Dec 13, 2018


Can you tell me what version of Confluence you are using when this happens?


How do I "reuse" an existig variable on the same template. Copy and paste and else?

Like # people like this

or how do I define gloabl placeholders for several templates/bluepringts

Is there any way to define areas of dates... like a week from Monday to Friday defined by one selscted date or the creation date or is there a list of the possibilities?

Is there a way to have a pagetree where the mother page shows the content of the newest or upcoming time area? Like a mother page that shows in a 4 tables the entries of that table of the 4 subpages? 

Have you tried solving this with a page property macro? You add a table on your page and have another page with the page properties Report macro showing all the attributes in a table.

I did it with ConfiForms and several ITTTF Fields that calculated the date of the next and the next next day to insert those values in the table header.

I wonder how the standard templates manage, that there is the name of the author. Is there any way, that I can achieve this in my own template?

Template Placeholder should be working

No problem and thanks I appreciat the help

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events