title: $:/core/ui/EditTemplate/tags tags: $:/tags/EditTemplate \define lingo-base() $:/language/EditTemplate/ \define tag-styles() background-color:$(backgroundColor)$; fill:$(foregroundColor)$; color:$(foregroundColor)$; \end \define tag-body-inner(colour,fallbackTarget,colourA,colourB) <$vars foregroundColor=<> backgroundColor="""$colour$"""> > class="tc-tag-label"> <$view field="title" format="text" /> <$button message="tm-remove-tag" param={{!!title}} class="tc-btn-invisible tc-remove-tag-button">× \end \define tag-body(colour,palette) <$macrocall $name="tag-body-inner" colour="""$colour$""" fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}}/> \end \define tag-picker-actions() <$action-listops $tiddler=<> $field="tags" $subfilter="[] [all[current]tags[]]" /> \end
<$fieldmangler> <$list filter="[all[current]tags[]sort[title]]" storyview="pop"> <$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}}/> <$macrocall $name="tag-picker" actions=<>/>