Skip to end of metadata
Go to start of metadata

ThemeBuilder Macro - Panel Logo (Site Logo)

Used for displaying the site logo

Categories: confluence-content

Usage

Storage Format

<ac:macro ac:name="panel-logo">
   <ac:parameter ac:name="parameter">value</ac:parameter>
</ac:macro> 

Wiki Markup

 {panel-logo:parameter=value}

Parameter

Name

Description

Type

Default

Required

global

Global Logo

Force the display of the global logo

boolean

false

(tick)

atlassian

Atlassian Logo

Use the atlassian default logo

boolean

false

(tick)

class

CSS Class

The css classname to apply to the logo

string

 

(error)

tooltip

Tooltip

The tooltip to show on the logo

string

 

(error)

space

Space

Use another spaces logo

spacekey

 

(error)

flag

Flag

A list of flags, one of which must be defined for the content to be displayed

string

 

(error)

notflag

Not Flag

A list of flags which must not be defined for the content to be displayed

string

 

(error)

 

Basic Example

Add the site logo to the Header area.

<ac:macro ac:name="panel-logo" />
{panel-logo}

As seen in skin editor 'header' panel.

Result

The site logo is shown to the left of the header/left menu.

Advanced Example

Show the Atlassian Logo, even if the site logo is a custom one. Add a tooltip that activates on hover, with text 'Return to Dashboard'

<ac:macro ac:name="panel-logo">
   <ac:parameter ac:name="atlassian">true</ac:parameter>
   <ac:parameter ac:name="tooltip">Return to Dashboard</ac:parameter>
</ac:macro> 

Result