Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
titleStyling the Render Counter

Without any formatting, the rendered content looks like this:

You may add appropriate styles for your design to you space or site style sheet. Alternatively you may use a render template or combine the two approaches.

Section
titleCSS Styles

Each counter is rendered with the class

Static Document Link
documentprojectdoc-render-counter-element
plus
 plus the name of the render counter.

Code Block
languagetext
titleCSS Class Names
projectdoc-render-counter-element definition



Section
titleRender Counter Template

Add the style information as a space property

Static Document Link
documentRender Counter Template
named projectdoc.renderCounterElement.template. and append your render counter name (e.g. projectdoc.renderCounterElement.template.definition).

For a layout with tooltip you may use the

Static Document Link
documentLayout Element Macro
.

Define the label for the counter in the body of the Layout Element Macro.

Note the use of {} as a placeholder for the consecutive element counters. 

The rendered content is now:



Section
titleMultiple Elements

It is possible to add multiple elements within one paragraph. In the following example we assume that D.1 and E.1 belong together and D2, D.3, and Example.1 also should be part of one paragraph.

Image Added

The Content Marker Macros are enclosed in additional Content Marker Macros where the Merge Block Elements parameter is set to true.

This is the rendered content:

Image Added


Section
titleRender Counter Context

The render counter context allows to define render counter sequences with the same name in different contexts. Each context is identified by its name. A

Static Document Link
documentContent Marker Macro
is associated with a Render Counter and optional with a Render Counter Context, defined by parameters.

The render counter context is especially useful if the Content Marker Macros are transcluded on the same page. In this case set the Render Counter Context on a wrapping Content Marker Macro around the source content.

Image Added


Section
titleMultiple Documents

In case the chapters of a document are on separate pages, the start value may be specified by a document property of the following format:

Code Block
{render-counter-context}#{render-counter}


Example Box
titleExample for valid Values
  • #definition
  • source#definition



Section
ignore-template-buttonstrue
titleSubordinate Topics


Hide From Reader

Create from template
blueprintModuleCompleteKeyde.smartics.atlassian.confluence.smartics-projectdoc-confluence-space-core:projectdoc-blueprint-doctype-topic
buttonLabelCreate Topic

Display Table
doctypetopic
render-no-hits-as-blanktrue
render-modedefinition
selectName, Short Description
restrict-to-immediate-childrentrue
sort-bySort Key, Name

...