This page last changed on Sep 07, 2011 by pwatson.

The Panel Macro allows you to display a block of text within a customisable panel, like a text box.

On this page:

Usage with the Macro Browser

To insert the Panel macro into a page using the Macro Browser,

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Usage with the Wiki Markup Editor

What you need to type

What you will get

{panel}
A simple panel
{panel}

A simple panel

{panel:title=My Title|borderStyle=dashed|borderColor=blue|titleBGColor=#00a400|titleColor=white|bgColor=#72bc72}
A formatted panel
{panel}

My Title

A formatted panel

Parameters

When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.

Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.

Parameter

Required?

Default

Description

Panel Title
(title)

no

none

The title of the panel. If specified, this title will be displayed in its own title row.

Border Style
(borderStyle)

no

solid

The style of the panel's border. Accepted values are 'solid', 'dashed' and other valid CSS border styles.

Border Colour
(borderColor)

no

 

The colour of the panel's border.

Border Pixel Width (Value Only)
(borderWidth)

no

 

The width of the panel's border (in pixels).

Background Colour
(bgColor)

no

 

The background colour of the panel.

Title Background Colour
(titleBGColor)

no

 

The background colour of the title row of the panel.

Title Text Colour
(titleColor)

no

 

The colour of the text in the title row of the panel.

Notes

  • You can use panels within columns and table cells.

Related Topics

Working with Macros

Take me back to the Confluence User's Guide.

Document generated by Confluence on Sep 19, 2011 02:36