Hi Tobias, Wow, that is so cool! That should be part of the core itself. I foresee a PR for that one. Thanks so much for taking the time to create that for me. I have it working from here <https://dl.dropboxusercontent.com/s/wco3fcvaj1mweqt/inclusivity.html#%24%3A%2F_Macros%2Fctag> now, and as demonstrated on the default tiddler of my exercise TW instance <https://dl.dropboxusercontent.com/s/wco3fcvaj1mweqt/inclusivity.html>.
Again, thanks so much for the assist with this, Hegart. On Wednesday, 17 February 2016 22:14:49 UTC+13, Tobias Beer wrote: > > Hi Hegart, > > The way things are atm, you're unfortunately going to have to mess with: > > $:/core/ui/TagTemplate > <http://tiddlywiki.com/#%24%3A%2Fcore%2Fui%2FTagTemplate> > > e.g. by changing this: > > <$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /> > > to > > <$transclude tiddler={{!!icon}}/> <$reveal type="match" default=< > <tag-caption>> text=""><$view field="tag-caption" format="text"><$view > field="title" format="text" /></$view></$reveal><$reveal type="nomatch" > default=<<tag-caption>> text=""><$text text=<<tag-caption>>/></$reveal> > > ...see attached tiddler. > > This allows you to either define a *tag-caption* variable to set a custom > tagpill title or also use a *tag-caption* field at the tiddler to display > a custom tag-pill title. > > With this little helper macro on top (also attached), things would be most > simple: > > title: $:/_my/macros/ctag > tag: $:/tags/Macro > > \define ctag(tiddler,title) > <$vars tag-caption="$title$" currentTiddler="$tiddler$">{{||$:/core/ui/ > TagTemplate}}</$vars> > \end > > e.g.: > > - <<ctag Concepts>> > - <<ctag Concepts "Custom Title">> > > Best wishes, > > Tobias. > -- 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 post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/756fbabb-908c-46ce-9682-db5677e9870a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.