Macros to support single sourcing for creating modular documents.
- Parent
- Audience
- Level of Experience
- Type
The macros listed in this document help to structure a document. This includes sections and marker to hide page elements from readers.
Transclusion
Transclusion macros allow the transclusion of content of one wiki page into another wiki page.
The following macros allow to mark content to be transcluded or to actually transclude content.
Name | Short Description |
---|---|
Renders an image generated from an Enterprise Architect diagram, transcluded from a server. |
|
Renders transcluded content fetched from documents of a result set. |
|
Transcludes random content from a document marked with the content marker macro. |
|
Renders an image transcluded from a remote server. |
|
Renders transcluded content fetched from documents of a result set. |
|
Transcludes content from a document marked with the content marker macro. |
|
Transcludes content via a reference from a document marked with the content marker macro. |
|
Transcludes content from a document marked with the content marker macro and renders it as plain text. |
Property Value Transclusion
Transcludes properties from a projectdoc document. The projectdoc uses the Document Properties Marker Macro to define properties to be transcluded.
The tour macro is a special form and allows to define a list of references, where the properties to be transcluded are specified by columns. Use it if you want to control the lines of the table (otherwise use the Display Table Macro).
Name | Short Description |
---|---|
Renders a template with property references. |
|
Renders the value of a document property as an image. The property value is required to an URL that points to an image. |
|
Renders the value of a document property as a link with an alternative label. |
|
Renders the list value of a document property. |
|
Renders the value of a property of a document. |
|
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. |
|
Displays a document property from a referenced document. |
|
Renders a space attribute value. |
|
Renders a space property value. |
|
A table containing document properties. Three columns: name, value and meta data (aka controls) to a property. |
|
A table supplying additional document properties from an attached file. |
|
Import properties from another projectdoc document. |
|
A table containing additional document properties. Three columns: name, value and meta data (aka controls) to a property. |
|
Renders a predefined list of documents in a table . Documents are selected by a document property. Allows to select document properties for columns. Also non-list representations are provided. |
|
Renders a predefined list of documents in a table. |
Remote Transclusion
Remote transclusion allows to transclude content from remote servers.
Name | Short Description |
---|---|
Transclude HTML content from a remote server. |
|
Transcludes a snippet from a project on a Subversion (SVN) server. |
|
Transclude content from a resource from a remote system. |
|
Transclude text content from a remote server. |
Make sure to not transclude content you do not control. Otherwise you make your Confluence instance vulnerable to cross-site-scripting (XSS) attacks.