How do I get nested tabs to work? Can I get an example code?
Topic on Extension talk:Tabs/Usage
As you can read at the bottom of Extension:Tabs/Usage (specifically Extension:Tabs/Usage#Combining tags), you should use the parser function syntax whenever you're trying to nest multiple instances of this extension's tabs. If this doesn't work, please ask a more specific question with examples of what is not working, so I can more specifically help you. For now, I think the docs already answer your question.
I have a really hard time following the text at Extension:Tabs/Usage#Combining tags
What I'm trying to do is created nested tabs where both the outer and the inner tabs show up as tabs, and not as toggle boxes or dropdowns. I've tried using #tag:tabs, #tag:tab, and #tab, but everything I try results in toggle boxes. If the parser didn't interpret the inner </tag>as a close for the outer, I'd do it like this:
<tags>
<tab name=One>Some content</tab>
<tab name=Two>
<tabs>
<tab name=Subtab A>Subtab A's content</tab>
<tab name=Subtab B>Subtab B's content</tab>
</tabs>
</tab>
</tabs>
I've tried every combination using <nowiki>{{#tabs:}}</nowiki> that I can think of, and the inner tabs ''always'' show up as dropboxes. --~~~~
Sorry - I mean they always show up as toggle boxes.
And after reading it for the hundredth time, I saw this:
- All combinations of nesting multiple tags will work, except for nesting any tab menus inside other tab menus.
Sigh.