Status Macro
The Status macro displays a colored lozenge (a rounded box) that is useful for reporting project status. You can choose the color of the lozenge and the text that appears inside the lozenge. The macro also displays its current status in the editor, and you can change the status directly in the editor.
ALL GOOD!
See the Status macro put to excellent use in How to build a release planning page in Confluence.
Screenshot: Click on the Status macro lozenge to change the status.
Using the Status macro
To add the Status macro to a page using the Macro Browser:
- In the Confluence editor, choose Insert > Other Macros
- Find and select the required macro
Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Autocomplete for links, files, macros and mentions.
To edit an existing macro: Click the macro placeholder and choose Edit. A macro dialog window will open, where you can edit the parameters of the macro.
Parameters
Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example
).
Parameter | Default | Description |
---|---|---|
Color | Grey | The color of the lozenge. The following colors are available: Grey , Red, Yellow, Green and Blue. |
Title | The color that you select. | The text that will appear inside the lozenge. If you do not specify any text, the title will be the color of the lozenge, that is 'Grey', 'Red', 'Yellow', 'Green' or 'Blue'. |
Use outline style(subtle ) | False | The style of the lozenge and its border. The default style lozenge is a solid background color with white text. The outline style lozenge is white with a colored border and colored text as shown here ALL GOOD! |
Code examples
The following examples are provided for advanced users who want to inspect or edit the underlying markup for a Confluence page.
Macro name: status
Macro body: None.
Storage format example
<ac:structured-macro ac:name="status">
<ac:parameter ac:name="colour">Green</ac:parameter>
<ac:parameter ac:name="title">On track</ac:parameter>
<ac:parameter ac:name="subtle">true</ac:parameter>
</ac:structured-macro>
Wiki markup example
{status:colour=Green|title=On track|subtle=true}