• Products
  • Documentation
  • Resources

Insert the panel macro

This macro was intentionally excluded from the new editor and will be deprecated from the legacy editor soon. Read the announcement for more. 

Use the Panel macro

To add the Panel macro:

  1. When editing , select from the toolbar

  2. Find the item to be inserted and select it

  3. Select Insert

You can also type / on the page to bring up the same list you'd see by selecting from the toolbar.

To edit the Panel macro:

  1. Select the macro placeholder. The floating toolbar appears.

  2. Select Edit. The right panel opens.

  3. Modify the parameters. Your changes are saved as you go.

  4. Resume editing the page, and the panel closes.

Parameters

Parameters are options that you can set to control the content or format of the macro output. 

If the parameter name used in Confluence Cloud storage format or wikimarkup is different than the label used when inserting macros using the browser or the slash command, it will be listed below in brackets (example).

Parameter

Default

Description

Panel Title
(title

none

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

Border Style
(borderStyle

solid

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

Border Color
(borderColor

 

The color of the panel's border. Colors can be specified as HTML color names or hexadecimal codes.

Border Pixel Width (Value Only)
(borderWidth

 

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

Background Color
(bgColor

 

The background color of the panel. Colors can be specified as HTML color names or hexadecimal codes.

Title Background Color
(titleBGColor

 

The background color of the title row of the panel. Colors can be specified as HTML color names or hexadecimal codes.

Title Text Color
(titleColor

 

The color of the text in the title row of the panel. Colors can be specified as HTML color names or hexadecimal codes.

Wiki markup example

Wiki markup is useful when you need to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Macro name: panel

Macro body: Accepts rich text.

1 2 3 4 5 6 {panel:title=My title|borderStyle=dashed|borderColor=blue|titleBGColor=#00a400|titleColor=white|bgColor=#72bc72} A formatted panel {panel}

 

Additional Help