kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Improvements to wording
rodzic
7290be9e47
commit
e9c6610d74
|
@ -4,6 +4,10 @@ tags: Concepts
|
||||||
title: CurrentTiddler
|
title: CurrentTiddler
|
||||||
type: text/vnd.tiddlywiki
|
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.
|
||||||
|
|
Ładowanie…
Reference in New Issue