1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 11:13:15 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/lookup Operator.tid

25 lines
931 B
Plaintext
Raw Normal View History

2017-09-07 14:48:00 +00:00
caption: lookup
created: 20170907103639431
modified: 20170907144703051
2017-09-07 14:48:00 +00:00
op-input: a [[selection of titles|Title Selection]]
op-output: the lookup values corresponding to each input title
op-parameter: prefix applied to input titles to yield title of lookup tiddler from which value is retrieved
op-parameter-name: P
op-purpose: applies a prefix to each input title to yield the title of a tiddler from which the final value is retrieved
op-suffix: the default value to be used for missing lookups
op-suffix-name: D
2017-09-07 14:48:00 +00:00
tags: [[Filter Operators]]
title: lookup Operator
type: text/vnd.tiddlywiki
2017-09-20 10:48:06 +00:00
<<.from-version "5.1.15">>
2017-09-07 14:48:00 +00:00
The action of this operator is as follows:
2017-09-07 14:48:00 +00:00
* Apply the specified prefix to each input tiddler title, yielding a new list of tiddler titles
* Transclude the value of each of those tiddlers
** Substitute the default value for missing or empty tiddlers
2017-09-07 14:48:00 +00:00
* Return the list of values
<<.operator-examples "lookup">>