If we look at the title of this Topic
Putting transclusion inside a transclusion?
This works and is common, I put this “summary” here for others that may visit this Topic
- If in one tiddler you transclude a tiddler and in that tiddler you transclude another it just works
- Make sure you don’t transclude your self or one of the tiddlers “above” or you get an infinite loop.
- People often use the transclude short cut
{{transcludename}}or{{||transcludename}}(acts on current tiddler) or{{tiddlername||transcludename}}(acts on tiddlername as current tiddler) - However the
<$transcludewidget can be use as well. This is the long form, not the short form, and as in the “solution to this topic” you can use this with the tiddler widget to set the current tiddler (other methods are available). The following is the equivalent of{{tiddlername||transcludename}}
<$tiddler tiddler="tiddlername">
<$transclude tiddler="transcludename"/>
</$tiddler>
- The following is the equivalent of
{{||transcludename}}
<$transclude tiddler="transcludename"/>
- The following is the equivalent of
{{transcludename}}
<$tiddler tiddler="transcludename">
<$transclude tiddler="transcludename"/>
</$tiddler>
I hope this throws more light on the use of transclude