Topic on Extension talk:Tabs/Usage

123.136.115.130 (talkcontribs)

How do I get nested tabs to work? Can I get an example code?

Joeytje50 (talkcontribs)

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.

24.233.212.248 (talkcontribs)

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. --~~~~

24.233.212.248 (talkcontribs)

Sorry - I mean they always show up as toggle boxes.

24.233.212.248 (talkcontribs)

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.

Reply to "Nested Tabs"