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

...

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$$author$$
format-idSTANDARD
dropdown-entries
required-idtrue
multiple-dropdown-selectfalse
config-macro-hiddentrue

...