On Wednesday, April 2, 2014 3:06:16 PM UTC+2, Stephan Hradek wrote:
>
> \define Wikipedia(title)
> <a href="http://de.wikipedia.org/wiki/$title$"; target="_blank"><$view 
> field="title"/></a>
> \end
> <$macrocall $name="Wikipedia" title={{!!title}}/>
> ___________________________________________________
>
> At the moment I can write: {{JavaScript||Wikipedia}}, but no chance to do 
> {{DOM-Navigation||Wikipedia}} as the proper title is 
> "Document_Object_Model".
>
> Now imagine what could be possible had we a way to pass more parameters 
> like:
>
> {{DOM-Navigation|alternativ="Document_Object_Model"|Wikipedia}}
>

you can write

\define wikipedia(title:"", alternative:"", template:aTemplate, 
whatNot:"yea" )
 ... bla bla
\end

<<wikipedia myTitle alternative:Document_Object_Model template:myTemplate 
whatNot:" what not" >>

As many parameters as you like. 
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to