Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Creates a box with a title bar
3d browser Print

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.

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

Usage

Below is an example of the syntax:
{BOX([title=>title],[bg=>color],[width=>num[%]])}
 Text inside box
{BOX}

The square brackets [ ] indicate that the parameter is optional. The commas aren't needed unless you type two or more of the options.

ParameterAccepted valuesEffectSince
title text Text that appears in a one-line title box. Keep it short!. Title bar is formatted using the non-module box heading style defined in the current theme
bg anglophone color name or a hexadecimal color code, such as #FFFFFF (white) a background color
width number or % width of the box in pixels or, if followed by a percent sign, the width as a percentage of the available window area
alignleft or right or center
floatleft or right
classclass name 1.10
idhtml id 1.10


Examples


No options

This code,
{BOX()}
A whole lot a shakin goin on
{BOX}


Would produce:
A whole lot a shakin goin on


Title only

This code,
{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,
{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,
{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.

Related pages

Contributors to this page: miarrobino23 points  , lindon1701 points  , sylvie3037 points  , Xavi26357 points  and system .
Page last modified on Thursday 25 February, 2010 00:30:15 UTC by miarrobino23 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC