Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
Create a formatted box with a title bar | Documentation for Tiki Wiki CMS Groupware
Loading...
 
Skip to main content
Create a formatted box with a title bar
 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: Plugin Remarksbox

 Tip
To place a simple box around text , you can use the ^ tag, as explained in Wiki-Syntax Text.

Parameters

Tiki Doc From Code error: box not found

Examples

No options

This code:

Copy to clipboard
{BOX()} A whole lot a shakin goin on {BOX}

Would produce:

A whole lot a shakin goin on

Title only

This code:

Copy to clipboard
{BOX(title="Tiki Rocks")} A whole lot a shakin goin on {BOX}

Would produce:

Tiki Rocks

A whole lot a shakin goin on

Title and background color

This code:

Copy to clipboard
{BOX(title="Tiki Rocks" bg="#CCCCCC")} A whole lot a shakin goin on {BOX}

Would produce:

Tiki Rocks

A whole lot a shakin goin on

Title, background color, and width

This code:

Copy to clipboard
{BOX(title="Tiki Rocks" bg="#CCCCCC" width="90%")} A whole lot a shakin goin on {BOX}

Would produce:

Tiki Rocks

A whole lot a shakin goin on

Step by step instructions for beginners

To use the BOX plugin, do the following:

  1. Place the insertion point on a blank line.
  2. Define the box and the options you want (title, background color, and/or width ) by following these examples:
    1. Title: {BOX(title="Title")}
    2. Background color: {BOX(bg="#CCCCCC")}
    3. Width in pixels: {BOX(width="256")}
    4. Width in percentage: {BOX(width="75%")
    5. All options: {BOX(title="Title" bg="#CCCCCC" width="75%")}
  3. Type the text you would like to place within the box, and press Enter.
  4. Type {BOX}

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.

Aliases

Plugin Box


Created by system. Last Modification: Wednesday 31 July, 2019 07:42:46 GMT-0000 by Yves Kipondo.
Show PHP error messages