2014-04-10 18:56:51 +00:00
created: 20140410103123179
2015-02-03 19:29:25 +00:00
modified: 20150203183224000
2015-01-29 13:40:18 +00:00
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]]
2015-01-18 18:39:00 +00:00
title: all Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
2015-01-18 18:39:00 +00:00
caption: all
2015-02-03 19:29:25 +00:00
op-purpose: find all titles of a fundamental category
op-input: ignored, unless the parameter is empty
op-parameter: zero or more categories
op-output: the titles that belong to all the specified categories
2015-01-18 18:39:00 +00:00
2015-01-24 21:18:44 +00:00
The parameter specifies zero or more fundamental categories using the following syntax:
2014-04-10 18:56:51 +00:00
2015-01-18 18:39:00 +00:00
<$railroad text="""
[{: ("current" | "missing" |: "orphans" | "shadows" | "tiddlers" ) +"+" }]
"""/>
2014-04-10 18:56:51 +00:00
2015-01-18 18:39:00 +00:00
|!Category |!Members |!Sorted |
2015-01-19 19:37:26 +00:00
|^`current` |just the [[current tiddler|CurrentTiddler]] |^-- |
2015-01-24 21:18:44 +00:00
|^`missing` |all non-existent tiddlers to which there is at least one [[hard link|Hard and Soft Links]] |^no |
|^`orphans` |all tiddlers to which there are <<.em no>> hard links |^by title |
2015-01-19 19:37:26 +00:00
|^`shadows` |all the [[shadow tiddlers|ShadowTiddlers]] that exist, including any that have been overridden with non-shadow tiddlers |^no |
|^`tiddlers` |all the non-shadow tiddlers that exist |no |
2014-04-10 18:56:51 +00:00
2015-01-19 19:37:26 +00:00
If the parameter specifies more than one category, they are processed from left to right. The overall output is initially empty, and each category's output is [[dominantly appended|Dominant Append]] to it in turn. Unrecognised categories contribute nothing to the output.
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
As a special case, if the parameter is empty, the output is simply a copy of the input. This can be useful when the parameter is [[soft|Filter Parameter]].
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
The <<.olink is>> operator is similar, but its scope is restricted to its input.
2015-01-19 19:37:26 +00:00
2015-01-18 18:39:00 +00:00
<<.operator-examples "all">>