{{HelloThere||$:/core/ui/ViewTemplate}}
So in order to fix this, the tabs macro should modify the current tiddler variable to the selected tab, right?
\define tabs-cool(tabsList,default,state:"$:/state/tab",class,template)<div class="tc-tab-set $class$"><div class="tc-tab-buttons $class$"><$list filter="$tabsList$" variable="currentTab"><$set name="save-currentTiddler" value=<<currentTiddler>>><$tiddler tiddler=<<currentTab>>><$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tc-tab-selected" tooltip={{!!tooltip}}><$tiddler tiddler=<<save-currentTiddler>>><$set name="tv-wikilinks" value="no"><$transclude tiddler=<<currentTab>> field="caption"><$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/></$transclude></$set></$tiddler></$button></$tiddler></$set></$list></div><div class="tc-tab-divider $class$"/><div class="tc-tab-content $class$"><$list filter="$tabsList$" variable="currentTab">
<$reveal type="match" state=<<qualify "$state$">> text=<<currentTab>> default="$default$">
<$tiddler tiddler=<<currentTab>>><$transclude tiddler="$template$" mode="block">
</$transclude></$tiddler></$reveal>
</$list></div></div>\end<$tiddler tiddler=<<currentTab>>><$transclude tiddler="$:/core/ui/ViewTemplate"/></$tiddler>--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9a826297-2e37-44b4-b19b-4cd54035a486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On 30 Aug 2016, at 12:34, Danielo Rodríguez <rdan...@gmail.com> wrote:To be honest, I never saw that way of using a template: transcluding the template and then transcluding the tiddler inside it.
The way that the transclude widget works is that the content of the widget is used as a fallback if the transcluded content is missing.Best wishesJeremy