Draws a panel with an optional title and border. The Code Default Panel: Code Block |
---|
{panel}
Some content.
{panel}
|
Panel with a dashed, colored border: Code Block |
---|
{panel:borderStyle=dashed|borderColor=red}
Some content.
{panel}
|
Panel with a title and solid, colored border: Code Block |
---|
{panel:title=My Panel|borderStyle=solid|borderColor=blue}
Some content.
{panel}
|
Panel with a colored background and title: Code Block |
---|
{panel:bgColor=#FFCCFF|title=My Title|titleBGColor=yellow }
Some content.
{panel}
| Result Cloak |
---|
| Default Panel: Some content. Panel with a dashed, colored border: dashedredSome content. Panel with a title and solid, colored border: My PanelsolidblueSome content. Panel with a colored background and title: #FFCCFFMy TitleyellowSome content. | Parameters Cloak |
---|
| 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. |
|
|