This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

lookup Operator (Examples)

 18th November 2021 at 2:54am

[all[shadows+tiddlers]tag[$:/tags/PageControls]lookup[$:/config/PageControlButtons/Visibility/]]
→ Retrieve the visibility status of each page control button

[all[shadows+tiddlers]tag[$:/tags/PageControls]lookup:show[$:/config/PageControlButtons/Visibility/]]
→ Retrieve the visibility status of each page control button, this time with a default value

[all[tiddlers]has[plugin-type]removeprefix[$:/plugins/tiddlywiki/]lookup:missing-description:field[$:/plugins/tiddlywiki/],[description]]
→ Retrieve the description of all plugin-tiddlers that are in the $:/plugins/tiddlywiki/ namespace.

OriginalTiddlerPaths +[lookup:missing-index:index[$:/config/],[HelloThere]]
→ Lookup the original tiddler path on disk for the Hello There tiddler.

OriginalTiddlerPaths +[lookup:missing-index:index[$:/config/],[MissingTiddler]]
→ Lookup the original tiddler path on disk for the MissingTiddler tiddler.

HistoryList MissingHistoryList +[lookup:missing-0:index[$:/]]
→ Retrieve index 0 from the $:/HistoryList and $:/MissingHistoryList.

OriginalTiddlerPaths MissingTiddlerPaths +[lookup:missing-tiddler:index[$:/config/],[$:/key-test]]
→ Retrieve index $:/key-test from $:/config/OriginalTiddlerPaths and $:/config/MissingTiddlerPaths.