Come to think of it, here's a slimmer variant:
\define fetch(attr, id:{{!!id}}) {{data/$id$##$attr$}}
<<fetch "name">>
This uses a fallback for the id parameter so unless you include an id value
in our call, it'll use !!id
<:-)
--
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/29591c19-1973-451e-878e-18af8b2de6d5%40googlegroups.com.