From 132c9b7a637690ab11144961a184e45bb0aa8b87 Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Fri, 14 Feb 2025 14:50:20 +0100 Subject: [PATCH] [DOCS] Crosslink, then / else Operators, :then / :else Fiter Run Prefixes --- editions/tw5.com/tiddlers/filters/else Operator.tid | 6 +++++- .../tiddlers/filters/syntax/Else Filter Run Prefix.tid | 6 ++++-- .../tiddlers/filters/syntax/then Filter Run Prefix.tid | 4 +++- editions/tw5.com/tiddlers/filters/then Operator.tid | 4 +++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/editions/tw5.com/tiddlers/filters/else Operator.tid b/editions/tw5.com/tiddlers/filters/else Operator.tid index 83f6dbe7d..1597392e6 100644 --- a/editions/tw5.com/tiddlers/filters/else Operator.tid +++ b/editions/tw5.com/tiddlers/filters/else Operator.tid @@ -1,6 +1,6 @@ caption: else created: 20190802113024942 -modified: 20190802113919945 +modified: 20250214134515047 op-input: a [[selection of titles|Title Selection]] op-output: the original input titles unless empty, in which case return a list with the single entry <<.place E>> op-parameter: a string @@ -13,3 +13,7 @@ type: text/vnd.tiddlywiki <<.from-version "5.1.20">> See [[Conditional Operators]] for an overview. <<.operator-examples "else">> + +Also see: [[then Operator]] | [[Then Filter Run Prefix]] and [[Else Filter Run Prefix]] + + diff --git a/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid b/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid index dee5fc7be..263b14cdf 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/Else Filter Run Prefix.tid @@ -1,6 +1,6 @@ created: 20230318142408662 from-version: 5.1.23 -modified: 20230322140756821 +modified: 20250214134609217 rp-input: all titles from previous filter runs rp-output: if the filter output so far is an empty list then the output titles of the run are [[dominantly appended|Dominant Append]] to the filter's output.
if the filter output so far is not an empty list then the run is ignored. rp-purpose: the filter run is only evaluated if the filter output of all previous runs so far is an empty list @@ -15,4 +15,6 @@ type: text/vnd.tiddlywiki [[run|"Filter Run"]] """/> -This prefix has a [[Shortcut Filter Run Prefix]] symbol `~run` \ No newline at end of file +This prefix has a [[Shortcut Filter Run Prefix]] symbol `~run` + +Also see: [[Then Filter Run Prefix]] | [[then Operator]] and [[else Operator]] diff --git a/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid b/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid index b74000b5a..1677507cb 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/then Filter Run Prefix.tid @@ -1,6 +1,6 @@ created: 20210618133745003 from-version: 5.3.0 -modified: 20230710074225410 +modified: 20250214134634286 rp-input: <<.olink all>> tiddler titles rp-output: the output of this filter run replaces the output of previous runs unless it is an empty list (see below) rp-purpose: replace any input to this filter run with its output, only evaluating the run when there is any input @@ -36,3 +36,5 @@ The major difference between the <<.op then>> operator and a <<.op :then>> prefi [[Then Filter Run Prefix (Examples)]] +Also see: [[Else Filter Run Prefix]] | [[then Operator]] and [[else Operator]] + diff --git a/editions/tw5.com/tiddlers/filters/then Operator.tid b/editions/tw5.com/tiddlers/filters/then Operator.tid index e4d389a29..2b2e72779 100644 --- a/editions/tw5.com/tiddlers/filters/then Operator.tid +++ b/editions/tw5.com/tiddlers/filters/then Operator.tid @@ -1,6 +1,6 @@ caption: then created: 20190802112756430 -modified: 20230501174334627 +modified: 20250214134501357 op-input: a [[selection of titles|Title Selection]] op-output: the input titles with each one replaced by the string <<.place T>> op-parameter: a string @@ -15,3 +15,5 @@ type: text/vnd.tiddlywiki <<.tip "The [[Then Filter Run Prefix]] has a similar purpose to the <<.op then>> operator. See its documentation for a comparison of usage.">> <<.operator-examples "then">> + +Also see: [[else Operator]] | [[Then Filter Run Prefix]] and [[Else Filter Run Prefix]]