Versions Compared

Key

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

...

Table of Contents
minLevel1
maxLevel6
outlinefalse
typeflat
separatorpipe
printablefalse

Overview

Ever had to create new pages where they were all the same layout and had similar content?Sure, you

...

You could create a global template or a space template to make the job easier but if you had to make a minor edit in the template, it wouldn't be reflected in all the pages that used the same global or space template. You'd have to edit each page one by one!

Scaffolding can make your life easier with the Live Template macro.

Info

Live Templates are dynamic templates that you only need to edit once, and the changes are reflected automatically across all the pages that use that template. No extra action required.

Excerpt
hiddentrue
namevideo

Let's watch this:

Widget Connector
overlayyoutube
_templatecom/atlassian/confluence/extra/widgetconnector/templates/youtube.vm
width400px
urlhttp://youtube.com/watch?v=qpfY6fMWGIs
height300px

Ingredients

Apps

Scaffolding

Macros

Live Template

Guide

...

...

    • use Confluence templates

...

...

    • or create a normal page

...

Info

The macro works with both options.

...

  • type {live-template} on an empty page

...

...

...

    • choose the template type

...

    • enter the name (of template you created in Step 1

...

    • )

  • Save/Update the page

...

Now every time you edit the template, the page or any other page with the Live Template set to that template will update it updates automatically.