Thank you Tony. Your variant works good.
четверг, 30 ноября 2017 г., 11:32:02 UTC+3 пользователь TonyM написал:
>
> Siniy,
>
> I presume it is not good enough to have in the template tiddler
> text <<currentTiddler>>, [[mytemplate]]?
>
> Since you know the name of the template when you transclude it, why not
> make a macro that creates a variable and transcludes the template?
>
> Perhaps you could have a global macro of this form (tested)
>
> \define displaytemplate(templatename)
>
> <$set name=template value=$templatename$>
>
> {{||$templatename$}}
>
> </$set>
> \end
>
>
> In the calling tiddler
> <<displaytemplate "MyTemplate" >>
>
> In the MyTemplate Tiddler
>
> <<currentTiddler>>, <<template>>
>
>
> Regards
>
> Tony
>
>
--
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/50260b02-2417-4d25-aac8-6db20a6e0479%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.