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.
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
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| text | no | a string | none | The text message that will be displayed in a floating box |
Example
#floatingbox("This text is displayed in a styled floating box")#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