Transclude tiddler icons in a list filter?

68 views
Skip to first unread message

David Gifford

unread,
Jul 27, 2018, 9:27:41 AM7/27/18
to TiddlyWiki
Hi all

I have tiddlers with icon fields indicating an image. I am curious to know if there is a way to create a list filter that displays the icons of each tiddler as a link to the tiddler.

I tried

<<$list filter="[tag[palette]]"><$link><$transclude field="icon"/></$link></$list>

But that just displays the name of the image tiddler as a link.

I am thinking of using various colored circles as icons, and using lists to create a line of colored circles representing the tiddlers in that category. Kind of like a data visualization. A colorful way to see how many tiddlers I have in each category, and as links and with captions on hover, so I can see what they are and open them.

Mark S.

unread,
Jul 27, 2018, 9:49:11 AM7/27/18
to TiddlyWiki
What is actually in the "icon" field? The name of an icon? And the icon is then also a tiddler? If so, maybe:

<<$list filter="[tag[palette]]"><$link><$transclude tiddler={{!!icon}}/></$link></$list>

-- Mark

David Gifford

unread,
Jul 27, 2018, 9:51:33 AM7/27/18
to tiddl...@googlegroups.com
Worked like a charm! Thanks, Mark!

David Gifford
Mexico team leader, Mexico City

Resonate Global Mission
Engaging People. Embracing Christ.
A Ministry of the Christian Reformed Church
resonateglobalmission.org


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/i_MSK1UMeIU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0f407ef9-5303-4c65-86f4-b211229c058d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages