Hi Stephan
{{VersionTiddler##perlversion||code}} translates into:
<$tiddler tiddler="VersionTiddler"><$transclude tiddler="code"/></$tiddler>
You can see the problem: in order for <$view field="text"/> within the
tiddler "code" to have the expected effect, there would need to be a way to
set the current tiddler that somehow also specifies the field that is to be
used instead of the text field.
So, maybe the transclusion parser should not recognise the template portion
if a field or index is specified.
Best wishes
Jeremy
On Tue, Jan 7, 2014 at 1:58 PM, Stephan Hradek <[email protected]>wrote:
> Hi!
>
> As I already show in "Transcluding a full Tiddler" on
> http://tw5magick.tiddlyspot.com template tiddlers are a nice way to
> transclude a tiddler in different formats.
>
> I'm currently writing some instructions and for this I wanted to create a
> datatiddler containing some version and configuration information.
>
> Unfortunately I had to change my approach from one datatiddler with all
> information to one information tiddler for each index. So instead of
> tiddler with
>
> scriptname:myscript.pl
> moduleversion:0.06
> perlversion:perl, v5.8.8 built for darwin-thread-multi-2level
>
> I now have 3 tiddlers, one for each of the above lines.
>
> The reason is that I can very well do this: {{perlversion||code}} to
> display the version text as a code block, but I can't do
> {{VersionTiddler##perlversion||code}}
>
> I think it might be a good idea for this to be possible.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.