21st February 2015 at 10:56pm
The transclusion variable is set by the $transclude
widget to a string that identifies the position of that widget within the widget tree.
TiddlyWiki's core uses it to detect recursive transclusion. It is also used to implement the qualify
macro.
The string has the following syntax:
- the title of the current tiddler
- the title of the tiddler being transcluded
- the name of the field being transcluded
- the name of the property name or index being transcluded
- the name of the subtiddler being transcluded from a plugin
Many of the five items are often blank.
In the sidebar, the value of transclusion
is:
{|$:/core/ui/PageTemplate/sidebar|||}
When the tiddler HelloThere
is displayed in the story river, transclusion
is set to:
{HelloThere|HelloThere|||}