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
namesAdvanced BeginnerCompetent
propertyLevel of Experience


Expected Duration5 min
Subject
Name List
doctypesubject
propertySubject

Categories
Name List
doctypecategory
propertyCategories

Tags

projectdoc-tag-list-macro
namestransclusion, Confluence, macro, excerpt, multi-excerpt
propertyTags

hide
Iteration

Iteration
valuefinishedfilled

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.


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 theother the other page without adding one to the heading level.

Image Added

Section
titleSummary

...

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