Hi all, I'm new using TiddlyWiki
<file:///media/ezequiel/KINGSTON/TP/EMTW.html#TiddlyWiki> and I'm having
some trouble to get a macro working using a transclusion output as
parameter. None of the following works:
*<<myMacro myParam="{{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}">>*
*<<myMacro myParam={{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}>>*
*<<myMacro "{{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}">>*
*<<myMacro """{{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}""">>*
*<$macrocall $name=myMacro
myParam="{{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}"/>*
I'm expecting *myMacro* (Javascript) to get the concatenation of the fields
*some-field* of tiddlers *myTiddlerA* and *myTiddlerB* as the parameter but
so far I just get the string
*"{{myTiddlerA!!some-field}}{{myTiddlerB!!some-field}}"* as the argument.
Any help would be much appreciated.
This does work as expected:
*<$macrocall $name=myMacro myParam={{myTiddlerA!!some-field}}/>*
but this doesn't:
*<$macrocall $name=myMacro myParam="{{myTiddlerA!!some-field}}"/>*
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5ca80a76-5d69-472a-956a-585e14d57c75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.