I'm unsure why you have two separate macro calls in your example.
Regardless, maybe this works:
\define image-inner() [img width=80 [$(caption)$|$(tiddler)$]]
\define image(tiddler)
<$vars caption={{$tiddler$!!caption}} tiddler='$tiddler$' >
<<image-inner>>
</$vars>
\end
<:-)
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7dbce485-1bc9-4db2-bb7f-a6f1a5f54d82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.