ThemeBuilder for Confluence Server and DC

Panel Import

This macro imports the named panel into another panel to create the nested page framework. The macro is meant be used in ThemeBuilder panels; it will not work if added in the Confluence editor.

Usage

Storage Format

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

Wiki Markup

{panel-import:parameter=value}
Parameter Name Description Type Default Required

panel

Panel

The panel to include

string

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

Example

To import the contents of the 'content' panel into the 'with-sidebar' panel.

<ac:macro ac:name="panel-import">
<ac:parameter ac:name="panel">content</ac:parameter>
</ac:macro>

Code as seen in 'with-sidebar' panel:

pan import 01

Result

The 'content' panel is shown in the page - area with red border:

pan import 02