1) Make a tiddler with that code above to act as your transclusion
"template". Start it with <$tiddler tiddler=<<currentTiddler>>> and end it
with </$tiddler>. Name it, you will need its name for step 2.
2) in any tiddler you want to reuse it in, use
{{||templatetiddlernamefromstep1}}
On Saturday, June 12, 2021 at 5:25:09 AM UTC-4 [email protected] wrote:
> Hello,
>
> The following is listing the values out of field "*warning*" of tiddler "
> *@fields*". The name of the listed field bears the same name as the
> tiddler containing the list-code:
>
> In tiddler warning:
> *<$list
> filter="[list[@fields!!warning]search:title{$:/temp/search@fields}]"
> variable=warning-value>*
>
>
> I want to transclude this code in different tiddlers.
> How do I avoid having to specify the field name every time?
> $tiddler="@fields" $field=<<currentTiddler>>
>
> Thank you,
>
--
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/645ffaa5-4a1f-4fd7-8701-3f896021c1a7n%40googlegroups.com.