Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content Layer
id609796700
classsmartics-comparision
Content Column
id609796702
Content Block
id609796701
Document Properties Marker
overridefalse
Short DescriptionCompare working with sections in Confluence with and without the projectdoc Toolbox. 
Doctypetest-casehide
NameWorking with Sections 
Parent
Parent Property
propertyParent
property-nameName
 
Audience
Name List
doctyperole
propertyAudience
 
Subject
Name List
doctypesubject
propertySubject
 
Categories
Name List
doctypecategory
propertyCategories
 
Tags
Tag List
propertyTags
 
Iteration
Iteration
valuefilled
hide
Source 
Result 
Sort Keyhide
TeaserDetailed examination on the featuresImage Addedhide
Section
show-titlefalse
titleDescription

The page editor provided by Confluence makes it very easy for any team member to create and edit wiki pages. The projectdoc Toolbox contains the Section Macro to define sections as part of a document.

Define Sections

The editor is a very intuitive tool that allows to create headings with short cuts.

But there is no construct that defines a section as an entity. Confluence has the Excerpt Macro to mark content for transclusion, but this content does not handles the notion of a header.

Part of the projectdoc Toolbox is the Section Macro.

The macro defines a section with a title, which may be show or hidden. The section is defined at a given level or the level is deducted from the context.


Title and body are added by the author. If the body of a section is empty, we cannot connect this information to the corresponding title.

The content from the editor:

 

Since title and body are part of the Section Macro, we can define that a section is not rendered as long as the body of the section is empty.

The content from the editor:

 

 

The rendered content in the view:

Panel

My Heading One

My Heading in One

Some text.

My Other Heading in One

My Heading Two

The rendered content in the view:

Panel
Section
titleMy Heading One
Section
level2
titleMy Heading in One

Some text

Section
titleMy Other Heading in One

 

Section
titleMy Heading Two

 

Every section, regardless of being empty or not, is rendered. The design of from the template author, created to support the page author, is rendered for the reader. The reader has no benefit from this. To the contrary: the view is cluttered with no-information fragments.

Only sections with content are rendered. As a consequence template authors may define any number of sections to help page authors to create content conforming to a given document type. The reader of the document is not bothered with headlines and empty section body. The view is clutter-free while the editor shows the document structure.

Summary

 
Transclusion
documentPDAC1:The Beauty of Sections
idsSummary

Section
required-permissionswrite-access
titleNotes

Section
titleReferences

Section
titleResources