Is it possible to create "auto" variables in a (confluence) template? (in an out of the box solution- no 3rd party)

- which generate system information automatically when a page is created from the template? like "currentDate" (would result in the current date)? Thanks in advance!


1 answer

Hi Niklas,

With our Page Tree Creator Add-on you can create templates based on normal Confluence pages. The Add-ons supports the following "auto" variables:

Default TagDescription
__Current_Country__Place the current country
__Current_Date__Place the current date
__Current_Day__Place the current day within the month, e.g. 15
__Current_Month_Number__Place the current month as number, e.g. 8
__Current_Month_Text__Place the current month as string, e.g. April
__Current_Time__Place the current time
__Current_User__Place the current user
__Current_WeekDay__Place the current week day, e.g. Monday, Tuesday...
__Current_Year__Place the current year
__Template_Creator__Place the user, which created the template
__Template_last_modification_Date__Place the modification date of the template
__Template_last_Modifier__Place the user, which has most recently edited the template
__Template_Space__Place the space of the template
__Template_Title__Place the title of the template

Place the version of the template

Try our Live Examples (no registration needed) and see how it works.

Marketplace link: Page Tree Creator.


So an Add-on ist the only way? 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,228 views 79 8
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