Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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 | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
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 | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...