Re: [tw5] Re: Select among three tiddlers with priority

2019-12-04 Thread Mohammad
Yep, this is a smart solution and more semantic than my solution! Thanks Xavier! --Mohammad On Wednesday, December 4, 2019 at 1:12:22 PM UTC+3:30, Xavier wrote: > > Hi Mohammad, > > For your use case, here is a typical use of the ~ operator (aka "else") on > filter runs : > > <$list

Re: [tw5] Re: Select among three tiddlers with priority

2019-12-04 Thread Xavier Cazin
Hi Mohammad, For your use case, here is a typical use of the ~ operator (aka "else") on filter runs : <$list variable=template filter="[tag[a]] ~[tag[b]] ~[[tid3]]"> <$transclude mode=block tiddler=<> /> Best regards, Xavier. On Wed, Dec 4, 2019 at 8:02 AM Mohammad wrote: > Yes, seems your

[tw5] Re: Select among three tiddlers with priority

2019-12-04 Thread TonyM
Mohammad, The word is perhaps overiding rather than overloading. There are a number way to do this that I use for this. I will share some. Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Re: Select among three tiddlers with priority

2019-12-03 Thread Mohammad
Yes, seems your solution also works! I am trying to use this for tiddler overloading like the one is found for shadow tiddlers! So, tid2 is required to overload if tid1 exist! If none exist TW should use a default tiddler called tid3 here! One use case: 1. Display a tiddler using

[tw5] Re: Select among three tiddlers with priority

2019-12-03 Thread TonyM
Mohammad, Am I correct restating your requirement that "given three tiddlers select the first one you find?" I would think this works, if not your own example <$list filter="[tag[a]] [tag[b]] [[tid3]] +[limit[1]]"> <> Tony On Wednesday, December 4, 2019 at 5:28:21 PM UTC+11, Mohammad wrote: