1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/concepts/Current Tiddler.tid

19 lines
876 B
Plaintext
Raw Normal View History

2014-01-07 11:57:42 +00:00
created: 20130825144900000
modified: 20150221215022000
2014-09-11 14:52:47 +00:00
tags: Concepts
title: Current Tiddler
2014-01-07 11:57:42 +00:00
type: text/vnd.tiddlywiki
The <<.def "current tiddler">> provides the context in which several aspects of WikiText are interpreted.
2014-08-02 12:39:02 +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
The title of the current tiddler can always be found in the <<.vlink currentTiddler>> variable.
2014-12-28 09:51:13 +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]].