Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledefault
typelist
printablefalse

Go back to the Tryout page: Page Tree Creator

Documentation: PTC Placeholders

Copy this page, to see how the example placeholders are replaced.

Ptc button
buttonNameCopy this page
isCopyRestrictionstrue
targetPageId298975248
directEditRedirectfalse
hideDisabledButtonfalse
resolveTitlestrue
sourcePageId
copyAttachmentstrue
sourcePage@self
permittedGroups
showPageSelectiontrue
isCopyLabelstrue
watchPagesMAIN
topPageLabels
fixedTargetfalse
targetPageAS2:Stacker

Standard Placeholders

Info

Placeholders can be used in page titles, macro parameters, labels, URLs and attachment names!

Example: "$$Name$$" can be replaced with your name "John Smith"
Every "$$Name$$" placeholder that is in the document will be replaced with "John SmithSmith”.

In the default settings, the placeholder marker corresponds to a double dollar sign "$$", but this can be configured to your choice of marker.

Also, the PTC Create Page Macro will automatically detect standard placeholders, even without an associated Placeholder Configuration Macro. This feature is showcased when copying the page with the button “Copy this page”. $$Name$$ will be detected as a placeholder, and you will be able to replace it.

Example for Standard Placeholder

...

Info

You can create your own default values for your placeholders with the Default Value Macro (PRO). You can find examples here: (insert examplepage) PTC Examples to be copied.

...

Cascaded Placeholders

Cascaded Placeholders allow users to create templates from templates. These Placeholders create another template with a placeholder when instantiated. This process can continue, creating multiple levels of templates.

...

Ptc tag description
dropdown-entries
dropdown-separator
info-textReplace this with $$$$author$$$$
regex-input
tag-id$$$$$$Cascaded_Placeholder$$$$$$$$author$$
format-idSTANDARD
dropdown-entries
required-idtrue
multiple-dropdown-selectfalse
config-macro-hiddentrue

...