Two things that might be helpful:

1) {{tiddlerName||templateName}}

2) the above is a shortcut syntax for
<$tiddler tiddler="tiddlerName">
<$translude tiddler="templateName">
</$tiddler>

See https://tiddlywiki.com/#Transclusion%20with%20Templates

On Tuesday, April 27, 2021 at 5:24:01 PM UTC+2 [email protected] wrote:

> The transclude widget dos not offer any template use option.
>
> the wiki syntax for transclusion requires a fixed template although it 
> allows for a computed source tiddler.
>
> That is:
>
> we can have {{<<ds>>!!temp}}
>
> but not {{<<ds>>!!<<temp>>}}
>
> and it would be fine to get <$transclude tiddler=<<ds>> template=<<temp>>/>
>
> I also tried to have a tiddler where the "datasource" and "template" field 
> where valorized at my target values and whose text was
>
> {{<$transclude field=datasource>>!!<$transclude field=template/>}}
> {{<$transclude field=datasource>>!!my-real-template}}
>
> the second form does work.
>
> I tried some tricks with text and wikify widgets, but I've never been able 
> to parametize the template tiddler name on way or another.
>
> -- 
> Jean-Pierre
>
>

-- 
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/300df31c-bf86-4791-91ac-c114c99c71c1n%40googlegroups.com.

Reply via email to