Display Document Properties Macro

Renders a template with property references.

This macro transcludes the values of properties of another document. The properties of the values to fetch are specified in a template.

Properties

Document

The document the properties are part of.

If not specified, the current document is used. This allows to render the value of a property of the same document at several places of this document, without duplicating the value.

Template

The template to add property references.

The placeholder ${...} references a property value. The placeholder $[...] references a property value and also generates a link to the referenced document. With $<...> the property is rendered as is (as HTML).

The template defaults to 

$[Name] - ${Short Description}

Lowercase Properties

List of property names whose values first letter should be lowercased.

Usually used for short descriptions.

Apply Space Properties

If checked the properties defined by the space of the document this macro is part of are applied as defaults.

Since these values are defaults they will only apply, if no document properties match.

Calculate Expression

The content is an expression to be evaluated.

Use the Format Pattern to define the output format.

Format Pattern

A format pattern to render an evaluated expression.

Use the following symbols to define the pattern:

SymbolDescription
.Decimal Separator
0Digit
#Optional Digit
,Grouping Separator

¤

Currency Sign
%Multiply by 100 and show as percentage
Multiply by 1000 and show as per mille value
'Quote strings (to escape symbols)

Blank Placeholders

Controls the rendering of unresolved placeholders. Since unresolved placeholders may be further processed by transclusion macros (e.g. the Transclusion Macro), per default unresolved placeholders are rendered.

If this flag is checked, unresolved placeholders will not be rendered (blanked out).

Default Value

A default value to render, if the document has no value for the template.

Prepend Newline

If checked, signals that a newline is to be rendered before the property template.

Render Mode

Specify how values from multiple documents are merged.

In case the values are drawn from multiple documents, typically by the use of Deep Links, then this parameter allows to control how the list of names is rendered.

Render ModeDescription
noneThe content is rendered as is (default).
textThe names are rendered in a comma-separated list.
bulletThe names are rendered in a bullet list (the ul HTML element).
numberedThe names are rendered in a bullet list (the ol HTML element).

Identifier

Unique identifier of the macro for the rendered context.

Features may supply default configurations dependent on the value of this property.

Identifier Classes

Identifiers to address this macro as part a group for the rendered context.

Features may supply default configurations dependent on the value of this property.

Autocomplete Space Closure

Define the scope to search for documents in the Autocomplete context.

Only documents within this scope will be accepted by the Autocomplete for the Documents parameter.

Further constraints on the space can be declared by the use of the Autocomplete Constraints parameter.

Default space is the delegate space of the current space.

This property is only used in the context of the Autocomplete function. It is only enforced on Autocomplete in the browser.

Changes to the parameter value will only take effect on the next Autocomplete selections. But there is also no guarantee that the list of selected documents will not be filtered later. The not enforced constraint is that the selected documents should match the constraints.content

Autocomplete Constraints

Provide a Where clause to select on documents for the autocomplete feature of this macro.

This parameter is only to control the autocomplete feature of this macro. If empty, no constraints are put on the list documents presented.

This property is only used in the context of the Autocomplete function. It is only enforced on Autocomplete in the browser.

Changes to the parameter value will only take effect on the next Autocomplete selections. But there is also no guarantee that the list of selected documents will not be filtered later. The not enforced constraint is that the selected documents should match the constraints.content

Details

Information on using this macro.

Tiling

Since version 5.0.6 this macro supports rendering block elements, also known as tiling.

Prior to that version block elements could be rendered, but will add additional spacing on top and bottom of the rendered content.

The macro cannot prevent to put empty paragraphs on top and bottom of the element. The following CSS may remove these empty elements and reduce spaces.

Remove empty paragraphs
div.content-wrapper > p:empty {  
  display: none;  
}  

Related macros

Display Document Property As Image Macro
Renders the value of a document property as an image. The property value is required to an URL that points to an image.
Display Document Property As Link Macro
Renders the value of a document property as a link with an alternative label.
Display Document Property As List Macro
Renders the list value of a document property.
Display Document Property Macro
Renders the value of a property of a document.
Display Document Property Ref Concat Macro
Displays a single property of a document that is referred by a property of another document and concatenates it with the value of a local property.
Display Document Property Ref Macro
Displays a document property from a referenced document.
Display Space Attribute Macro
Renders a space attribute value.
Display Space Property Macro
Renders a space property value.
Tour Macro
Renders a predefined list of documents in a table.

Resources

Linking to Glossary Terms
Show how to use the Name List Macro to render links to glossary terms.