Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
doctypemacro
overridefalse
Short DescriptionRenders the property of the parent document, if it has the same doctype. 
Doctypemacrohide
NameParent Property Macro 
Parent
Parent Property
property-nameName
 

Audience
Name List
doctyperole
render-no-hits-as-blanktrue
namesTemplate Author
propertyAudience
 

Categories
Name List
doctypecategory
namesLink / Document
 

Tags

Tag List
namesLink, Ancestor

 


Type

Name List
doctypemacro-type
namesDynamic Navigation

 


Iteration
Iteration
valueproduction
hide
Sort Keyhide
Section
indextrue
show-titlefalse
titleDescription

The Parent Property Macro allows template authors to reference a document property of the parent document. If such a document is moved to another document tree, the referenced parent property is automatically updated.

This macro is especially useful to add the name of the parent document to the properties table to be printed.

Section
titleProperties

The macro provides the following properties.

Section
titleProperty Name

The name of the property in the parent document to references.

Section
titleParent 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.

Section
titleAdd Link

If checked, a link to the parent is rendered. Otherwise it is not.

Section
titleAppend

Check if the Append Text is actually to be appended. If unchecked, the Append Text is prepended.

Section
titleAppend Text

The text to be appended to the referenced property value.

Section
titleDefault Value

A default value to render, if the document has no parent. Usually this property is left blank.

Section
titlePrepend Newline

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

...

Section
titleReferences

Section
titleResources

Piwik Set Multiple Custom Variables
NameValue
Departmentprojectdoc
Categoryprojectdoc-macro
Typeorganize