Template:Tabs: Difference between revisions

From Elwiki
m (Replaced content with "{{#tag:tabber|{{#forargs:tab | key | value | {{!}}-{{!}}{{#var:value|}}= {{{contents{{#var:key|}}|}}} }} }}<noinclude> {{Documentation}}</noinclude>")
mNo edit summary
Line 1: Line 1:
{{#tag:tabber|{{#forargs:tab
<div class="tabdiv {{{divclass|}}}" style="{{{containerstyle|}}}">
<ul style="{{{ulstyle|}}}">{{#forargs:tab
| key
| key
| value
| value
|
| <nowiki/>
{{!}}-{{!}}{{#var:value|}}=
<li class="{{{tab{{#var:key}}class|}}}{{{tabclass|}}}" style="{{{tab{{#var:key}}style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab{{#var:key}}|{{#var:value}}]]</li>
{{{contents{{#var:key|}}|}}}
}}</ul>{{#forargs:tab
}}
| key
}}<noinclude>
| value
| <nowiki/>
<div id="{{{name|}}}tab{{#var:key}}" class="{{{contentsclass|}}}" style="{{#ifeq:{{#var:key}}|1||display: none;}}{{{contents{{#var:key}}style|}}}{{{contentsstyle|}}}">
{{{contents{{#var:key}}|}}}
</div>}}</div><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Revision as of 21:17, 12 September 2014