1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Improvements to wording

This commit is contained in:
Astrid Elocson 2014-12-28 09:51:13 +00:00
parent 7290be9e47
commit e9c6610d74

View File

@ -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.