Mohammad,

I may be confusing to you now but with respect it is not.

In wikify you will never need to provide another parameter other than 
defined in the the wikify macro
AttributeDescription
name The name of the variable to assign
text The text to parse and render
type The ContentType <https://tiddlywiki.com/#ContentType> of the text 
(defaults to text/vnd.tiddlywiki)
mode The parse mode: block (the default) or inline
output Keyword indicating the desired output type, defaulting to text (see 
below)
However in The $macrocall widget you may very well want to define a field 
called "name" and give it a value bvecaue you may have a field called name, 
thus $name is used for the parameter

The advantage of the widget form is that it allows macro parameters to be 
specified as widget attributes
*parameters* Macro parameters specified as attributesThis includes
*$macrocall*
*ActionCreateTiddlerWidget*
*ActionDeleteFieldWidget*
*ActionSendMessageWidget*
*ActionSetFieldWidget*
*VarsWidget*

Each of the above need to be able to have the the parameter name=value thus 
provide $name=parmval to stop a clash. They are all quite general in nature.

It is actually very simple, Ask yourself in any given widget may you need 
to be able to set a value (Typically a field) of the same name as on of the 
documented parameters?

Regards
Tony

On Friday, February 22, 2019 at 1:50:53 AM UTC+11, Mohammad wrote:
>
> Unfortunately it is confusing
>
> <$wikify name= ...
> <$macrocall $name= ...
>
>
> I would recommend for widget, use widget parameter with $ and everything 
> else without it!
> But seems for backward compatibility there are very hard to revise!
>
> --Mohammad
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/5fbc0909-5ac2-49e4-9ece-9958d1c89485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to