This wiki plugin creates a box with a title bar. Optionally, you can add title text, a background color, and/or a width (specified in pixels or a percentage of the available window space). The title bar is formatted using the CSS style used for module headings, so the box will look consistent no matter which theme is chosen.
See also: Plugin Remarksbox
^
tag, as explained in Wiki-Syntax Text.
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
(body of plugin) | text | |||
width |
text | In pixels or percentage. Default value is 100% . |
1 | |
bg |
As defined by CSS, name, or color hex code. | 1 | ||
title |
text | Displayed above the content | 1 | |
style |
text | Enter CSS styling tags for the div type used e.g. padding: 5px | 13.0 | |
id |
text | ID | 1 | |
class |
Apply custom CSS class to the box. | 1 | ||
clear |
(blank) 1 0 |
Text, etc. is not allowed to wrap around the box if this parameter is set to 1 (Yes) |
1 | |
float |
(blank) left right |
Set the alignment for the entire box. For elements with a width of less than 100%, other elements
will wrap around it unless the clear parameter is appropriately set.) |
1 | |
align |
left right center |
Aligns the text within the box (left-aligned by default) | left | 1 |
This code:
{BOX()} A whole lot a shakin goin on {BOX}
Would produce:
A whole lot a shakin goin on
This code:
{BOX(title="Tiki Rocks")} A whole lot a shakin goin on {BOX}
Would produce:
A whole lot a shakin goin on
This code:
{BOX(title="Tiki Rocks" bg="#CCCCCC")} A whole lot a shakin goin on {BOX}
Would produce:
A whole lot a shakin goin on
This code:
{BOX(title="Tiki Rocks" bg="#CCCCCC" width="90%")} A whole lot a shakin goin on {BOX}
Would produce:
A whole lot a shakin goin on
To use the BOX plugin, do the following:
{BOX(title="Title")}
{BOX(bg="#CCCCCC")}
{BOX(width="256")}
{BOX(width="75%")
{BOX(title="Title" bg="#CCCCCC" width="75%")}
{BOX}
Did something go wrong?