ElEditors, Interface administrators, Administrators
70,981
edits
mNo edit summary |
(itried) |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<div class="tabdiv {{{divclass|}}}" style="{{{containerstyle|}}}"> | <div id="tabs-{{{name|}}}" class="tabdiv {{{divclass|}}}" style="{{{containerstyle|}}}"> | ||
<ul style="{{{ulstyle|}}}">{{#forargs:tab | <ul style="{{{ulstyle|}}}">{{#forargs:tab | ||
| key | | key | ||
| value | | value | ||
| <li class="{{{tab{{#var:key}}class|}}}{{{tabclass|}}}" style="{{{tab{{#var:key}}style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab{{#var:key}}|{{#var:value}}]]</li> | | {{#if:{{#var:value|}} | ||
|<li id="{{{name|}}}tabtag{{#var:key}}" class="{{{tab{{#var:key}}class|}}}{{{tabclass|}}}" style="{{{tab{{#var:key}}style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab{{#var:key|}}|{{#var:value|}}]]</li> | |||
}} | |||
}}</ul>{{#forargs:tab | }}</ul>{{#forargs:tab | ||
| key | | key | ||
| value | | value | ||
| <div id="{{{name|}}}tab{{#var:key}}" class="{{{contentsclass|}}}" style="{{#ifeq:{{#var:key}}|1||display: none;}}{{{contents{{#var:key}}style|}}}{{{contentsstyle|}}}"> | | {{#if:{{#var:value|}} | ||
|<div id="{{{name|}}}tab{{#var:key}}" class="{{{contentsclass|}}}" style="{{#ifeq:{{#var:key}}|1||display: none;}}{{{contents{{#var:key}}style|}}}{{{contentsstyle|}}}"> | |||
{{{contents{{#var:key}}|}}} | {{{contents{{#var:key}}|}}} | ||
</div> | </div> | ||
}} | |||
}}</div><noinclude> | }}</div><noinclude> | ||
{{ | {{Doc}}</noinclude> |