By replying, we'll get about a half-dozen hits from people who will explain 
it better ;-)

Widgets pretend to be HTML tags, and use similar syntax. So "filter" gets 
assigned like an HTML style attribute:

<$list filter="[[If I had a Hummer]]" />

But macros are their own thing, and need the ":" (colon) when specifying 
parameters:

<<list-link filter:"[[I would Hummer in the Morning]]">>

of course, if you only have one parameter then it should be safe to omit 
the named parameter:

<<list-link "[[I would call out Ranger!]]">>

or you could just memorize the syntax for the <$macrocall> widget and 
always call it that way:

<$macrocall $name="list-link" filter="[[And drive all over this world!]]"/>

-- Mark



On Saturday, August 4, 2018 at 10:16:10 AM UTC-7, David Gifford wrote:
>
> This causes me headaches, too. For example, from a creator standpoint it 
> is pretty frustrating that filter="[tag[foo]]" in <$list> and 
> filter:"[tag[foo]]" in <<list-links>> have to be different (= vs :). 
>

-- 
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/eb3d1fd4-a024-478c-b95d-fd1d867a3b49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to