[tw5] Example of a tool tip for abbreviations

Hi,

At TimP — Notes

I use a global macro to find a tiddler by name and render it as a button.

I would welcome code review or comments.

best wishes
Tim

G’day Tim,

Because I really much prefer short-hand transclusions over macros, I just looked at that approach, and I fiddled a little bit with your implementation because I prefer type as little as possible and let the Transclusion template do as much of the work as possible.

(Code pasted after the two screenshots)

Ignore the triple-tick delimiters (needed by Talk TiddlyWiki for TW code)

<$list filter="[search:title,caseinsensitive{!!title}!match[tAbbr]]">
<$button tooltip={{!!text}}>{{!!title}}</$button>
</$list>

and

Using an abbreviation works like this long hand: {{{ togaf || tAbbr }}}

Thank you,

I have updated with your implementation.

best
Tim