1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-28 08:13:14 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/all.tid

32 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
modified: 20150220160957000
tags: [[Filter Operators]] [[Common Operators]] [[Selection Constructors]]
title: all Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
caption: all
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
The parameter specifies zero or more fundamental categories using the following syntax:
2014-04-10 18:56:51 +00:00
<$railroad text="""
[{: ("current" | "missing" |: "orphans" | "shadows" | "tiddlers" ) +"+" }]
"""/>
2014-04-10 18:56:51 +00:00
|!Category |!Members |!Sorted |
|^`current` |just the [[current tiddler|Current Tiddler]] |^-- |
|^`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
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
The <<.olink is>> operator is similar, but its scope is restricted to its input.
2015-01-19 19:37:26 +00:00
<<.operator-examples "all">>