All, Untested idea;
The filter filter="[is[current]tag[project]] [is[current]tag[task]] +[count[]]" var=matches> Could wrap another filter="[<matches>match[1]]" to only display when only one is true Or perhaps (again untested) "[is[current]tag[project]] [is[current]tag[task]] +[count[]] -[[2]]" OR "[is[current]tag[project]] [is[current]tag[task]] +[count[]]!match[2]]" these are common patterns required I would like to find and publish some "best practice" Regards Tony On Saturday, February 29, 2020 at 8:18:18 AM UTC+11, Bastian wrote: > > Dang! That works. Thanks a lot! > > Am Freitag, 28. Februar 2020 20:49:18 UTC+1 schrieb Bastian: >> >> Hi, >> >> I enhanced the tiddler template where I added some content, that should >> only be displayed when the current tiddler has one of two tags. >> The tags are either "project" or "task". >> >> I have set up this list filter: >> >> <$list filter="[is[current]tag[project] || is[current]tag[task]]"> >> >> content for tiddlers with either project or task tag >> >> </$list> >> >> >> but it just won't work. >> I also tried different positions of the brackets but either the content >> is displayed for every tiddler or for none. >> >> How can I make a filter for the current tiddler that only triggers if the >> current tiddler has one of two tags? >> >> Best >> Bastian >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/068e1ecf-ae04-46a3-a285-78e92dc598e1%40googlegroups.com.

