Panel Macro
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
Unknown macro: missingLicenseMessage. Click on this message for details.
Simple panel with border and size
Unknown macro: missingLicenseMessage. Click on this message for details.
Panel with title, content, footer and colors
Unknown macro: missingLicenseMessage. Click on this message for details.
Panel with title and colors and border
Unknown macro: missingLicenseMessage. Click on this message for details.
Panel with bootstrap classes
Unknown macro: missingLicenseMessage. Click on this message for details.
Unknown macro: missingLicenseMessage. Click on this message for details.
Unknown macro: missingLicenseMessage. Click on this message for details.
Confluence compatibility
This macro supports all Atlassian Confluence parameters as of version 7.9.