[TW5] tranclude tag list

164 views
Skip to first unread message

Bob Flandard

unread,
Nov 19, 2016, 4:26:00 AM11/19/16
to TiddlyWiki
Hi,

This link https://groups.google.com/forum/#!searchin/tiddlywiki/transclude$20all$20with$20tag|sort:relevance/tiddlywiki/OcOZ04M39XM/ftEl9FV4BwAJ

Shows how to transclude tiddler titles as links OR the text content of a tiddler (see below)

<$list filter="[tag[myTag]]">

<$transclude mode="block"/>
</$list>

with heading links...

<$list filter="[tag[myTag]]">

<h1><$link><$view field="title"></$link></h1>
<$transclude mode="block"/>
</$list>

How do I combine them to have the tiddler title (as a link) followed by the content of the tiddler? So if there are five tiddlers tagged with "myTag", I get TITLE (as link) followed by CONTENT, repeated five times (once for each tiddler)

Thanks, Bob

Riz

unread,
Nov 19, 2016, 5:24:10 AM11/19/16
to TiddlyWiki
<$list filter="[tag[HelloThere]]">

!<$link>{{!!title}}</$link>
{{!!text}}
</$list>

Bob Flandard

unread,
Nov 19, 2016, 6:30:40 AM11/19/16
to TiddlyWiki
Hi Riz,

Perfect!

Many thanks, Bob
Reply all
Reply to author
Forward
0 new messages