{{{[all[current]get[name]else{!!title}]}}}

In filter expressions, use a single curly bracket set "{!!title}" when 
transcluding field values.

On Saturday, August 15, 2020 at 6:21:39 AM UTC-7, Adithya B M wrote:
>
> Im trying to write a simple macro to: Return the contents of the field 
> 'name' and if the field is absent, the title of the tiddler (in plain 
> text). 
>
> Can someone help me in getting this to work?
>
> \define get_title()
> {{{[all[current]get[name]else[!!title]]}}}
> \end
>
> Cheers,
> Adithya
>

-- 
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/e488a3e5-fae4-43e7-a9f5-6d6aa6962ea8o%40googlegroups.com.

Reply via email to