[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

This macro

Excerpt

returns either the name of the currently displayed space or the site title

if the macro is being run from within a global page. Additionaly the site title may be displayed from within a space level by setting the sitetitle parameter to true.

Usage

Code Block

{builder-spacetitle}

Parameters

Property

Required

Default

Notes

sitetitle

(error)

false

when set to true the macro always returns the site title whether viewed from a space level page or not

Examples

Basic Use

unmigrated-wiki-markup

 

Simply

add

the

macro

to

any

panel

in

theme

configuration

to

display

the

space

title

in

that

panel:

{
Code Block
}
{builder-spacetitle}
{code}

Which gives: {builder-spacetitle}

 

Always display the site title

unmigrated-wiki-markup

 

If

you

want

to

display

the

site

title,

even

at

space

level,

use

the

following

notation:

{
Code Block
}
{builder-spacetitle:sitetitle=true}
{code}

Which gives: {builder-spacetitle:sitetitle=true}

 

CSS Customisation

Not applicable to this macro.

...