Hi Tobias

The syntax I gave was perhaps a poor example. We couldn't implement it
without making it impossible to transclude tiddlers with spaces and colons
in their titles. So we'll need to figure out an extension to the existing
syntax that is backwards compatible.

Best wishes

Jeremy

On Tue, Nov 18, 2014 at 10:21 AM, Tobias Beer <[email protected]> wrote:

> Hi Jeremy,
>
>
>> There's no direct way to pass parameters to transclusions. As Stephan
>> says, at the widget level you can use variables to pass values through to
>> transclusions. We could introduce a higher level syntax to make it easier
>> to pass variable parameters to transclusions. Something like:
>>
>> {{myVariable:"value" anotherVariable:"another" ||myTiddler}}
>>
>> That syntax looks definitely more meaningful than my proposal above,
> perhaps with the (optional) addition of...
>
> {{title myVariable:"value" anotherVariable:"another" ||myTiddler}}
>
> If implemented, I think this will majorly enhance templating capabilities,
> as it did in TWc, without the increased complexity of having to wrap it all
> in ever more macro declarations.
>
> Best wishes, Tobias.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to