This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

tag Operator

26th November 2016 at 12:29pm
purposefilter the input by tag
inputa selection of titles
suffixS=Introduced in v5.1.14 optional strict flag
parameterT=the title of a tag
outputthose input tiddlers that have tag T
! outputthose input tiddlers that do not have tag T

Learn more about how to use Filters

The output is sorted using the tag's list field and the tiddlers' list-before and list-after fields.

The behaviour when T is empty depends on the settings of the S optional suffix:

  • if T is missing and S is either missing or set to "loose", then the output of tag is empty, and the output of !tag is a copy of the input.
  • Introduced in v5.1.14 if T is missing and S is set to "strict", then the output of both tag and !tag is a copy of the input

Examples