Panel Macro
Last modified by admin on 2024/10/04 17:40
Panel macro to display XWiki content inside a panel.
Parameters
Parameter | Name | Default value | Description |
---|---|---|---|
title | Title | - | The title of the panel. If specified, this title will be displayed in its own title row. |
footer | Footer | - | The footer of the panel. If specified, this footer will be displayed in its own footer row. |
bgColor | Background color | - | If specified, sets the background color of the content of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
contentTextColor | Content text color | - | If specified, sets the text color of the content of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
width | Width | - | If specified, sets the width of the panel (300px or 50%). |
height | rendering.macro.panel.parameter.height.name | - | rendering.macro.panel.parameter.height.description |
classes | CSS classes | - | If specified adds css classes to the panel. |
borderColor | Border color | white | The color of the panel's border. Colors can be specified as HTML color names or hexadecimal codes. |
borderStyle | Border style | solid | The style of the panel's border. Accepted values are solid, dashed and other valid CSS border styles. |
borderWidth | Border width | 1px | The width of the panel's border expressed in pixels. Only values are accepted (e.g: 1) |
borderRadius | Border radius | 8px 8px 0px 0px or 8px 8px 8px 8px if the footer is present | If specified, replaces the default border radius |
titleBGColor | Title background color | - | The background color of the title row of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
titleColor | Title Text Color | - | The color of the text in the title row of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
footerBGColor | Footer background color | - | The background color of the footer row of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
footerColor | Footer Text Color | - | The color of the text in the footer row of the panel. Colors can be specified as HTML color names or hexadecimal codes. |
Examples
Simple panel
Content of the panel
Simple panel with border and size
Content of the panel
Panel with title, content, footer and colors
Title of the panel
Content of the panel
Panel with title and colors and border
Title of the panel
Content of the panel
Panel with bootstrap classes
Title of the panel
Content of the panel
Title of the panel
Content of the panel
Title of the panel
Content of the panel
Confluence compatibility
This macro supports all Atlassian Confluence parameters as of version 7.9.