> Hmmm.... soooo... do I get it right, that in order not to type all that >> "list" thing each time I need to make 2 macros? >> > > No, it could all be in one code if it weren't for the fact > that "background-color:" can't take <<...>> as an argument but it *can *take > $(...)$ as an argument. I'm not quite sure why. So it's a CSS syntax thing, > not really a logic thing. > > B-but... why it needs a macro inside? why it can't be just:
<$list filter="[{!!rating}compare:integer:gt[70]then[green]] ~[{!!rating}compare:integer:gt[50]then[grey]] ~[[red]]" variable=color> Rating <span style="color:$(color)$">{{!!rating}}</span> </$list> ? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e413fa35-48a0-4c86-9b41-cbac724d6e56o%40googlegroups.com.