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

facade
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 macros Transclusion Macro from the projectdoc Toolbox transclude PDAC1 transcludes content that is marked with the section and content marker macros. Section and Content Marker Macro.


Image Added

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.

Image Added

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.

Image Added transclusion macros. 

Section
titleSummary

Section
titlePrerequisites

...

Section
titleReferences

Section
titleResources

More information on transclusion and the PDAC1.

Tour
render-as-definition-listtrue
replace-title-with-nametrue
Piwik Set Multiple Custom Variables
NameValue
Departmentprojectdoc
Categoryprojectdoc-tip
Typehowto