As an exercise for using the list widget I am trying to generate a list displaying all tiddlers that have internal links and their internal links as a definition list:
;tid A
:link 1
:link 2
;tid B
:link 3
:link 4
I tried the following but I find myself unable to determine properly whether a tiddler actually has links and to remember its title using a
wikitext variable...
<dl>
<$list filter="[all[tiddlers]]">
<dt>
<$set name="tid" value={{!!title}}/>
<$list filter="[all[current]links[]first[]]">
<$link to=$(tid)$>$(tid)$</$link>
</$list>
</dt>
<$list filter="[all[current]links[]]">
<dd><$link to={{!!title}}><$view field="title"/></$link></dd>
</$list>
</$list>
</dl>
Also, once working, would this also be possible for external links?
Best wishes, Tobias.