Hi Thomas

Great, great, great :-)
Well done!!

With the new 5.1.14 editions new features - dnd etc. - your macro could 
help start a veritable lavine of games for TiddlyWiki!!
Card games, dnd questions to answers with instant feedback etc., etc ....  

Maybe we should announce a "create games & quizzes challenge" to speed up 
things?

Cheers Måns Mårtensson

Den søndag den 30. april 2017 kl. 15.48.54 UTC+2 skrev Thomas Elmiger:
>
> Hi all  
>
> A new "hack" is ready for you to try – I hope you will find it useful, 
> e.g. to create quizzes or tests, to automate letters, …
>
> This macro offers a solution for simple if-then-else text generation. It 
> presents some added value compared to the reveal widget: it accepts 
> variables as well as text references and it can show an error message. The* 
> ifAisB macro *comes with full documentation in the tiddler 
> $:/_telmiger/ifAisB 
> <https://tid.li/tw5/hacks.html#%24%3A%2F_telmiger%2FifAisB> – a link to 
> the documentation can also be found below. 
>
>
> Credits and more examples: This solution was inspired by and developed 
> together with Måns who describes his usage of a former version in this 
> post <https://groups.google.com/d/msg/tiddlywiki/tm1MH8etwrE/z__sB_TJAgAJ> 
> in the Google group. Many others have contributed with relating posts or 
> inspiring ideas. So thank you, TW community!
>
>
> ------------------------------
>
> A shorthand macro to test if the value of a field *priority* equals "a" 
> could be defined and used like this:
>
>
> \define check-a() <$macrocall $name="ifAisB" A={{!!priority}} B="a" 
> then="priority is a" else="priority is not a"/>
>
> <<check-a>>
>
> ------------------------------
>
> See documentation here: 
> https://tid.li/tw5/hacks.html#ifAisB%20%E2%80%93%20Compare%20if-then-else%20Style%20in%20Wikitext
>  
>
>
> As always: *Do yourself a favour and save a backup* before trying my 
> stuff. 
>
> Let me know if it works for you.
>
> All the best, 
> Thomas
>

-- 
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/e8d7bc03-6643-4a63-b826-d16f85c36851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to