Hi all, I'm new using 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}}"/>