Howdy!
I'm trying to customize with a plugin to show a to-do style list. Am trying to conditionally format entries based on custom fields.
My tiddlers that populate the list have a custom field 'priority'. I'd like to render the HTML output so that the value of the priority field is rendered based on their value. For example, (priority value) 'high' is in red, while others 'medium' 'low' are different colors.
Not sure how to do the above or use conditional operators in this case.
!! Outstanding tasks
<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]">
<$checkbox tag="done">
<$link to={{!!title}}><$view field="title"/></$link> <$view field="priority"/> <br/>
<span style="color:gray;"><$view/></span>
</$checkbox>
</$list>
* New to Tiddlywiki programming syntax, so any pointers to tutorials on TW5 programming would be additionally helpful!
Thanks,
Sid