Display Macro

The Display macro allows displaying an entity, document or object, in its own context.

Usage

{{display reference="<reference>" type="<document>" section="H<section>"/}}

Parameters

NameOptionalAllowed valuesDescriptionDefault value
referenceNoAn entity referenceThe name of the entity (document, object) to displayNone
typeYesdocumentThe type of the entitydocument
sectionYesA stringAn anchor to the displayed section of the target reference, having the form: "HSectionName"None

Example

{{display reference="xwiki:Sandbox.WebHome" type="document" section="HHeadings" /}}

will display

DisplayMacro.png

 

Related Pages

Search this space