The great Eric Shulman explained it beautifully here:
https://groups.google.com/d/msg/tiddlywiki/3NdhzmCD-Rs/yoxtHnBCAAAJ
The bottom line is reveal is a IF statement like this:
<$reveal type="match" default=<<variable1>> text=<<variable2>> >
----This content is shown if variable1 and variable2 match----
</$reval>
On Thursday, December 20, 2018 at 12:03:06 PM UTC-6, joearms wrote:
>
>
>
> On Thursday, 20 December 2018 18:59:56 UTC+1, Diego Mesa wrote:
>>
>> Joe,
>>
>> Coming from other languages, in my mind the "reveal" widget is the
>> closest thing to an IF. Wikify is a unique construction to TW. Also note
>> that the great Evan Balster wrote a "Condition" Plugin:
>>
>
> Goodness - I haven't got to reveal yet. I wouldn't have guessed it was an
> IF statement :-)
>
> /Joe
>
>>
>> http://evanbalster.com/tiddlywiki/formulas.html#Condition%20Plugin
>>
>> which exposes <$if>, <$else-if> and <$else> widgets.
>>
>>
> Nice
>
>
>> On Thursday, December 20, 2018 at 8:40:24 AM UTC-6, joearms wrote:
>>>
>>>
>>>
>>> On Thursday, 20 December 2018 14:57:39 UTC+1, Mohammad Rahmani wrote:
>>>>
>>>> Joe,
>>>>
>>>> have you seen:
>>>> https://tiddlywiki.com/#Widgets
>>>>
>>>
>>> Yes - I wanted to know the most important :-)
>>>
>>>
>>>>
>>>> These are list of widgets in TW core:
>>>>
>>>> The below five widgets are my choice for programming TW and I think
>>>> these are
>>>>
>>>> 1. list
>>>> 2. set (and vars)
>>>> 3. reveal (for conditional operation)
>>>> 4. wikify
>>>> 5. import (scope of variable and private methods)
>>>>
>>>>
>>>>
>>> Thanks
>>>
>>>
>>>> Other widgets are important for example
>>>>
>>>> - creating/deleteing tiddlers
>>>> - field operation
>>>> - creating htmls elements (radio, select, editbox, ...)
>>>> - ...
>>>>
>>>>
>>>> There are expert people over there can explain in more details.
>>>>
>>>>
>>>> -- Mohammad
>>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/51f8b382-d208-4139-9517-32e7821b0dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.