From 2a7cdb22c03eb47b7a66ccbc77f2cfa8e615d503 Mon Sep 17 00:00:00 2001 From: saqimtiaz Date: Sun, 8 Nov 2020 10:32:37 +0100 Subject: [PATCH] Documentation for multiple filter operands (#4969) --- .../tiddlers/filters/Introduction to filter notation.tid | 9 ++++++++- .../tw5.com/tiddlers/filters/syntax/Filter Parameter.tid | 6 +++++- editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid | 6 ++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid b/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid index 9a23eb84b..b167da2b4 100644 --- a/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid +++ b/editions/tw5.com/tiddlers/filters/Introduction to filter notation.tid @@ -1,5 +1,5 @@ created: 20140410101941871 -modified: 20150228104558000 +modified: 20201103111438568 tags: Learning Filters title: Introduction to filter notation type: text/vnd.tiddlywiki @@ -85,3 +85,10 @@ In this simplest form the TextReference will take the full content of the tiddle > `[search]` Note that these special brackets cannot be nested. It is not possible for example to write `[search{}]`. + +!Multiple parameters + +<<.from-version "5.1.23">> Some steps accept multiple parameters which are separated by a ` , ` character. + +> Example: `[param1],[param2]` or `,{param2}` + diff --git a/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid b/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid index b42317c20..6b7b49eca 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/Filter Parameter.tid @@ -1,5 +1,5 @@ created: 20150220152540000 -modified: 20150220152540000 +modified: 20201103110920722 tags: [[Filter Syntax]] title: Filter Parameter type: text/vnd.tiddlywiki @@ -25,3 +25,7 @@ The parameter to a [[filter operator|Filter Operators]] can be: : <<.def variable>> :: `` :: The parameter is the current value of the [[variable|Variables]] whose name appears between the angle brackets. Macro parameters are <<.em not>> supported. + +<<.from-version "5.1.23">> Filter operators support multiple parameters which are separated by a ` , ` character. + +For example: `[param1],[param2]` or `,{param2}` diff --git a/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid b/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid index 0b8a149e8..b569ec4d6 100644 --- a/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid +++ b/editions/tw5.com/tiddlers/filters/syntax/Filter Step.tid @@ -1,5 +1,5 @@ created: 20150124182127000 -modified: 20150124191051000 +modified: 20201103111044922 tags: [[Filter Syntax]] title: Filter Step type: text/vnd.tiddlywiki @@ -18,4 +18,6 @@ The step's <<.def operator>> is drawn from a list of [[predefined keywords|Filte The <<.def suffix>> is additional text, often the name of a [[field|TiddlerFields]], that extends the meaning of certain operators. -Many steps require an explicit <<.def parameter>> value, also known as an <<.def operand>>, that further defines what the step is to do. +Many steps require an explicit <<.def parameter>> value, also known as an <<.def operand>>, that further defines what the step is to do. + +<<.from-version "5.1.23">> Some steps accept multiple parameters which are separated by a ` , ` character.