• Confluence is currently running with all non-system plugins disabled, some functionality may be missing

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is how our template will look like

Image RemovedImage Added

Now we create a page and will place there a Smart Templates macro and will reference this template

 

Image Added

 

And we will also put Confluence standard page properties macro where we define a "myname" variable / property

Image Added

The variable in the Confluence template will be substituted with the value "Alex", as page properties macro defines this variable here

And the resulting page created by Smart Template will look like this

Image Added

You can define multiple page properties (as table rows) and multiple sets of page properties (multiple "page properties" macros)

 

 

In addition to use user defined page properties there is always these variables in the context present (can be used inside Confluence template)

pageTitle
Variable name

spaceKey

pageId
 

spacekey

Current space key
pageidPage ID of the page where this smart template is used
pagetitlePage title of the page where this smart template is used

Variable names are case-sensitive!

...