The Adaptavist Group LogoDocumentation

Panel Element

This macro allows the display of the Confluence Elements in a panel. It is meant to be used in ThemeBuilder panels and will not work if added in the Confluence editor.

Storage Format

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

Wiki Markup

{panel-element:parameter=value}
ParameterNameDescriptionTypeDefaultRequired
elementElementThe element to insertenum
flagFlagA list of flags, one of which must be defined for the content to be displayedstring
notflagNot FlagA list of flags that must not be defined for the content to be displayedstring

List of confluence-elements

content-bodypage.globalmessages
page.actionerrorspage.breadcrumbs
page.profile-menupage.space-menu
page.space-view-controlspage.title-text-span
page.spacetools-navigationpage.spacetools-secondary-navigation
page.footerpage.tab-navigation
page.content-navigationpage.profile-navigation
page.ia-sidebarpage.blog-sidebar
page.infopanelpage.surtitle
page.labels-editorpage.metadata
page.commentspage.dashboard-welcome
page.dashboard-actionspage.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.

<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

Moving a confluence-element

Any Panel Element macro can be moved or deleted to customize your Confluence page. So if we take the Panel Element for Labels and move it below the Comments, their order on the page changes.

<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

Search documentation

Start typing to search the docs.