• 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.

Smart Templates is the add-on app for Atlassian Confluence which helps you to create dynamic content easily and reduce content duplication by allowing you to create your pages from excerpts and parts of the other pages.

Smart Templates add-on app has a bundled macro called "Smart Templates" to help you with that.

...

By default, the macro uses it's body as a template. Let's fill it in with some contents. We will use something provided by our flagship addon called ConfiForms

Just a few tables and a chart


Image Added

When it is ready (or semi-ready, but you can configure it to use another page or page parts as we can adjust it anytime and whoever uses this template will get an updated content instantly) we save the page


It goes something like this:

Image Added


Now, the interesting part - Smart Templates can define the contents (the template) itself but also can use the contents from another page or Confluence template

Here is how.

Select the macro in the editor and click Edit

...

A macro parameters dialog will be shown

 

 

We select the "Page" as source and lookup for a page with a Smart Template we created in a previous step

Image Added

You see, the preview already shows the contents of a page we reference, so by clicking "save" on the macro preview window we get something like this inserted to the editor

Image Added

And when page is save we get the same content as in the page we referenced.

This concludes the basics.... Check here for more advanced tutorial on how you can include page parts and mix & match them