Post script
If you want to construct your parameter the triple braces method is also
useful
<$macrocall $name="select_tiddlers" timeStamp={{{ filter }}}/>
<$macrocall $name="select_tiddlers" timeStamp={{{ [<variablename>] }}}/>
etc..
But macros themself can access data in the tiddler calling it, or global
macros
eg using $(variablename)$ in the macro.
Tony
On Thursday, March 5, 2020 at 9:22:33 AM UTC+11, TonyM wrote:
>
> Vpl
>
> Even when we create our own macros using the \define you can use the
> macrocall widget instead of
> <<select_tiddlers timeStamp:'20200304175209359'>>
>
> <$macrocall $name="select_tiddlers" timeStamp='20200304175209359'/>
> <$macrocall $name="select_tiddlers" timeStamp={{tiddlername!!fieldname}}/>
> <$macrocall $name="select_tiddlers" timeStamp={{tiddlername}}/>
> <$macrocall $name="select_tiddlers" timeStamp={{!!fieldname}}/>
> <$macrocall $name="select_tiddlers" timeStamp=<<variableormacro>> />
>
> Regards
> Tony
>
>
> On Thursday, March 5, 2020 at 7:35:42 AM UTC+11, vpl wrote:
>>
>> Hi,
>>
>> I've developped a small macro but can't figure out how to pass it a
>> variable which is a field of another tiddler
>>
>> The following call works fine. I pass the value '20200304175209359' to
>> the macro which use it
>> <$list filter=<<select_tiddlers timeStamp:'20200304175209359'>>>
>> <$link /><br>
>>
>> But When I try to pass the value of the field timestamp from tiddler
>> ref-timeStamp, what is passed is the string *{ref-timeStamp!!timestamp}*
>>
>> <$list filter=<<select_tiddlers
>> timeStamp:[[{ref-timeStamp!!timestamp}]]>>>
>> <$link /><br>
>> </$list>
>>
>> Any idea and help ...
>>
>> THanks a lot
>>
>> Regards
>>
>>
--
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/22e456a5-986c-49e2-b919-e451e58998e1%40googlegroups.com.