Information: If you want to test this template, please use Sandbox.
This documentation is transcluded from Template:Tabs/doc.
Template:Tabs: Difference between revisions
From Elwiki
mNo edit summary |
(itried) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | <div id="tabs-{{{name|}}}" class="tabdiv {{{divclass|}}}" style="{{{containerstyle|}}}"> | ||
<ul style="{{{ulstyle|}}}">{{#forargs:tab | <ul style="{{{ulstyle|}}}">{{#forargs:tab | ||
| key | | key | ||
| value | | value | ||
| {{#if:{{#var:value|}} | | {{#if:{{#var:value|}} | ||
|<li class="{{{tab{{#var:key}}class|}}}{{{tabclass|}}}" style="{{{tab{{#var:key}}style|}}}{{{tabstyle|}}}">[[#{{{name|}}}tab{{#var:key|}}|{{#var:value|}}]]</li> | |<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 | ||
Line 15: | Line 15: | ||
}} | }} | ||
}}</div><noinclude> | }}</div><noinclude> | ||
{{ | {{Doc}}</noinclude> |