@Eric
What I don't understand, is why this filter didn't work :
[{!!name}else{!!title}]
If name doesn't exist, then it doesn't display anything, despite the
definition of "else"
if the list of input titles is empty then return a list consisting of a
> single constant string, otherwise return the original titles
Without "name", then {!!name} should be empty and the "else" operator
should kick in. But it doesn't.
On Saturday, August 15, 2020 at 6:48:33 AM UTC-7, Eric Shulman wrote:
>
> On Saturday, August 15, 2020 at 6:38:47 AM UTC-7, Adithya B M wrote:
>>
>> This solves the problem halfway. This seems to print the title as a link
>> to the <currentTiddler>.
>
>
> Use the <$text> widget, like this:
> <$text text={{{ [all[current]get[name]else{!!title}] }}} />
>
> note also that you can use the currentTiddler variable in place of
> all[current] and {!!title}, like this:
> <$text text={{{ [<currentTiddler>get[name]else<currentTiddler>] }}} />
>
> -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/69378f17-41e1-4a41-8a03-886efe97742fo%40googlegroups.com.