> <<xList xCase "sort." "." "[tag[SomeTag]]">>
> What I'd like is to replace SomeTag with the current tiddler's title.
> I have several such lists and I'd like the syntax to be generic.

You can use an "evaluated parameter" to construct the desired tag
filter parameter using javascript text expression syntax, like this:
   {{"[tag["+tiddler.title+"]]"}}

When the macro is processed, the core first evaluates any parameters
enclosed in {{...}}.  The result of that evaluation is then used as
the value of the parameter.  The global object "tiddler" refers to the
tiddler in which the macro is being rendered.  "tiddler.title" is a
text string that is the name of the current tiddler.  Thus, when
evaluated, the result is of the form:
   [tag[SomeTitle]]

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en.

Reply via email to