Difference between revisions of "Template:Tabs"
m (This is gonna get ugly) |
m (+) |
||
Line 29: | Line 29: | ||
</div> | </div> | ||
<div class="poot-tabs-content"> | <div class="poot-tabs-content"> | ||
− | <div class="poot-tabs-selected">{{{content1}}}</div> | + | <div class="{{#ifexpr: {{{selected|1}}} = 1 | poot-tabs-selected}}">{{{content1}}}</div> |
− | {{#if:{{{icon2|}}}|<div>{{{content2}}}</div>}}{{ | + | {{#if:{{{icon2|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 2 | poot-tabs-selected}}">{{{content2}}}</div>}}{{ |
− | #if:{{{icon3|}}}|<div>{{{content3}}}</div>}}{{ | + | #if:{{{icon3|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 3 | poot-tabs-selected}}">{{{content3}}}</div>}}{{ |
− | #if:{{{icon4|}}}|<div>{{{content4}}}</div>}}{{ | + | #if:{{{icon4|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 4 | poot-tabs-selected}}">{{{content4}}}</div>}}{{ |
− | #if:{{{icon5|}}}|<div>{{{content5}}}</div>}}{{ | + | #if:{{{icon5|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 5 | poot-tabs-selected}}">{{{content5}}}</div>}}{{ |
− | #if:{{{icon6|}}}|<div>{{{content6}}}</div>}}{{ | + | #if:{{{icon6|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 6 | poot-tabs-selected}}">{{{content6}}}</div>}}{{ |
− | #if:{{{icon7|}}}|<div>{{{content7}}}</div>}}{{ | + | #if:{{{icon7|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 7 | poot-tabs-selected}}">{{{content7}}}</div>}}{{ |
− | #if:{{{icon8|}}}|<div>{{{content8}}}</div>}}{{ | + | #if:{{{icon8|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 8 | poot-tabs-selected}}">{{{content8}}}</div>}}{{ |
− | #if:{{{icon9|}}}|<div>{{{content9}}}</div>}}{{ | + | #if:{{{icon9|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 9 | poot-tabs-selected}}">{{{content9}}}</div>}}{{ |
− | #if:{{{icon10|}}}|<div>{{{content10}}}</div>}} | + | #if:{{{icon10|}}}|<div class="{{#ifexpr: {{{selected|1}}} = 10 | poot-tabs-selected}}">{{{content10}}}</div>}} |
</div> | </div> | ||
<!-- Poot translation switching here so that the text inside poot-tabs-showhide says "show;hide" (with this format) in the current language) --> | <!-- Poot translation switching here so that the text inside poot-tabs-showhide says "show;hide" (with this format) in the current language) --> |