Wiki source code of Macro 'status'
Last modified by Christoph Lechleitner on 2026-02-27 08.08:36
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
1.1 | 1 | = Introduction = |
| 2 | |||
| 3 | This page comes with a ##status## macro, intended to help transition from Confluence to XWiki. | ||
| 4 | |||
| 5 | = Examples = | ||
| 6 | |||
| 7 | The wiki code ... | ||
| 8 | |||
| 9 | {{code language="none"}} | ||
| 10 | {{status colour="Black" title="dark"/}} | ||
| 11 | {{/code}} | ||
| 12 | |||
| 13 | ... with colour ##Black## and text ##sad## produces {{status colour="Black" title="sad"}}{{/status}} and looks exactly that. | ||
| 14 | |||
| 15 | Colour ##Blue## {{status colour="Blue" title="go bears"}}{{/status}} is not navy blue, sorry. | ||
| 16 | |||
| 17 | Colour ##Gray## is {{status colour="Grey" title="n/a"}}{{/status}} and not recommended by the grey council. | ||
| 18 | |||
| 19 | Colour ##Green## {{status colour="Green" title="done"}}{{/status}} for finished task. | ||
| 20 | |||
| 21 | Colour ##Purple## {{status colour="Purple" title="rain"}}{{/status}} sang the prince. | ||
| 22 | |||
| 23 | Colour ##Red## {{status colour="Red" title="alert"}}{{/status}} comes with no weird sound here. | ||
| 24 | |||
| 25 | Colour (% style="font-family:Menlo,Monaco,Consolas,Courier New,monospace; white-space-collapse:preserve" %)White(%%) {{status colour="White" title="not white"}}{{/status}} is mostly useful with colorful background. | ||
| 26 | |||
| 27 | Colour ##Yello## {{status colour="Yellow" title="looks orange"}}{{/status}} but we wanted to stick to Atlassian's ##colour## names including that ##u##. | ||
| 28 | |||
| 29 | |||
| 30 |
