Macro of the Month: Labels List

Posted in: Tracey's macro of the month

Introduction

Labels List is a very basic macro with one specific use. It is particularly useful where you have a large space with a lot of content, including multiple different items on a page, as it enables you to create a dynamic A-Z or alphabetised index to help visitors find what they want.

Application(s)

Labels List has one function:

  • makes an alphabetised list of the labels used in a space

How to add Labels List

Firstly...

  • add labels to the pages of your wiki (click on the icon at the right hand side of the foot of the page)
  • type in a label and click Add
  • repeat this process until you have added all the label for the page
  • repeat the process for attachments if you wish

Then simply...

  • Place you cursor where you want the Labels List macro to appear
  • Click on Insert (in the tool bar above) then Other Macros from the drop-down menu
  • In the pop-up window, type label list into the search box
  • Set the variables up as you wish (you can, for instance, exclude some labels from appearing in the list)
  • Click Save

How to use Labels List

Look at how labels could be added to the attachments in your space and/or the pages themselves to enable visitors to find the materials they need. The addition of labels (and the availability of a labels list) is useful where:

  • you have a large number of pages
  • there are multiple items on a single page (which are not all reflected in the page title)
  • some items in your space can be known by multiple names

Example

Index

(Click on image to enlarge)

Posted in: Tracey's macro of the month