{warning} Macro
The {warning} macro allows you to quickly and easily highlight warnings or critical messages...
The {warning} macro wraps content in an warning panel with optional icon and title...
This macro is part of the standard Confluence distribution.
This macro does not currently have an issue tracker.
Examples
Basic Use
Display a warning panel with an icon but no title:
Which results in:
 | A critical warning |
Adding a Title
Add a title as follows:
Which results in:
 | Security Warning Important security message |
No Icon, No Title
The following will display your content in a warning panel with no title or icon:
Which results in:
No Icon, Custom Title
The following will display your content in a warning panel with a title but no icon:
Which results in:
Alert! You must read this! |
Hints and Tips
Use this macro sparingly so it stands out more on the page.
If you want to display a general warning or other important information, use the note macro.
If you want to display a helpful information, use the info macro.
If you want to display a helpful hint or tip, use the tip macro.
Frequently Asked Questions
| Q |
Can I change the icon? |
| A |
No. You can only hide it, if desired. |
| Q |
Can I change the colours, borders, etc? |
| A |
No. If you require more customisation, use the panel macro. |
| Q |
Can I make panels like this clickable, like on adaptavist.com? |
| A |
Yes. You can make just about anything clickable with the aptly named clickable macro. |
| Q |
How do I display the icon on it's own like you did near the top of this page? |
| A |
Use Emoticons. |