Topic on Extension talk:Tabs/Usage

62.44.6.154 (talkcontribs)

Hello,

how can one set this tab to "collapsed" ?

{{#tab:Empty item card|File:IC-Item-parameters.png}}

where do I need to enter the |collapsed / |collapsed=true attribute please?

Nirobbins (talkcontribs)

I couldn't get it working with the parser function syntax (though I may be overlooking something obvious).

You may need to use the tag interface instead:

<tab name="Empty item card" collapsed>

[[File:IC-Item-parameters.png]]

</tab>

RobinHood70 (talkcontribs)

I just took a look at the code, and there's absolutely no facility to collapse a tab created with #tab, so Nirobbins' suggestion is the way to go. Using #tag, that would look like this:

{{#tag:tab|[[File:IC-Item-parameters.png]]|name="Empty item card"|collapsed=}}

Reply to "Tab toggle in parser"