On Wednesday, August 19, 2015 at 11:25:21 AM UTC-7, Mat wrote: > > I just discovered an IF-ELSE macro > <http://tiddlywiki.com/#%24%3A%2Feditions%2Ftw5.com%2Fif-macro.js> on > tw.com. I have considered asking if some kind of if-else operator could > be implemented so this might be a welcome discovery - but I can't find any > guidance on how to use it? And why isn't it more "public"? I must typically > use workarounds involving filtering things, often with only one title > involved. >
The macro takes three params: "cond", "then", and "else". If the "cond" is non-blank it returns the "then" value, otherwise it returns the "else" value. Using Advanced Search to find the instances where ".if" is used, it appears that the macro is something Jeremy created specifically for formatting documentation within tw.com, and I don't think it is intended for general use. -e -- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b14e96f7-427f-4fb1-8ba4-e214ba3a129e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

