1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
We don't want these macros to be executed when this comment is displayed
This commit is contained in:
Jeremy Ruston 2012-10-26 14:01:27 +01:00
parent b1f3d169fb
commit 7027c30a32

View File

@ -12,7 +12,9 @@ Parameters:
The simplest case is to just supply a target tiddler:
{{{
<<tiddler Foo>> or <<transclude target:Foo>>
}}}
This will render the tiddler Foo within the current tiddler. If the tiddler Foo includes
the view macro (or other macros that reference the fields of the current tiddler), then the
@ -22,14 +24,18 @@ If you want to transclude the tiddler as a template, so that the fields referenc
macro are those of the tiddler doing the transcluding, then you can instead specify the tiddler
as a template:
{{{
<<tiddler template:Foo>>
}}}
The effect is the same as the previous example: the text of the tiddler Foo is rendered. The
difference is that the view macro will access the fields of the tiddler doing the transcluding.
The `target` and `template` parameters may be combined:
{{{
<<tiddler target:Foo template:Bar>>
}}}
Here, the text of the tiddler `Bar` will be transcluded, with the macros within it accessing the fields
of the tiddler `Foo`.