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 variable=template filter="[tag[a]] ~[tag[b]] ~[[tid3]]"> > <$transclude mode=block tiddler=<<template>> /> > </$list> > > Best regards, > Xavier. > > On Wed, Dec 4, 2019 at 8:02 AM Mohammad <[email protected] > <javascript:>> wrote: > >> 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 template tid2 (the one tagged with b) >> 2. If user supplied its own template use user template here is tid1 >> (the one tagged with a) >> 3. If not supplied tid1 nor tid2 use a default template called tid3 >> >> >> >> --Mohammad >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/b9e4d7a7-e8d2-43b1-9e56-60ddf30b263c%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/b9e4d7a7-e8d2-43b1-9e56-60ddf30b263c%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/73d9e33a-89cd-4bb3-9e30-a6817f574bfa%40googlegroups.com.

