Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Use text variables to make the content of your site homes, category homes and space layouts dynamic – for example to personally welcome a user to your intranet.

Text variables only work in modules and macros developed by Refined.

Text variables

Variable

Description

Introduced in version

$username

The logged-in user’s username.

6.0

$userfullname

The logged-in user’s full name.

6.0

$userfirstname

The logged-in user’s first name.
Note: this does not work for names formatted as "lastname, firstname."

6.0

$sitename

The site’s name.

6.0

$siteid

The site’s ID.

6.0

$categoryname

The category’s name.

6.0

$categorykey

The category’s key

6.0

$spacename

The Confluence space’s name.

6.0

$spacekey

The Confluence space’s key.

6.0

$pagename

The page’s name (title).

6.0

$pageid

The page’s ID.

6.0

$query

The search entered by the end user (applicable for search modules and macros).

6.1

$nodeid

The node ID (applicable if Data Center clustering is in use).

7.0.6

$confluenceVersion

Displays the Confluence version.
This text variable only works in the site’s footer.

$refinedThemeVersion

Displays the Refined version.
This text variable only works in the site’s footer.

  • No labels