http://tiddlywiki.org/wiki/Transclusion

At present, transclusion only allows a list of parameters, which are
declared in the template as $1 to $9. I wonder if there are any plans
to (a) allow named parameters; and (b) support more than 9 parameters.

What I mean by named parameters is something like this:

"greeting" template tiddler:
hello "$name"

some other tiddler:
<<tiddler [[greeting]] name: joe>>

There are some efforts to replace jinja templating with
tiddlywiki-style templating, and likewise, I am doing some other work
with templating right now where it would make sense to use
tiddlywiki's formatter. It's not possible right now though as I would
need to use named parameters. (So I'm more interested in the library
than the macro above, per se.)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to