robotsnoindex
robotsnoindex

The Related Labels macro lists all labels from every page which has one or more labels in common with the current page.

Use the Related Labels Macro

To add the Related Labels macro:

  1. In the Confluence editor, select  > View more
  2. Find the item to be inserted and select it
  3. Select Insert

You can also type / onto the page to bring up the same list you'd see by selecting from the toolbar.

To edit the Related Labels macro:

  1. Select the macro placeholder. The floating toolbar appears.
  2. Select Edit. The right panel opens.
  3. Modify the parameters. Your changes are saved as you go.
  4. Resume editing the page, and the panel closes.

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 browser, it will be listed below in brackets (example).

Parameter

Default

Description

Restrict to these Labels
(labels

none

Specify the labels for which you want to view related labels. For example, documentation,my:stuff.

Wiki markup example

Wiki markup is only supported in the legacy editor.


robotsnoindex
robotsnoindex

Wiki markup is useful when you need to add a macro outside the editor, for example as custom content in the sidebar, header or footer of a space.

Macro name: related-labels

Macro body: None.

{related-labels:labels=choc,cake}