Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleDefining Placeholders

Placeholders are defined in a document whose content is intended to be transcluded.

The projectdoc Toolbox supports two kinds of placeholders.

Section
titleSimple Placeholders

A simple placeholder has a name and is delimited by a starting ${ and ends with a curly brace ('}').

Code Block
${A simple placeholder}

Without transclusion simple placeholders are not replaced.

Note Box

Supporting property references is in discussion for version 1.13:

Jira
serversmartics JIRA
serverId79ad43bc-d289-364e-bfc7-46c09847bebd
keyPDAC-671

Simple placeholders are used by

  • Display Properties
    documentTransclusion Macro
  • Display Properties
    documentCode Block Placeholder Macro


Section
titleProperty References

A property reference is a macro that displays the value of a page or space property.

Properties are defined by the Document Properties Marker Macro and the Document Properties Supplier Macro.

Property placeholders simply render the value of a property. If a property is not defined an alternative value may be rendered which is specified with the macro.

Macros used to display the property values are

Display Table
render-modeunnumbered
where$<Categories>=[Display / Property]


...