On Sunday, December 29, 2019 at 1:07:39 AM UTC+1, springer wrote:
...
> But as it is, trying to drill down (when the {{childtabs}} and
> {{childtabs-vert}} templates are in use) shows either a tab set that simply
> replicates the enclosing set, or a recursive transclusion error — which I
> especially want to avoid in a teaching resource site! (Meanwhile, other
> transclusions I'm using end up just showing nothing at all when the tiddler
> they're part of is being rendered as a tab within a tiddler that doesn't
> have the relevant fields.)
>
It seems you doing it wrong. If {{childtabs}} is a template it will set the
currentTiddler variable to "the calling tiddler name".
See the transclusion in wikitext
<https://tiddlywiki.com/#Transclusion%20in%20WikiText:%5B%5BTransclusion%20in%20WikiText%5D%5D%20%5B%5BTransclusion%20with%20Templates%5D%5D>
docs.
eg: You should call it like this: {{||childtabs}} ... See the || !! Now
currentTiddler in childtabs will be set to the "calling tiddler title".
!!!! Be aware of the first post, since tabs use: currentTab instead of
currentTiddler.
have fun!
mario
--
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/8626d8a3-33a1-403d-b1f9-998265f5fc5d%40googlegroups.com.