Anonymous

Template:Tabs: Difference between revisions

From Elwiki
itried
mNo edit summary
(itried)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#Widget:Tabs}}<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
| {{#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>
{{Documentation}}</noinclude>
{{Doc}}</noinclude>