Draws a panel with an optional title and border.
The Code
Default Panel:
{panel}
Some content.
{panel}
|
Panel with a dashed, colored border:
{panel:borderStyle=dashed|borderColor=red}
Some content.
{panel}
|
Panel with a title and solid, colored border:
{panel:title=My Panel|borderStyle=solid|borderColor=blue}
Some content.
{panel}
|
Panel with a colored background and title:
{panel:bgColor=#FFCCFF|title=My Title|titleBGColor=yellow }
Some content.
{panel}
|
Result
Default Panel:
Panel with a dashed, colored border:
Panel with a title and solid, colored border:
Panel with a colored background and title:
|
Parameters
Name |
Required? |
Default |
Description |
title |
|
none |
The title of the panel. If specified, this title will be displayed in its own title-row. |
boderStyle |
|
none |
The style of the panel's border. Valid values are 'solid', 'dashed' and other valid CSS border styles. |
borderColor |
|
Grey |
The colour of the panel's border. Accepts color name and hexadecimal color codes. |
borderWidth |
|
|
The width of the panel's border (in pixels). |
bgColor |
|
Grey |
The background colour of the panel. Accepts color name and hexadecimal color codes. |
titleBGColor |
|
|
The background colour of the title-row of the panel. Accepts color name and hexadecimal color codes. |
|
|