On Sunday, November 8, 2020 at 4:25:07 PM UTC-8, TW Tones wrote:
>
> I have a filtered transclusion as follows
> {{{ [<local-value>] ~[<global-config-value>] ~[<config-default>] }}}
> Each of the variables therein are set using a $set widget (more details
> below)
> Unfortunately the second result global-config-value is never the result
> if there is no local-value
>
You have three runs, using an implied "OR", with the expectation that they
are evaluated left-to-right, until a value is found.
I'm not 100% certain why the above syntax doesn't do that. But you might
try using else<...> instead:
{{{ [<local-value>else<global-config-value>else<config-default>] }}}
-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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/8694fc7e-39fb-48e6-8a76-bd78b5ba0c52o%40googlegroups.com.