On Friday, January 22, 2016 at 4:20:33 AM UTC-8, Eric Shulman wrote:
>
> TiddlyWiki uses the macro mechanism to construct wiki syntax from text 
> parts and pieces.  To generate a transclusion that is assembled from a 
> value stored in a variable, you need to use a macro as you have correctly 
> done above.
>

As Tobias noted in another post, because you are generating a transclusion, 
you could use the <$transclude> widget instead of the {{...}} syntax, and 
that would allow you to directly use variables as widget parameters.  As 
Tobias also noted, you don't even need to use a separate variable, since 
the <$list> widget automatically sets the "currentTiddler" context, so the 
simplified syntax for transclusion of a fieldname can be used, like this:

<$list filter="...">{{!!fieldname}}</$list>

-e

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bb1a458c-ffa9-4e1e-be00-1af6832cff07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to