1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-14 13:54:50 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/variables/WidgetVariable_ storyTiddler.tid

15 lines
801 B
Plaintext
Raw Normal View History

2014-10-02 15:02:48 +00:00
caption: storyTiddler
created: 20141001232753952
modified: 20150221222522000
tags: Variables [[Core Variables]]
title: storyTiddler Variable
2014-10-02 15:02:48 +00:00
type: text/vnd.tiddlywiki
When a tiddler is viewed or edited, then within its branch of the [[widget tree|Widgets]], the <<.def storyTiddler>> [[variable|Variables]] contains the title of that tiddler.
2014-10-02 15:02:48 +00:00
The default [[view template|$:/core/ui/ViewTemplate]] and [[edit template|$:/core/ui/EditTemplate]] initialise <<.var storyTiddler>> to the value of the <<.vlink currentTiddler>> variable. This in turn will have been set by a <<.wlink ListWidget>> widget in [[the relevant part of the page template|$:/core/ui/PageTemplate/story]].
2015-01-07 15:18:36 +00:00
<<.var storyTiddler>> is undefined outside the story river, such as in the sidebar.
2015-01-07 15:18:36 +00:00
<<.variable-examples "storyTiddler">>