Info Macro
Last modified by Thomas Mortagne on 2026/02/26 15:41
| Displays an informational message in a styled box format |
| Type | JAR |
| Category | |
| Developed by | |
| Rating | |
| License | GNU Lesser General Public License 2.1 |
| Bundled With | XWiki Standard |
| Compatibility | XWiki Enterprise >= 2.0 |
Table of contents
Description
Usage
This macro inherits parameters from the Box Macro.
{{info}}text{{/info}}Example
{{info}}This is an informational message{{/info}}Result

The styling of the box depends on the skin. The previous result example was made with Flamingo Skin.
XWiki <16.7.0
The style of the macro was slightly different:

Alternative
XWiki 17.3.0-+ If in your development you cannot use the XWiki macro described here (e.g. when inside an HTML block), you should rely on the alternative velocimacros #info and #inlineInfo instead of hard-coding the info block. Those velocimacros only support one parameter, the content of the macro. Those velocimacros are bundled with XWiki standard and they should be rendered the same as a basic info macro.