1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-14 20:20:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/variables/WidgetVariable_ storyTiddler.tid

15 lines
801 B
Plaintext

caption: storyTiddler
created: 20141001232753952
modified: 20150221222522000
tags: Variables [[Core Variables]]
title: storyTiddler Variable
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.
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]].
<<.var storyTiddler>> is undefined outside the story river, such as in the sidebar.
<<.variable-examples "storyTiddler">>