This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.
Skip to end of metadata
Go to start of metadata

Labels allow users to sub-categorise pages and reference content across multiple categories as well as Spaces.

Label Example:

For the purpose of this example, imagine we have a Space with pages of content on various type of vehicles.

Vehicles Space

(pages are in bold, while the labels are in blue)

  • Cars vehicle-type
    • Toyota Prius vehicle car
    • Honda Civic vehicle car
    • Porshe Carrera vehicle car
  • Motorbikes vehicle-type
    • Harley Davidson Sportster vehicle motorbike
    • Suzuki GSX-R vehicle motorbike

This page hierarchy can then be cross-categorised using labels, with pages referenced using the Content by Label Macro.

If you want to list...

You would use the wiki markup:

These would be the pages that you would get:

Vehicle types

{contentbylabel:vehicle-type}

Cars, Motorbikes

All vehicles

{contentbylabel:vehicle}

Toyota Prius, Honda Civic, Porshe Carrera, Harley Davidson Sportster, Suzuki GSX-R

All cars

{contentbylabel:car}

Toyota Prius, Honda Civic, Porshe Carrera


RELATED TOPICS
Page: Label Macros
Page: Content by Label Macro
Page: Related Labels Macro
Page: Navigating Pages by Label
Page: Viewing Global Labels
Page: Categorising Wiki Content Using Labels