On Friday, January 22, 2016 at 4:06:30 AM UTC-8, sini-Kit wrote:
>
> I find only this
>
> \define selPar()
> {{$(name)$!!selpar}}
> \end
>
> <$list filter="[list[$:/StoryList!!list]limit[1]]" variable="nazvanie">
> <$set name="name" value=<<nazvanie>> >
> <<selPar>>
> </$set>
> </$list>
>
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. Note that there is no need to use an intermediate variable
(e.g., "name"), and you can use the "one line" syntax for definining the
macro.... Thus, you can simplify your code to:
\define selPar() {{$(nazvanie)$!!selpar}}
<$list filter="[list[$:/StoryList!!list]limit[1]]" variable="nazvanie">
<<selPar>>
</$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/b427c977-bcb4-413c-abe7-8b528651d6b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.