FloatingBox Macro

This is a Velocity macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.

FloatingBox Macro

Displays a message in a styled floating box format. The floatingbox macro usage actually can take two forms:

  • a single call to #floatingbox(text)
  • a call to #startfloatingbox(), followed by some wiki content, ending with a call to #endfloatingbox()

Usage

#floatingbox($text) or #startfloatingbox() wiki content #endfloatingbox()

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
textnoa stringnoneThe text message that will be displayed in a floating box

Example

#floatingbox("This text is displayed in a styled floating box")

and

#startfloatingbox()
This wiki content will be displayed in a styled floating box
* list item 1
* list item 2
#endfloatingbox()

Result

This text is displayed in a styled floating box

and

This wiki content will be displayed in a styled floating box
  • list item 1
  • list item 2
Tags:
Created by LuisArias on 2007/04/08 11:17
Last modified by Vincent Massol on 2008/09/30 10:08

This wiki is licensed under a Creative Commons license
2.2.1.27354