Text variables: dynamic content
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. | 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. | Â |
$refinedThemeVersion | Displays the Refined version. | Â |
Â