Hi Jack, The Vote plugin from Kooma Library do rating and you can retrieve stars and compare and analyse!
But if you want your simplest solution the below is one! Wait for better, I sure you will get alternatives \define getStars() <$list filter="[range[1,$(vl-stars)$]]">*</$list> <$list filter="[all[current]has[rating]get[rating]]" variable="vl-stars"> <<getStars>> </$list> The above can be used inside a vietemplate if you like to have stars automatically displayed! Adopt if you like to use a table! for a specific tiddler! Best wishes Mohammad On Mon, May 10, 2021 at 7:03 PM Jack Baty <j...@baty.net> wrote: > I have a "rating" field that contains a number from 1-5. > > When generating a table (or list) of rated tiddlers, I want to display the > rating as a number of stars. e.g. ★★ or ★★★ etc corresponding to the value > in rating for each tiddler. > > For the life of me, I can't figure out how to do this. Is there some form > of string math like "★*rating"? Do I need to choose from a pre-defined > list? Do I need to just give up and change the field to contain the actual > stars? I'm stumped, sorry. > > Jack > > > > > -- > 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/cc78aa80-95c1-4608-aad8-f41c4d2959b9n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/cc78aa80-95c1-4608-aad8-f41c4d2959b9n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAAV1gMDbJFm-_YPMabdPjHy8LcQ2GUJgwbe84JVWKV_eTwXA9g%40mail.gmail.com.