Improvements to wording

print-window-tiddler
Astrid Elocson 2014-12-28 09:51:13 +00:00
rodzic 7290be9e47
commit e9c6610d74
1 zmienionych plików z 6 dodań i 2 usunięć

Wyświetl plik

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