Loading...
 
Skip to main content

Custom Share Module 0.1dev

History: PluginBox

Preview of version: 12

User Documentation


To place a simple box around text , you can use the ^ tag, as explained in WikiFormattingDoc. The BOX plugin, described here, 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.

NOTE: Not all plugins are enabled by default. Ask your Tiki administrator if the BOX plugin is available.

Quick Refererence

Here's the BOX plugin's syntax.

Plugin execution pending approval

This plugin was recently added or modified. Until an editor of the site validates the parameters, execution will not be possible.


Note the following:

  • Title is text that appears in a one-line title box. Keep it short!
  • color is a hexadecimal color code, such as #FFFFFF (white).
  • num is the width of the box in pixels or, if followed by a percent sign, the width as a percentage of the available window area.
  • The commas aren't needed unless you type two or more of the options.


TIP: Even though the title 's optional, be sure to define a title. The default title is "Message Box," which isn't very helpful to your readers.

The square brackets indicate that the parameter is optional.

Using the BOX Plugin


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}.


Note: If something goes wrong, see Help!, below.

Examples


No options (note that Tiki supplies a default title automatically, but you probably don't want this title):

A whole lot a shakin goin on


Title only:

Tiki Rocks

A whole lot a shakin goin on


Title and background color:

Tiki Rocks

A whole lot a shakin goin on


Title, background color, and width:

Tiki Rocks

A whole lot a shakin goin on

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.


---

Try it out

please link to the live Feature on tikiwiki.org

Isn't this Fun
Some more text and a link to the SandBox

Notes

This page is for the latest released stable version or release candidate(not stuff in CVS).

Knowledgebase / tutorial / FAQ / How-to


TikiTeam

Who is working here generally? Link UserPage.


For more information

History

Advanced
Information Version
Xavier de Pedro 19
View
Jürgen Heckes 18
View
Philippe Cloutier categorized 17
View
Philippe Cloutier Starting move 16
View
Bryan Pfaffenberger 15
View
Bryan Pfaffenberger 14
View
Bryan Pfaffenberger 13
View
Bryan Pfaffenberger 12
View
Bryan Pfaffenberger 11
View
Chet 10
View
DennisDaniels 3
View
DennisDaniels 2
View