Perfect! Thanks Mark. On Friday, June 29, 2018 at 1:21:45 PM UTC-4, Mark S. wrote: > > Usually I would use a list widget for this tag-based hiding: > > > <$list filter="[all[current]tag[Test]]"> >> MY STUFF GOES HERE >> </$list> >> > > The all[current] filter operator restricts the domain to the current > tiddler. Replace "MY STUFF GOES HERE" with whatever you want. > > HTH > -- Mark > > On Friday, June 29, 2018 at 9:50:11 AM UTC-7, Allen Ormond wrote: >> >> Is there a way to reveal or transclude only if the current tiddler has a >> certain tag? >> >> Dummy code below: >> if current_tiddler_tags include "foo" >> display "bar" >> end >> >> I'm sure there's a way to do this, I just haven't wrapped my head >> completely around TW yet. >> >> Thanks! >> >>
-- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4966db71-8747-4d21-a954-9af283130241%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

