ElEditors, Interface administrators, Administrators
70,981
edits
Tag: Undo |
No edit summary |
||
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="tabdiv tabber-new {{{$divclass|}}}" style="{{{$divstyle|}}}"> | <includeonly><div class="tabdiv tabber-new {{{$divclass|}}}" style="{{{$divstyle|}}}"> | ||
<ul style="{{{$ulstyle|}}}" class="tabber-ul {{{$ulclass|}}}">{{#forargs: | <ul style="{{{$ulstyle|}}}" class="tabber-ul {{{$ulclass|}}}">{{#vardefine:i|0}}{{#forargs: | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#if: {{#var: | {{#if: {{#var:value}} | | ||
{{#if:{{#pos:{{#var:key}}|$|0}} | {{#if:{{#pos:{{#var:key}}|$|0}} | ||
||<li class="tabber-tab {{{$tab{{#var: | ||<li class="tabber-tab {{{$tab{{#var:i}}class|}}} {{#ifeq:{{#var:i}}|0|active}} {{{$tabclass|}}}" style="{{{$tabstyle|}}};{{{$tab{{#var:i}}style|}}}"><span class="tabber-tab-content">{{#var:key}}</span></li>{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | ||
}} | }} | ||
}} | }} | ||
}} | }} | ||
</ul>{{#forargs: | </ul>{{#vardefine:i|0}}{{#forargs: | ||
| key | | key | ||
| value | | value | ||
| <nowiki/> | | <nowiki/> | ||
{{#if: {{#var: | {{#if: {{#var:value}} | | ||
{{#if:{{#pos:{{#var:key}}|$|0}} | {{#if:{{#pos:{{#var:key}}|$|0}} | ||
| | | | ||
|<div class="tabber-content {{{$con{{#var: | |<div class="tabber-content {{{$conclass|}}} {{{$con{{#var:i}}class|}}}" style="{{#ifeq:{{#var:i}}|0||display: none;}}{{{$constyle|}}}"> | ||
{{#var:value}} | {{#var:value}} | ||
</div> | </div>{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | ||
}} | }} | ||
}} | }} | ||
}}</div></includeonly><noinclude> | }}{{#vardefine:i|0}}</div></includeonly><noinclude> | ||
{{Doc}}</noinclude> | {{Doc}} | ||
</noinclude> |