Suppose I have a tiddler that generates tabs from a tag.
<<tabs "[tag[Chapter]]" "Chapter1" "$:/state/chapter">>
And each of those tab-tiddlers also generates tabs, containing sub-sections
<<tabs "[tag[Chapter1]tag[Sections]]" "VideosTab" "$:/state/section"
"tw-vertical">>
And each of those also generates tabs, containing individual pieces of
content
<<tabs "[tag[Chapter1]tag[Section1]]" "Subtraction" "$:/state/section1tid"
"tw-vertical">>
--
Is there a way to alter the text of the bottom tiddler so that instead of
"Chapter1" it contains a reference to the Chapter as selected at the top
level.
ie;
<<tabs "[tag[ -reference- ]tag[Section1]]" "Subtraction"
"$:/state/section1tid" "tw-vertical">>
This would let me re-use the code at levels two and three. I have tried
many combinations of magical punctuation but can't seem to find one that
works.
If I drop the top level of my construct and instead have a tiddler for each
chapter then the transcluded content in the tabs remains in the context of
each chapter, meaning that if I write {{!!title}} at the bottom level, I
get the title of the correct chapter, but I can't include this in the
filter expression.
I am guessing there may be a clever way to put the Chapter title into a
field and then use it in the filter expression but I am still struggling to
grok the wikitext syntax.
PS: I am very keen to help the community with efforts to better document TW
- is anybody actively working on this atm?
Regards,
Richard
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.