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

19 lines
871 B
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
modified: 20140410103123179
tags: filters commonfilters
title: FilterOperator: tag
type: text/vnd.tiddlywiki
The ''tag'' filter operator returns the tiddlers in the current list that have the tag specified in the operand. Preceding the operator with `!` returns tiddlers that do not have the specified tag.
For example:
|!Filter String |!Description |
|`[tag[mytag]]` |Returns all tiddlers tagged `mytag` |
|`[all[shadows]tag[mytag]]` |Returns all ShadowTiddlers tagged `mytag` |
|`[all[shadows+tiddlers]tag[mytag]]` |Returns all ShadowTiddlers and non-ShadowTiddlers tagged `mytag` |
2014-04-10 18:56:51 +00:00
|`[!tag[mytag]]` |Returns all tiddlers not tagged `mytag` |
2014-06-25 14:37:43 +00:00
|`[tag[mytag]!tag[exclude]]` |Returns all tiddlers tagged `mytag` that are not tagged `exclude` |
2014-04-10 18:56:51 +00:00
See also [[FilterOperator: tagging]], [[FilterOperator: tags]] and [[FilterOperator: untagged]].