Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3
minLevel2
absoluteUrltrue
excludeSee also
typeflat
separatorpipe

...

The basic metadata macro allows the attachment of a single piece of metadata to a page.

This allows a single metadata value stored on an individual page to be referenced from other pages (see the space-metadata macro for the equivalent functionality for spaces).

Parameters

Parameter

Required

Default

Notes

Version

unnamed first parameter

Image Removed

(tick)


This is the name given to the added metadata.

  • the metadata name is case sensitive


hidden


false

  • true – metadata value is not displayed on current page

  • false – metadata value is displayed on current page

(info) The option to hide or display the metadata value affects only the page that contains the metadata macro. It does not affect any pages where the metadata is reused.


...

Excerpt

To add a single piece of metadata to a page, choose the Metadata (Metadata Plugin) macro in the Confluence macro browser:

macro browser metadata plugin option

Simply add your chosen metadata name to the macro editor e.g. Owner. This metadata name will be case sensitive.

Insert the macro to the page.

Add the value of the metadata to the metadata macro placeholder.

To see the page display, choose the placeholder Edit option.

The added metadata value is now displayed in the macro editor Preview.

(info) The metadata macro body accepts both plain text and simple wiki markup for the value.

The metadata is stored as un-rendered wiki markup, so in this case the value |Captain Comala| is stored for the Owner metadata. The wiki markup will create a cell in a table containing the text value of the metadata, Owner.

metadata value page render unfilled table cell

If you don't want the metadata value displayed on this page, simply check the Hidden option in the macro editor. 

(info) This only hides the metadata value on the current page. It will not affect the visibility on any pages where the metadata is reused.

...