Panel Import
This macro imports the named panel into another panel. Use it to create the nested page framework. The macro is meant to 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 | ||
flag | Flag | A list of flags, one of which must be defined for the content to be displayed | string | ||
notflag | Not Flag | A list of flags that must not be defined for the content to be displayed | string |
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:
Result
The Content panel is shown in the page area with the red border: