Thanks for the alternatives, Tones.
Regards
Jon
On Tuesday, 26 January 2021 at 23:47:38 UTC TW Tones wrote:
> Jon,
>
> Mark refactrored you code as requested but a shorter for is if the
> cauurrent tiddler is valid use this;
>
> {{{ [all[current]get[caption]] ~[<currentTiddler>] }}}
>
> Or for plain text
>
> <$text text={{{ [all[current]get[caption]] ~[<currentTiddler>] }}}/>
>
> Regards
> Tones
> On Wednesday, 27 January 2021 at 07:51:05 UTC+11 Jon wrote:
>
>> Perfect! Thanks a lot Mark.
>>
>> On Tuesday, 26 January 2021 at 17:23:26 UTC Mark S. wrote:
>>
>>> Try:
>>>
>>>
>>>> <$list filter=[tag[triangle]]>
>>>> <div class="hover-to-show">
>>>>
>>> <$list filter="[all[current]has[caption]get[caption]]
>>>> :else[<currentTiddler>]" variable=name >
>>>> <$link><<name>></$link><br/>
>>>>
>>> </$list>
>>>
>>>> <span class="hover-to-show-inner">
>>>> <$transclude mode=block/>
>>>> </span>
>>>> </div>
>>>> </$list>
>>>>
>>>>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/37a1edcb-3ce2-402e-b839-531358cbb526n%40googlegroups.com.