Loading...
 
Skip to main content

History: PluginBox

Source of version: 23 (current)

Copy to clipboard
            {REMARKSBOX(type="tip" title="Plugin Box")} 
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: ((PluginRemarksbox|Plugin Remarksbox)) {REMARKSBOX}

{REMARKSBOX(type="tip" title="Tip")}To place a simple box around text , you can use the -+~np~^~/np~+- tag, as explained in ((Wiki-Syntax Text)).{REMARKSBOX}

!!Parameters
{pluginmanager plugin="box"}
!! Examples
!!! No options 
''This code:''
{CODE(wrap="1" colors="tiki")}
{BOX()}
A whole lot a shakin goin on
{BOX}
{CODE}
''Would produce:''
{BOX()}
A whole lot a shakin goin on
{BOX}
!!! Title only
''This code:''
{CODE(colors="tiki")}
{BOX(title="Tiki Rocks")}
A whole lot a shakin goin on
{BOX}
{CODE}
''Would produce:''
{BOX(title="Tiki Rocks")}
A whole lot a shakin goin on
{BOX}
!!!Title and background color
''This code:''
{CODE(colors="tiki")}
{BOX(title="Tiki Rocks" bg="#CCCCCC")}
A whole lot a shakin goin on
{BOX}
{CODE}
''Would produce:''
{BOX(title="Tiki Rocks" bg="#CCCCCC")}
A whole lot a shakin goin on
{BOX}
!!! Title, background color, and width
''This code:''
{CODE(colors="tiki")}
{BOX(title="Tiki Rocks" bg="#CCCCCC" width="90%")}
A whole lot a shakin goin on
{BOX}
{CODE}
''Would produce:''
{BOX(title="Tiki Rocks" bg="#CCCCCC" width="90%")}
A whole lot a shakin goin on
{BOX}
!!! Step by step instructions for beginners
To use the BOX plugin, do the following:
# Place the insertion point on a blank line.
# Define the box and the options you want (title, background color, and/or width ) by following these examples:
## Title: -+~np~{BOX(title="Title")}~/np~+-
## Background color: -+~np~{BOX(bg="#CCCCCC")}~/np~+-
## Width in pixels: -+~np~{BOX(width="256")} ~/np~+-
## Width in percentage: -+~np~{BOX(width="75%")~/np~+-
## All options: -+~np~{BOX(title="Title" bg="#CCCCCC" width="75%")}~/np~+-
# Type the text you would like to place within the box, and press __Enter__.
# Type -+~np~{BOX}~/np~+-
!!! Help!
Did something go wrong?
* Double-check your typing to make sure you have included all the necessary curly braces, commas, and parentheses.
* If you're sure you typed the plugin syntax correctly, ask your administrator whether the BOX plugin is enabled.
!! Related pages
*((Wiki-Syntax Text))
!!Aliases
(alias(Plugin Box))