Renders the property of the parent document, if it has the same doctype.
Doctype
macro
hide
Name
Parent Property Macro
Parent
Parent Property
property-name
Name
Audience
Name List
doctype
role
render-no-hits-as-blank
true
names
Template Author
property
Audience
Categories
Name List
doctype
category
names
Link / Document
Tags
Tag List
names
Link, Ancestor
Type
Name List
doctype
macro-type
names
Dynamic Navigation
Iteration
Iteration
value
production
hide
Sort Key
hide
...
Section
title
Properties
The macro provides the following properties.
Section
title
Property Name
The name of the property in the parent document to references.
Section
title
Parent Doctype
The name of the type of the parent document to be actually considered a parent. If the document type differs, the document is considered to have no parent.
If the macro parameter is empty, the parent is required to have the same type as the referencing document.
Since version 2.0 the value may be set to #ANY. In this case any projectdoc document is considered to be a valid parent.
Multiple values must be separated by comma.
Section
title
Add Link
If checked, a link to the parent is rendered. Otherwise it is not.
Section
title
Append
Check if the Append Text is actually to be appended. If unchecked, the Append Text is prepended.
Section
title
Append Text
The text to be appended to the referenced property value.
Section
title
Default Value
A default value to render, if the document has no parent. Usually this property is left blank.
Section
title
Prepend Newline
If checked, signals that a newline is to be rendered before the property.
...
Section
index
true
title
Related macros
Display Table
doctype
macro
render-no-hits-as-blank
true
select
Name, Short Description, Tags
sort-by
Sort Key, Name
where
Name = "Name List Macro" OR Tags = "Display" OR Tags="Ancestor" OR Name="Child Documents Macro"