Thank you
-------- Oorspronkelijk bericht --------Van: Eric Shulman <[email protected]> 
Datum: 19-01-21  14:30  (GMT+01:00) Aan: TiddlyWiki 
<[email protected]> Onderwerp: [tw5] Re: Transclude image if Tiddler 
has tag... On Tuesday, January 19, 2021 at 4:50:47 AM UTC-8 [email protected] 
wrote:I want to transclude an image in the text field if the tiddler has 
tag:Tag "Cold" show image "Blue.png"Tag "Cool" show image "Aqua.png" "Tag 
"Neutral" show image "White.png"Tag "Warm" show image "Orange.png"Tag "Hot" 
show image "Red.png"Try this:Create a tiddler, e.g., ShowColorImage, tagged 
with $:/tags/ViewTemplate, containing:<$list 
filter="[<currentTiddler>tag[Cold]]">{{Blue.png}}</$list><$list 
filter="[<currentTiddler>tag[Cool]]">{{Aqua.png}}</$list><$list 
filter="[<currentTiddler>tag[Neutral]]">{{White.png}}</$list><$list 
filter="[<currentTiddler>tag[Warm]]">{{Orange.png}}</$list><$list 
filter="[<currentTiddler>tag[Hot]]">{{Red.png}}</$list>enjoy,-e



-- 
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/7WVb6u4JK7s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f9e28364-115c-4edf-90ae-5a9a38522110n%40googlegroups.com.

-- 
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/600756d8.1c69fb81.add15.03a7%40mx.google.com.

Reply via email to