[TWC] Substitution marker in hidden section

38 views
Skip to first unread message

Jay

unread,
Jun 24, 2016, 1:53:41 PM6/24/16
to tiddl...@googlegroups.com
In a classic TW, I would like to have a single tabset template with tab content based on a tiddler's title, which I thought I could do with a substitution marker as in the sample below. Apparently, the substitution marker isn't replaced in the hidden section. The tab name is correct ("Test Tab"), but its content is "$1," no replacement. Is there a way to do substitution in a hidden section? (Or alternatively to have the tab target pass along the value of $1 to another tiddler?) Thanks!

Template tiddler, named Tabs:
<<tabs t "$1 Tab" tooltip "Tabs##content">>
/%
!content
Content: $1
!end
%/

Transcluding tiddler:
<<tiddler Tabs with:Test>>
Reply all
Reply to author
Forward
0 new messages