Skip to main content
Skip table of contents

PTC Tags

Standard Tags

The tag-marker is configurable in the Page Tree Creator settings. In the standard configuration they are double underscores: __tag__

When using the Page Tree Creator, any tag from the source page tree/template is displayed in the replacement form and will be replaced with the user input.


Default Tags

Default Tags can be inserted like the normal tags, but get replaced automatically and don't appear in the replacement dialog.

Default Tag

Example Replacement

Description

__current_user__

Johnny Testhand

Inserts the current user

__current_date__

17 Jun 2019

Inserts the current date

__current_time__

17:24

Inserts the current time

__current_country__

Switzerland

Inserts the current country

__current_year__

2019

Inserts the current year

__current_weekday__

Monday

Inserts the current day of the week, e.g. Monday, Tuesday...

__current_day__

17

Inserts the current day within the month, e.g. 15

__current_week_number__

25

Inserts the current week number, e.g. 29

__current_month_text__

June

Inserts the current month as string, e.g. April

__current_month_number__

06

Inserts the current month as number, e.g. 8

__template_title__

__Englisch__ PTC Tags and Macros __5.0_Version__

Inserts the title of the template page

__template_space__

Page Tree Creator Template Space

Inserts the space of the template page

__template_version__

v.16

Inserts the version of the template page

__template_creator__

Johnny Testhand

Inserts the user, which created the template page

__template_last_modifier__

Johnny Testhand

Inserts the user, which has most recently edited the template page

__template_last_modificaation_date__

12 Jun 2019

Inserts the modification date of the template page

__source_space_title__

Page Tree Creator

Inserts the title of the space the original page belongs to

__source_space_key__

PEPSPTC

Inserts the key of the space the original page belongs to

__target_space_title__

Page Tree Creator Documentation

Inserts the title of the space the new page is created in

__target-space__key

PPTCDOC

Inserts the key of the space the new page is created in


Consecutive Tags

  • You can enter any tag from a PTC Template to use it as Consecutive Tag.

  • The tag is replaced by a number that is counted up once on each PTC Template Instantiation.

  • If the same Consecutive Tag is defined on both source and target space, the one from the target space is used.

  • Add a consecutive tag in space → space tools → Page Tree Creator → Consecutive Tags Click on the add button

Count up works like following:

001→ 002 → 003→ ...→ 009→ 010→ 011


Template Sticker

Template Sticker can be inserted into the page title of a Confluence page. When using the Page Tree Creator the template sticker is automatically removed. It is configurable in the Page Tree Creator settings. "_Template" is set as default.

original: "_Template page title"

result: "page title"

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.