Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Document Properties Marker
overridefalse
Short DescriptionShows how to transclude transcluded content.
Doctypetopichide
NameTransclude transcluded Sections
Short Name
Parent
Parent Property
propertyParent
property-nameName

Audience

Name List
doctyperole
render-no-hits-as-blanktrue
namesAuthor
propertyAudience


Level of Experience

Name List
doctypeexperience-level
render-no-hits-as-blanktrue
namesCompetent
propertyLevel of Experience


Expected Duration5 min
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags

Tag List
namestransclusion, Confluence, macro, excerpt, multi-excerpt
propertyTags

hide
Iteration

Iteration
valuefinished

hide
Type

Name List
doctypetopic-type
render-no-hits-as-blanktrue
namesTip
propertyType


Sponsors
Name List
doctypestakeholder
render-no-hits-as-blanktrue
propertySponsors

Sort Keyhide
Section
show-titlefalse
titleDescription

The Transclusion Macro from the PDAC1 transcludes content that is marked with the Section and Content Marker Macro.


The transclusion macro in document B transcludes two sections (boxes with an 'S' in it) from document A.

If you transclude sections on a page (box with a 'T' in it), these sections are not seen by a transclusion macro of another page. So if you translude all from document B from a document C, only the sections of document B and C will be rendered in document C, not those of document A.

One solution to this problem is to place the transclusion macro inside a section. But this adjusts the section heading level, which may not be what you want. The other solution is to set the transclusion macro inside a content marker macro (box with a 'C' in it). This will transclude the content from the other page without adding one to the heading level.

Section
titleSummary

Section
titlePrerequisites

Section
titleSubordinate Topics
Display Table
doctypetopic
render-no-hits-as-blanktrue
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name
Section
required-permissionswrite-access
titleNotes

Section
titleReferences

Section
titleResources

More information on transclusion and the PDAC1.

Tour
render-as-definition-listtrue
replace-title-with-nametrue