Tony - yes, I use the {{||tiddler}} format a lot as its very convenient for
setting up a remote tiddler as a template to view the local tiddler's data,
especially if the code to transform the data is quite big. (in this case
its quite simple)
Thank you Mark, wikify for the win!!
You can see it in action if you make 2 new tiddlers on the sparklines
tiddlywiki
if you go to here:
http://tobibeer.github.io/tw5-plugins/#sparkl
<http://www.google.com/url?q=http%3A%2F%2Ftobibeer.github.io%2Ftw5-plugins%2F%23sparkl&sa=D&sntz=1&usg=AFQjCNFehLpD2vaHfBEf4Hoyfu9LJrc6Fg>
then first make a new tiddler [[New Tiddler]], paste this in:
! wikify attempt,
!!! use remote template to transform local data
<$wikify text="{{||New Tiddler 1}}" name="nums">
*<$sparkl values=<<nums>>/>
*<$text text=<<nums>>/>
</$wikify>
----
! from this tiddler directly
<$set name="val" value={{!!foo}}>
*<$sparkl values=<<val>>/>
*<$text text=<<val>>/>
</$set>
----
! from remote tiddler directly
*transclude remote tiddler: {{New Tiddler 1}}
*sparklines via field, not template<$sparkl values={{New Tiddler 1!!foo}}>
and add a field "foo" with contents: "1 2 3 4"
then make another new tiddler [[New Tiddler 1]] and paste this in:
{{!!foo}}
and add the field "foo" with contents "4 5 2 1"
that results in this:
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7e952b2f-390d-46e8-bb70-36d57c7b0af2o%40googlegroups.com.