<$transclude tiddler="My Tiddler">/>

is equivalent to

{{||My Tiddler}}

-- that is, don't change the current tiddler during the transclusion.

{{My Tiddler}}

is equivalent to

<$tiddler tiddler="My Tiddler">
  <$transclude tiddler="My Tiddler"/>
</$tiddler>

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

On Tuesday, January 26, 2021 at 12:55:45 PM UTC-6 History Buff wrote:

> This may be fundamental, but I haven't been able to find the answer yet.
>
> I've noticed a distinct difference in behavior between using transcluding 
> a tiddler with the curly braces versus transcluding using the transclude 
> widget. Specifically, I've noticed that using the curly braces, the 
> currentTiddler variable is different between the two. The curly braces 
> seems to use the currentTiddler as the origin tiddler whereas the 
> transclude widget recognizes the currentTiddler as the tiddler where the 
> transclusion is taking place.
>
> Why is this and are there any other behavioral differences?
>

-- 
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/108945fa-5ba2-4edc-b9fd-5c73df5ea0aan%40googlegroups.com.

Reply via email to