Subtiddlers means the individual tiddlers stored within a plugin.
For example, I want to use a subtiddler ($:/boot/boot.js
) in my own plugin to force override {{ $:/boot/boot.js ||$:/core/templates/tiddlywiki.js/load-tiddler}}
in $:/core/templates/tiddlywiki5.js
.
Initially, I thought it would be as simple as using the following code:
<$transclude tiddler="$:/plugins/myplugin" subtiddler="$:/boot/boot.js" template="$:/core/templates/tiddlywiki.js/load-tiddler"/>
However, I discovered that the TranscludeWidget
does not have a template
attribute and that its implementation relies on the currentTiddler
variable. Therefore, this approach is not possible. Are there any other ways to achieve this?