Si,

Yes you can, *apply a template stored in the field of another tiddler?* 
and/or find a *workaround*.

Keep in mind the double curly braces are in face a short hand version of 
using the transclude widget.

Because you are referencing the current tiddler using the !!title you 
should be able to do this;

<$tiddler tiddler="Tiddler to link to">
<$transclude tiddler="MyTemplate" field="template"/>
</$tiddler>

<$transclude tiddler="MyTemplate" field="template"/> works on the current 
tiddler.

Since there are a few combinations of this it would take time to give an 
exhastive answer, so please try this first.

Tones

On Monday, 26 July 2021 at 05:05:52 UTC+10 Si wrote:

> Say for example I have the following tiddler:
>
> title: MyTemplate
> text: Hello
> template: <$link to={{!!title}}> {{!!title}} </$link>
>
> I thought I would be able to call this template in another tiddler like 
> this:
>
> {{Tiddler to link to||MyTemplate!!template}}
>
> But alas not. It seems like the template must be stored in the text field. 
> Is this correct? Is there a suitable workaround?
>
> Thanks in advance for your help.
>

-- 
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/17b393bd-8a6e-4b6e-97a0-f6cd8b660235n%40googlegroups.com.

Reply via email to