2014-01-07 11:57:42 +00:00
created: 20130825144900000
2015-02-24 16:41:16 +00:00
modified: 20150221215022000
2014-09-11 14:52:47 +00:00
tags: Concepts
2015-02-24 16:41:16 +00:00
title: Current Tiddler
2014-01-07 11:57:42 +00:00
type: text/vnd.tiddlywiki
2015-02-24 16:41:16 +00:00
The <<.def "current tiddler">> provides the context in which several aspects of WikiText are interpreted.
2014-08-02 12:39:02 +00:00
2015-02-24 16:41:16 +00:00
For example, `{{!!title}}` denotes the value of the <<.field title>> field of whatever the current tiddler happens to be. This technique can be used to create general-purpose [[template tiddlers|TemplateTiddlers]].
2014-12-28 09:51:13 +00:00
2015-02-24 16:41:16 +00:00
The title of the current tiddler can always be found in the <<.vlink currentTiddler>> variable.
2014-12-28 09:51:13 +00:00
2015-02-24 16:41:16 +00:00
The two most common ways in which the current tiddler is changed are:
* the <<.wlink TiddlerWidget>> widget
* the <<.wlink ListWidget>> widget (when its <<.attr variable>> attribute is not overridden)
The current tiddler is therefore often <<.em not>> the same as the [[tiddler that is being viewed or edited|storyTiddler Variable]].