> That said, is the example "{{tiddler.title}}" meant to be functional, or
> just an example? I saw that and thought, "this is a way to insert the name
> of the current tiddler in the argument list", but it doesn't seem to work
> for me.

{{tiddler.title}} is an "evaluated parameter"... Think of {{ and }} as
special kinds of 'quotes'.  However, rather than simply using the
parameter value as literal text, the enclosing {{...}} syntax tells
TW's macro handler to invoke the contents as javascript code in order
to compute a text value that will be then be passed along as the
parameter.  In this particular use-case, the code is simply a
reference to a property (title) of a global object (tiddler) that is
automatically set by the TW core.

Note: If you are using TW242 or earlier, the global 'tiddler' variable
was not being set to a useful value.  You need to be using TW243 or
above, or install
   http://www.TiddlyTools.com/#CoreTweaksArchive
which contains 'obsolete' tweaks that are no longer needed for the
current version (TW250+).

enjoy,
-e

--~--~---------~--~----~------------~-------~--~----~
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