ThemeBuilder for Confluence Server and DC

Panel Contentwrapper

This macro implements the default theme content wrappers. It is meant to be used in ThemeBuilder panels and will not work if added in the Confluence editor.

In ThemeBuilder ROOT skin the contentwrapper is in the 'content' panel.

Usage

Storage Format

<ac:macro ac:name="panel-contentwrapper">
<ac:rich-text-body>
<-- content here -->
</ac:rich-text-body>
</ac:macro
panel wrap 01

Parameter

Name

Description

Type

Default

Required

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

Example

The 'panel-contentwrapper' macro is used in the ROOT skin 'content' panel to define the area that holds the editable page content, shown here by the area marked in red.

panel wrap 02

HTML

In a standard Confluence page this will produce this code and the additional panel content adds all the content between.

<div class="page view" id="content">
<!  everything in here -->
</div>