I’m tinkering with button templates and trying to list all tiddlers that are tagged as Checklists, many of which have “Checklist” as a suffix, but some do not.
I wanted to create a filter that will remove the Checklist suffix from any tiddler that has it, but if it doesn’t (lets say, a tiddler tagged checklist with the title of Grocery List) just to show the title.
<$tiddler tiddler=<<currentTab>> >
<$list filter="[<currentTab>has:suffix[Checklist]removesuffix[Checklist]else<currentTab>]">
<$view field="title"/>
</$list>
</$tiddler>
Above is what I’ve tried so far, but I can’t seem to figure out what isn’t working with it.