ThemeBuilder for Confluence Server and DC

Panel Element

This macro allows the display of the Confluence content 'confluence-elements' in a builder panel. It is mean to be used in ThemeBuilder panels and will not work if added in the Confluence editor.

Usage

Storage Format

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

Wiki Markup

{panel-element:parameter=value}

Parameter

Name

Description

Type

Default

Required

element

Element

The element to insert

enum

check

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

List of confluence-elements

content-body

page.globalmessages

page.actionerrors

page.breadcrumbs

page.profile-menu

page.space-menu

page.space-view-controls

page.title-text-span

page.spacetools-navigation

page.spacetools-secondary-navigation

page.footer

page.tab-navigation

page.content-navigation

page.profile-navigation

page.ia-sidebar

page.blog-sidebar

page.infopanel

page.surtitle

page.labels-editor

page.metadata

page.comments

page.dashboard-welcome

page.dashboard-actions

page.dashboard-panels

Example

The code that adds the Confluence Labels and Comments to the bottom of the page is in the ROOT skin Content panel.

panel ele 01
<ac:macro ac:name="panel-element">
<ac:parameter ac:name="element">page.labels-editor</ac:parameter>
</ac:macro>
<ac:macro ac:name="panel-element">
<ac:parameter ac:name="element">page.comments</ac:parameter>
</ac:macro>

Result

panel ele 02

Moving a confluence-element

Any panel-element macro can be moved or deleted to customise your Confluence page. So if we took the panel-element for Labels and moved it below the Comments their order on the page is changed.

<ac:macro ac:name="panel-element">
<ac:parameter ac:name="element">page.comments</ac:parameter>
</ac:macro>
<ac:macro ac:name="panel-element">
<ac:parameter ac:name="element">page.labels-editor</ac:parameter>
</ac:macro>

Result

panel ele 03