Success Macro
Last modified by Lucas Charpentier (Sereza7) on 2025/04/15 15:07
![]() | 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 >= 3.1 |
Table of contents
Description
Usage
This macro inherits parameters from the Box Macro.
{{success}}text{{/success}}
Example
{{success}}This is a success message{{/success}}
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 #success and #inlineSuccess instead of hard-coding the success 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 success macro.