2014-04-10 18:56:51 +00:00
created: 20140410103123179
2015-02-03 19:29:25 +00:00
modified: 20150203191853000
2015-01-24 21:18:44 +00:00
tags: [[Filter Operators]] [[Common Operators]] [[Tag Operators]] [[Negatable Operators]]
title: tag Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
2015-01-24 21:18:44 +00:00
caption: tag
2015-02-03 19:29:25 +00:00
op-purpose: filter the input by tag
op-input: a [[selection of titles|Title Selection]]
op-parameter: the title of a [[tag|Tagging]]
op-parameter-name: T
op-output: those input tiddlers that have tag <<.place T>>
op-neg-output: those input tiddlers that do <<.em not>> have tag <<.place T>>
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
The output is [[sorted|Order of Tagged Tiddlers]] using the tag's <<.field list>> field and the tiddlers' <<.field list-before>> and <<.field list-after>> fields.
2014-04-10 18:56:51 +00:00
2015-02-03 19:29:25 +00:00
If <<.place T>> is empty, the output of `tag` is empty, and the output of `!tag` is a copy of the input.
2014-04-10 18:56:51 +00:00
2015-01-24 21:18:44 +00:00
<<.operator-examples "tag">>