Floating Box Macro
Last modified by Vincent Massol on 2021/03/17 21:30
Displays a message in a styled floating box format |
Type | Doc (Velocity Macro) |
Category | |
Developed by | |
Rating | |
License | GNU Lesser General Public License 2.1 |
Bundled With | XWiki Standard |
Table of contents
Description
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")
and
#startfloatingbox()
This wiki content will be displayed in a styled floating box
* list item 1
* list item 2
#endfloatingbox()
This wiki content will be displayed in a styled floating box
* list item 1
* list item 2
#endfloatingbox()
Results
This text is displayed in a styled floating box
This wiki content will be displayed in a styled floating box
- list item 1
- list item 2