Following the principle that teaching a hungry man to catch fish is better than feeding him a single fish...
You need a stylesheet that uses .tc-tagged-wichtig etc. Read https://tiddlywiki.com/#How%20to%20apply%20custom%20styles%20by%20tag On Wednesday, January 31, 2018 at 1:31:36 PM UTC-6, Surya wrote: > > Hi, > > again here :-) > > Now I have the situation, that I want in another wiki to have 3 types of > showing tiddlerlinks in the sidebar (shown there with > toc-selective-expandable): > > > - Some tiddlers have the tag "wichtig" >they should be shown red in > the sidebar. > - Some tiddlers have the tag "RezeptGetested" >they should be shown > green in the sidebar. > - Some tiddlers have the tag "RezeptNICHTGetested" >they should be > shown orange in the sidebar. > > I made it with building 3 different tiddlers, tagged with $:/tags/Macro > with > \define toc-caption() > <$list filter="[all[current]regexp: > tags[\bTag\b]]" variable="dum">@@color:Coulour;<$view field="caption"><$view > field="title"/></$view>@@</$list> > <$list filter="[all[current]!regexp:tags[\bTag\b]]" variable="dum"><$view > field="caption"><$view field="title"/></$view></$list> > \end > > >Of course with the different tags & different coulours > > > And I made it with only 1 tiddler, tagged with $:/tags/Macro with the same > command (but repeated 3 times- of course with the different tags & > different coulours). > > > Both didn't work. > But it works, if I only make 1 tiddler with 1 tag + 1 coulour. > > So, it seems, that, if there are 3 different conditions with resulting > coulours, they disturb each other. > > How to solve this? > > Surya > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/8b649379-972e-4e65-8bc6-3b8cb1b6e891%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.