Page History
...
This
...
page
...
shows
...
the
...
general
...
form
...
of
...
the
...
live
...
template
...
macro,
...
and
...
the
...
...
...
...
shows
...
an
...
example
...
of
...
the
...
macro
...
in
...
use.
...
The
...
Test
...
Template
...
is
...
a
...
space
...
template
...
created
...
and
...
modified
...
for
...
this
...
test.
...
It
...
could
...
also
...
be
...
used
...
as
...
a
...
static
...
template.
...
For more information, refer to the following page:
...
...
...
...
scaffolding/macro-reference/live-template
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
The general form is
Code Block |
---|
] The general form is: {code}{live-template:Page Template Name}{code} |
To
...
use
...
the
...
live-template
...
macro
...
- Create
...
- a
...
- template
...
- in
...
- the
...
- template
...
- editing
...
- interface.
...
- Put
...
- the
...
- live
...
- template
...
- macro
...
- on
...
- a
...
- page
...
- you
...
- want
...
- to
...
- create
...
- using
...
- the
...
- template,
...
- and
...
- update
...
- each
...
- time
...
- the
...
- template
...
- is
...
- updated.
...
For
...
this
...
example,
...
the
...
Test
...
Template
...
started
...
with
...
this
...
content:
...
This
...
is
...
a
...
test
...
template.
...
The
...
last
...
word
...
is
...
five
...
(5),
...
spelled
...
out
...
all
...
in
...
caps. FIVE
The Template Test Page shows use of the live template macro, Any differences from the preceding line represent changes in the template.
The macro on the Template Test Page is
Code Block |
---|
FIVE The template was changed, so the word "FIVE" is followed by a comma and the word "SIX." There is also a note, "(edited)". The [Template Test Page] shows use of the live template macro and how it renders the template after the template has been changed. The macro on the [Template Test Page] is: {code}{live-template:Template Test}{code} {scrollbar:icons=false} |