Floating Box Macro

The "Floating Box" macro is written in the "xwiki/1.0" syntax to display a message in a styled floating box format. 

Usage

There are 2 ways of using this macro:

#floatingbox($text)

OR

#startfloatingbox() 
wiki content
#endfloatingbox()

Parameters

NameOptionalAllowed valuesDescriptionDefault value
textNoAny stringThe text message that will be displayed in a floating boxNone

Examples for the "colibri" Skin

Example 1

{{velocity}}

{{html}}
#floatingbox("Table of Contents")
{{/html}}

{{/velocity}}

will display

FloatingBoxEx1.png

Example 2

{{velocity}}

{{html wiki="true"}}
#startfloatingbox()
This wiki content will be displayed in a styled floating box
* Overview
* What's New
#endfloatingbox()
{{/html}}

{{/velocity}}

will display

FloatingBoxEx2.png

 

Related Pages

Trying to decide between Cloud and On Premise? See the comparison on the XWiki Help Center.

Search this space