Thanks Mat and Mohammad

I used this thanks to your tips
{{{ [all[current]get[tiddler-mode]else{$:/config/wiki-mode}] }}}

Does this mean that triple braces text references can derive the 
currentTiddler ?

The broken case being
{{{ [{!!tiddler-mode}else{$:/config/wiki-mode}] }}}

*Do you think this is a bug?*

Regards
Tony


On Tuesday, August 13, 2019 at 2:57:28 PM UTC+10, Mohammad wrote:
>
> Tony
>
> This works for me
> {{{ [{!!tiddler-mode}match[test]then{$:/SiteTitle}else{$:/SiteSubtitle}] 
> }}}
>
>
> Furthermore semantically I like to have if then else.
>
> --Mohammad
>
> On Tuesday, August 13, 2019 at 9:05:26 AM UTC+4:30, TonyM wrote:
>>
>> Folks,
>>
>> The following is not working
>> {{{ [{!!tiddler-mode}else{$:/config/wiki-mode}] }}}
>> and not returning the content of $:/config/wiki-mode when the field on 
>> the current tiddler is empty?
>>
>> Am I correct thinking this because else can only return a string in the 
>> parameter?
>>
>> Regards
>> Tony
>>
>> On Saturday, August 10, 2019 at 12:57:44 AM UTC+10, Jeremy Ruston wrote:
>>>
>>> I’m delighted to announce the release of TiddlyWiki v5.1.20:
>>>
>>> https://tiddlywiki.com/
>>>
>>> This release is massive. Some of the many highlights:
>>>
>>> * New conditional filter operators “then” and “else”
>>> * New mathematics and string filter operators
>>> * Improved handling of duplicates in filters
>>> * Improved keyboard shortcuts
>>> * New saver for saving the single file version direct to GitHub or GitLab
>>> * New BrowserStorage plugin for saving tiddlers in browser local storage
>>> * New InnerWiki plugin for rendering TiddlyWiki screenshots
>>> * New and improved translations for Catalan, Chinese Simplified and 
>>> Chinese Traditional, French, German, US English
>>> * Several new performance optimisations
>>> * New palettes and a new palette manager for more easily editing them
>>> * New and fixed animations for several system actions
>>> * Improved handling of JSON files
>>> * New mechanism to add plugins to a wiki from the command line
>>> * New “savewikifolder” and “deletetiddlers" commands for Node.js
>>> * Many bug fixes
>>>
>>> You can upgrade your existing single file wikis at: 
>>> https://tiddlywiki.com/upgrade.html
>>>
>>> As usual, please exercise caution when working with an upgrade, and take 
>>> care to take plenty of backups. Comments and questions welcome.
>>>
>>> It only remains to offer my sincere thanks to the many people who gave 
>>> up their time and talents to contribute to this release.
>>>
>>> Best wishes
>>>
>>> Jeremy
>>>
>>

-- 
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/37086ad7-facd-4ad4-9bdc-ceba52f0638d%40googlegroups.com.

Reply via email to