Recently Used Labels Macro
Screenshot: a page using the Recently Used Labels macro to show the list of topics applied to knowledge base articles recently.
You can also choose to configure this macro to show more detail, including the page titles and information about the user who added the label.
Add this macro to your page
To add the Recently Used Labels macro to a page:
- From the editor toolbar, select Insert , then Other Macros.
- Choose Recently Used Labels from the Confluence content category.
- Enter any parameters.
- Choose Insert.
You can then publish your page to see the macro in action.
Screenshot: configuring the Recently Used Labels macro to show 35 recently applied labels.
Change the macro parameters
Macro parameters are used to change the behavior of a macro.
To change the macro parameters:
- In the editor, click the macro placeholder and select Edit.
- Update the parameters as required then select Insert.
Here's a list of the parameters available in this macro.
Parameter | Default | Description |
---|---|---|
Number of Labels to Display | 10 | Specifies the total number of labels to display in the list. |
Scope for Retrieving Labels | global | Specifies the scope of labels to be displayed in the list. Valid values include:
|
List Style | list |
|
Table Title | none | Adds a title to the top of the list in table style. Titles are only visible when the List Style parameter has been set to table. |
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
).
Other ways to add this macro
Add this macro as you type
Add this macro using wiki markup
This is useful when you want to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.
Macro name: recently-used-labels
Macro body: None.
{recently-used-labels:title=My title|scope=space|style=table|count=20}