Difference between revisions of "Template:Tabset"
From Organic Design wiki
m |
|||
Line 4: | Line 4: | ||
<!-- TABS --> | <!-- TABS --> | ||
{| border="0" cellspacing="0" cellpadding="1" height="30" width="100%" | {| border="0" cellspacing="0" cellpadding="1" height="30" width="100%" | ||
− | {{#if:{{{ | + | {{#if:{{{2}}}|{{tab|1|{{{1}}}}}}} |
− | {{#if:{{{ | + | {{#if:{{{4}}}|{{tab|2|{{{3}}}}}}} |
− | {{#if:{{{ | + | {{#if:{{{6}}}|{{tab|3|{{{5}}}}}}} |
− | {{#if:{{{ | + | {{#if:{{{8}}}|{{tab|4|{{{7}}}}}}} |
− | {{#if:{{{ | + | {{#if:{{{10}}}|{{tab|5|{{{9}}}}}}} |
| style="border-bottom:1px solid #A3A198;" width="100"| | | style="border-bottom:1px solid #A3A198;" width="100"| | ||
|} | |} | ||
Line 14: | Line 14: | ||
{{#vardefine:tab|{{#if:{{#request:tab}}|{{#request:tab}}|1}}}} | {{#vardefine:tab|{{#if:{{#request:tab}}|{{#request:tab}}|1}}}} | ||
{{#switch:{{#var:tab}} | {{#switch:{{#var:tab}} | ||
− | |1={{{ | + | |1={{{2}}} |
− | |2={{{ | + | |2={{{4}}} |
− | |3={{{ | + | |3={{{6}}} |
− | |4={{{ | + | |4={{{8}}} |
− | |5={{{ | + | |5={{{10}}} |
}} | }} |