Try 

<ul>
<$list filter="[contains:participants<currentTiddler>!sort[at]]">
 <li><$link /></li>
</$list>
</ul>

If that works inside tiddler "King George", then you can paste the text 
into a tiddler and tag it "$:/tags/ViewTemplate" and it will work 
everywhere. But you probably don't want it to work *everywhere*. So you can 
wrap it with a list that only includes tiddlers that have *participants* :

<$list filter="[all[current]has[participants]]">
<ul>
<$list filter="[contains:participants<currentTiddler>!sort[at]]">
 <li><$link /></li>
</$list>
</ul>
</$list>


On Wednesday, August 25, 2021 at 8:07:21 AM UTC-7 Sandip Deshmukh wrote:

> Here is a working dynamic list I have:
>
> <ul>
> <$list filter="[contains:participants[King George]!sort[at]]">
>  <li><$link /></li>
> </$list>
> </ul>
>
> This works perfectly.
>
> Can I convert this into a template --- 'ParticipatedListTemplate'?
>
> So, I can sit in a tiddler 'King George', write
>
> {{||ParticipatedListTemplate}} and get the same list.
>
> And if it is a template, I can do the same in 'Queen Elizabeth' tiddler, 
> too.
>
> Or is there a better way of achieving the same thing?
>

-- 
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/c24bdd50-bcb3-4f36-a826-18f8b42db62cn%40googlegroups.com.

Reply via email to