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/9fcb2f15-4bb7-43d2-b935-c406d0ee120an%40googlegroups.com.

Reply via email to