The Panel Macro allows you to display a block of text within a customisable panel, like a text box. Here is an example:

My Title

A formatted panel.

Using the Panel Macro

To add the Panel macro to a page:

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

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

Default

Description

Panel Title

none

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

Border Style

solid

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

Border Colour

 

The colour of the panel's border.

Border Pixel Width (Value Only)

 

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

Background Colour

 

The background colour of the panel.

Title Background Colour

 

The background colour of the title row of the panel.

Title Text Colour

 

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

Colours can be specified HTML colour names or hexidecimal codes.

Notes

  • You can use panels within columns and table cells.

Related Topics

Working with Macros

Take me back to the Confluence User's Guide.

  • No labels

5 Comments

  1. Sergiy Lizenko

    From the example it's not clear how to create panel with rounded corners.

    Section Parameters does not explain how to create provided example - cannot see parameter values.

    1. Brian Meyer

      Sergiy, rounded corners are not supported by the macro. You would need to edit the css which corresponds to whatever class/ID the panel macro uses.

  2. Anonymous

    This is so unpleasant to use with the WYSIWYG editor.  I have to google HTML color codes or names.  So much fun.

    1. Anonymous

      I second the pain comment. PLEASE make table cells just bel able to have a background color and fully expose all the parts (or give us back to edit the WIKI directly). I HATE the forced GUI interface, I want WIKI back!

      1. Archer

        We recently switched from Mediawiki to Confluence, and I must say it would be great to have an option to switch between the GUI and Code.

        Then again, a lot of code seems to be missing from the documentation, or has never been implemented, such as cell merging using code.