This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

transclusion Variable

 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:

{a|b|c|d|e|}

  1. the title of the current tiddler
  2. the title of the tiddler being transcluded
  3. the name of the field being transcluded
  4. the name of the property name or index being transcluded
  5. 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|||}

Examples