Difference between revisions of "Template:Tabset"
From Organic Design wiki
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| width="100%" cellspacing="0" cellpadding="0" valign="top" | + | {| border width="100%" cellspacing="0" cellpadding="0" valign="top" |
− | |||
| | | | ||
<!-- TABS --> | <!-- TABS --> | ||
{| border="0" cellspacing="0" cellpadding="1" height="30" width="100%" | {| border="0" cellspacing="0" cellpadding="1" height="30" width="100%" | ||
− | {{# | + | {{#ifeq:{{{2}}}|{{tb}}2{{tbc}}||{{tab|1|{{{1}}}}}}} |
− | {{# | + | {{#ifeq:{{{4}}}|{{tb}}4{{tbc}}||{{tab|2|{{{3}}}}}}} |
− | {{# | + | {{#ifeq:{{{6}}}|{{tb}}6{{tbc}}||{{tab|3|{{{5}}}}}}} |
− | {{# | + | {{#ifeq:{{{8}}}|{{tb}}8{{tbc}}||{{tab|4|{{{7}}}}}}} |
− | {{# | + | {{#ifeq:{{{10}}}|{{tb}}10{{tbc}}||{{tab|5|{{{9}}}}}}} |
− | | style="border-bottom:1px solid #A3A198;" width="100"| | + | |style="border-bottom:1px solid #A3A198;" width="100"| |
|} | |} | ||
<!-- CONTENT --> | <!-- CONTENT --> | ||
{{#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}}} |
}} | }} |
Latest revision as of 11:53, 3 May 2007
|