Warning 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.

Warning Macro

Displays a warning message in a styled box format, using a warning icon

Usage

#warning($text)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
textnoa stringnoneThe text message that will be displayed

Example

#warning("This is a warning message")

Result

Warning: This is a warning message

See also

Tags:
Created by LuisArias on 2007/04/08 11:08
Last modified by Sergiu Dumitriu on 2009/06/04 18:49

This wiki is licensed under a Creative Commons license
2.2.1.27354