From 7027c30a32958a73202550ce50e6612275ab4fd7 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 26 Oct 2012 14:01:27 +0100 Subject: [PATCH] Typo We don't want these macros to be executed when this comment is displayed --- core/modules/macros/tiddler.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/modules/macros/tiddler.js b/core/modules/macros/tiddler.js index e364a4a5b..858a47dc7 100644 --- a/core/modules/macros/tiddler.js +++ b/core/modules/macros/tiddler.js @@ -12,7 +12,9 @@ Parameters: The simplest case is to just supply a target tiddler: +{{{ <> or <> +}}} 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: +{{{ <> +}}} 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: +{{{ <> +}}} Here, the text of the tiddler `Bar` will be transcluded, with the macros within it accessing the fields of the tiddler `Foo`.