Template:Tab: Difference between revisions

From Metroid Wiki
21 bytes added ,  19 April 2011
m
Trying to make some aesthetic adjustments. If something explodes, don't panic.
m (I'm going to stop trying to do that before I hurt myself...)
m (Trying to make some aesthetic adjustments. If something explodes, don't panic.)
Line 2: Line 2:
-->{{#vardefine:TabCount|{{TempCounter|{{{tab1}}}|{{{tab2|}}}|{{{tab3|}}}|{{{tab4|}}}|{{{tab5|}}}|{{{tab6|}}}|{{{tab7|}}}|{{{tab8|}}}|{{{tab9|}}}|{{{tab10|}}}|{{{tab11|}}}|{{{tab12|}}}}}}}<!--
-->{{#vardefine:TabCount|{{TempCounter|{{{tab1}}}|{{{tab2|}}}|{{{tab3|}}}|{{{tab4|}}}|{{{tab5|}}}|{{{tab6|}}}|{{{tab7|}}}|{{{tab8|}}}|{{{tab9|}}}|{{{tab10|}}}|{{{tab11|}}}|{{{tab12|}}}}}}}<!--
-->{{#vardefine:TabA|{{!}} style="width: 4px; border: none; background: none;" {{!}} {{!}}{{!}}}}<!--  
-->{{#vardefine:TabA|{{!}} style="width: 4px; border: none; background: none;" {{!}} {{!}}{{!}}}}<!--  
-->{{#vardefine:TabB|style="font-size: 90%; whitespace: nowrap; padding-left: 2px; padding-right: 2px; margin: 20px; border: 2px solid #{{Mw color light}}; border-bottom: 1px solid #{{Mw color light}};  background: #{{Mw color}};"}}<!--
-->{{#vardefine:TabB|style="{{round}}; font-size: 90%; whitespace: nowrap; padding-left: 2px; padding-right: 2px; margin: 20px; border: 2px solid #{{Mw color light}}; border-bottom: 1px solid #{{Mw color light}};  background: #{{Mw color}};"}}<!--
-->{{#vardefine:TabC|{{!}} style="width: 30px; border: none; background: none;" {{!}} }}<!--
-->{{#vardefine:TabC|{{!}} style="width: 30px; border: none; background: none;" {{!}} }}<!--
-->{{#vardefine:UpperTabs|{{#switch:{{#var:TabCount}}
-->{{#vardefine:UpperTabs|{{#switch:{{#var:TabCount}}
Line 98: Line 98:
{{!}} {{#var:TabB}} {{!}} <span class="_toggler_hide-{{#var:name}}s _toggler_show-{{#var:name}}6">{{{tab6}}}</span>
{{!}} {{#var:TabB}} {{!}} <span class="_toggler_hide-{{#var:name}}s _toggler_show-{{#var:name}}6">{{{tab6}}}</span>
}}}}
}}}}
{| align="center" style="{{#if:{{{width|}}}|width:{{{width|}}};}} clear: both; text-align: center; {{#if:{{{header|}}}|margin: 0.3em auto; background: #{{Mw color}}; border: 1px solid #{{Mw color light}};}}"
{| align="center" style="{{#if:{{{width|}}}|width:{{{width|}}};}} clear: both; text-align: center; {{#if:{{{header|}}}|margin: 0.3em auto; background: #{{Mw color dark}}; border: 1px solid #{{Mw color light}};}}"
{{#if:{{{header|}}}|{{!-}}
{{#if:{{{header|}}}|{{!-}}
{{!}} valign="middle" style="text-align: center; width: 98%; background-color:#{{Mw color}}; border: 1px solid #{{Mw color light}}" {{!}}<div style="text-align:center;position:relative;white-space:nowrap;">'''{{{header}}}'''</div>}}
{{!}} valign="middle" style="text-align: center; width: 98%; background-color:#{{Mw color dark}}; border: 1px solid #{{Mw color light}}" {{!}}<div style="text-align:center;position:relative;white-space:nowrap;">'''{{{header}}}'''</div>}}
|-
|-
|  style="padding-top: 15px;" valign="top"| <div style="position: top; border: 0px;"> <div style="position: relative; text-align: center; padding-bottom: 0px; background-color: transparent; border-bottom: 2px solid #{{Mw color light}}; ">
|  style="padding-top: 15px;" valign="top"| <div style="position: top; border: 0px;"> <div style="position: relative; text-align: center; padding-bottom: 0px; background-color: transparent; border-bottom: 2px solid #{{Mw color light}}; ">