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
__Template_Version__

Place the version of the template

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

Marketplace link: Page Tree Creator.

Regards,
Stephan

So an Add-on ist the only way? 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

755 views 23 12
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