...
Here is how our template will look like
Now we create a page and will place there a Smart Templates macro and will reference this template
...
In addition to user defined page properties there is always these variables in the context present (can be used inside Confluence template)
Variable name | ||
---|---|---|
spaceKey | ||
pageId | ||
spacekey | Current space key | |
pageid | Page ID of the page where this smart template is used | |
pagetitle | Page title of the page where this smart template is used | pageTitle
Variable names are case-sensitive!
...