Hi Tony

The construction {{title}} generates the following widget structure:

<$tiddler tiddler="title">
<$transclude tiddler="title"/>
</$tiddler>

The construction {{title||template}} generates the following widget structure:

<$tiddler tiddler="title">
<$transclude tiddler="template"/>
</$tiddler>

See:

https://tiddlywiki.com/#Transclusion%20in%20WikiText

Best wishes

Jeremy.

> On 2 Apr 2020, at 04:46, TonyM <[email protected]> wrote:
> 
> Folks,
> 
> Just wondering why the Why does the Transclude widget not have a template 
> parameter?
> 
> It seems that the short forms `{{||template}}` '{{tiddlername||template}}` 
> readily permit this.
> 
> I think since the transclude widget does not include this could be a little 
> confusing, it would also make setting templates programmatically much easier.
> 
> More often than not widgets provide the more comprehensive set of options and 
> parameters than its shorter forms. But not in this case. 
> 
> Regards
> Tony
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywikidev/b56af0f5-4911-4063-81d8-9c89efb3dd4c%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywikidev/b56af0f5-4911-4063-81d8-9c89efb3dd4c%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/63858384-869B-4692-9E44-B4CFCCD6C553%40gmail.com.

Reply via email to