Overview:
The {panel} macro (one of the standard Confluence macros) creates a customisable panel that allows you to add a title, border and background colour to blocks of content...
The {panel} macro allows you to wrap content in a customised panel with configurable borders, title bar and background colour.
Usage:
The panel is used as follows:
{panel:title=title|borderStyle=style|borderColor=color|borderWidth=width|titleBGColor=color|
bgColor=color}Your Content{panel}
Parameters:
| Parameter | Required | Notes |
|---|---|---|
| title | If specified, a title bar will be added to the top of the panel and your title will be shown in bold text within it. | |
| borderStyle | The border style for the panel, defaulting to dashed The following border styles are supported by most browsers: Note: Some browsers may not support all of these border styles. |
|
| borderColor | Defines the colour of the border (if shown) and can be either a common colour name (supported by most browsers) or a hexadecimal colour code (supported by all browsers). | |
| borderWidth | Defines the width of the border, if shown, in pixels (default 1px). | |
| titleColor | only available from Confluence 3.5 | |
| titleBGColor | Defines the background colour of the title bar (if shown) and can be either a common colour name (supported by most browsers) or a hexadecimal colour code (supported by all browsers). | |
| bgColor | Defines the background colour of the panel and can be either a common colour name (supported by most browsers) or a hexadecimal colour code (supported by all browsers). |
Examples
Hints and Tips
When changing background colour, please try and keep a contrast between the text and the background so that it is still clearly readable. If required, use the color macro to change the text colour to make it more readable.
Frequently Asked Questions
.png)









Comments (6)
Dec 05, 2006
Anonymous says:
Is there any way to color the title text in the title bar of the panel. In Examp...Is there any way to color the title text in the title bar of the panel. In Example 6 that would be 'Adaptivist Logo'. If I use a tag before the
part, it seperates the panel pretty bad. Thoughts?Jul 18, 2008
michael.roytman@bcbsa.com says:
Has anybody found a way how to control the title text properites, such as color,...Has anybody found a way how to control the title text properites, such as color, font and size?
Thanks much!
Michael
Jan 07, 2007
Anonymous says:
Is there a way to control the area of the panel? I would like to put only a squ...Is there a way to control the area of the panel? I would like to put only a square on the right top edge with some info, like a small how to for the page. A panel, however spans all the frame.
.
Thanks for any help
Jan 14, 2008
john futcher says:
the webmonkey site has moved, so the link is now... colour referencethe webmonkey site has moved, so the link is now...
colour reference
Mar 05, 2010
Travis Mattera says:
Any way we can use css to customize the panel? Something similar to the css off...Any way we can use css to customize the panel? Something similar to the css offering you have under the roundrect macro?
Jan 20, 2011
Carol Smith says:
I was wondering if there was a way to restrict the height of a panel? Or to appl...I was wondering if there was a way to restrict the height of a panel? Or to apply a class/id to a panel?
Thanks.