Wiki source code of Message macros
Last modified by Clément Eraud on 2025/11/18 16:27
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | === Message macros === | ||
| 2 | |||
| 3 | |||
| 4 | The {{code}}info{{/code}}, {{code}}warning{{/code}}, {{code}}error{{/code}} and {{code}}success{{/code}} macros display colorful informative messages. | ||
| 5 | |||
| 6 | They all share the same syntax: | ||
| 7 | |||
| 8 | |||
| 9 | {{code language="xwiki"}} | ||
| 10 | {{info}}Hello world!{{/info}} | ||
| 11 | {{/code}} | ||
| 12 | |||
| 13 | |||
| 14 | And are displayed as follows: | ||
| 15 | |||
| 16 | [[image:view mode.png]] |

This project is being financed by the French State as part of the France 2030 program
Ce projet est financé par l’État Français dans le cadre de France 2030