On Sunday, March 7, 2021 at 9:22:01 AM UTC-8 staltari...@gmail.com wrote:

> <$set name="myVariable" value={{{ [{!!title}addprefix[Gifts.]] }}}>
> <$list filter="[tag<myVariable>tag[Gifts.Core]]">
> <$link to=<<currentTiddler>>><$view field=title/></$link>,&nbsp;</$list>
> </$set>
>

The technique you used is needed because you need to construct the tag 
value before you use it as a parameter to the tag[...] filter.

However, your code can be written more compactly, like this:
<$vars myVariable={{{ [{!!title}addprefix[Gifts.]] }}}>
<$list filter="[tag<myVariable>tag[Gifts.Core]]"><$link />,&nbsp;</$list>
</$vars>

* use $vars instead of $set
* use $link with the default values for to="..." and the display of the 
title text

enjoy,
-e

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4c37cc3a-a49e-4b21-b8c8-d1ef00d27eb0n%40googlegroups.com.

Reply via email to