This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.

For the full Grok TiddlyWiki experience, please visit the wiki version of this page.

Ex:VariableTransclusion/answer

9th April 2021 at 3:15pm

The variable reference is accessible within the transcluded tiddler – the scope is not limited to the tiddler in which the variable is set, but also applies to any transclusions that happen within the set block. In other words, if you place this in Tiddler 2:

<<myVariable>>

Then when viewing Tiddler 1, test appears, even though myVariable was not physically defined in Tiddler 2.

This “bleed-over” proves quite useful in many situations, especially ones that involve templates (a concept we'll discuss in the next section).

Go to question: Ex:VariableTransclusion