diff --git a/editions/tw5.com/tiddlers/concepts/CurrentTiddler.tid b/editions/tw5.com/tiddlers/concepts/CurrentTiddler.tid index bc673c507..9bbf6979d 100644 --- a/editions/tw5.com/tiddlers/concepts/CurrentTiddler.tid +++ b/editions/tw5.com/tiddlers/concepts/CurrentTiddler.tid @@ -4,6 +4,10 @@ tags: Concepts title: CurrentTiddler type: text/vnd.tiddlywiki -The CurrentTiddler is the current tiddler during WikiText rendering. It is usually set by the TiddlerWidget. It allows you to write references like `<$view field="title"/>` in TemplateTiddlers without explicitly specifying the tiddler that it applies to. +The current tiddler provides an ever-changing context or background against which several features of WikiText are interpreted. -The title of the current tiddler is contained in the [[WidgetVariable: currentTiddler]]. +For example, `{{!!title}}` denotes the value of the ''title'' field of whatever the current tiddler happens to be. This technique can be used in a [[TemplateTiddler|TemplateTiddlers]] to keep the template generic. + +The title of the current tiddler can always be found in the [[currentTiddler variable|WidgetVariable: currentTiddler]]. + +The current tiddler is set in several ways, including by the ListWidget and the TiddlerWidget.