Hi, Several times in this group someone wants to build a if then (else) wikitext macro. The solution with the <$list> widget works fine. But the code is often complicated.
I just wanted to point out that sometimes the use of the <$importvariables> widget is simpler. Instead of writing an (often) convoluted macro to treat two or three different cases with the <$list> widget, you can write two or three different simple macros in different tiddlers and select the tiddler you want to import based on the value for instance of a checkbox in an interface. It works fine when the different cases are based on the value the user chooses via a select or a checkbox or a radio button. And in this case I feel it's a more TWish(?) way of doing things (with filters and tiddlers). Another tool in the TW toolbox ! Regards FrD -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/659163fd-b65b-46a6-89a1-50664ffc49f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

