Template:Tab: Difference between revisions

From Metroid Wiki
47 bytes removed ,  13 July 2011
m
no edit summary
mNo edit summary
mNo edit summary
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="{{round}}; width: 4px; border: none; background: none;" {{!}} {{!}}{{!}}}}<!--  
-->{{#vardefine:TabA|{{!}} style="{{round}}; width: 4px; border: none; background: none;" {{!}} {{!}}{{!}}}}<!--  
-->{{#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: 2px 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}}; background: #{{mw color}};"}}<!--
-->{{#vardefine:TabC|{{!}} style="{{round}}; width: 30px; border: none; background: none;" {{!}} }}<!--
-->{{#vardefine:TabC|{{!}} style="{{round}}; 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="{{round|20px}}; {{#if:{{{width|}}}|width:{{{width|}}};}} clear: both; text-align: center; {{#if:{{{header|}}}|margin: 0.3em auto; background-color: #{{Mw color}}; border: 2px solid #{{Mw color light}};}}"
{| align="center" style="{{round|20px}}; {{#if:{{{width|}}}|width:{{{width|}}};}} clear: both; text-align: center; {{#if:{{{header|}}}|margin: 0.3em auto; background-color: #{{mw color}}; border: 1px solid #{{Mw color light}};}}"
{{#if:{{{header|}}}|{{!-}}
{{#if:{{{header|}}}|{{!-}}
{{!}} valign="middle" style="{{round}}; text-align: center; width: 98%; background-color:#{{Mw color dark}}; border: 2px solid #{{Mw color light}}" {{!}}<div style="text-align:center;position:relative;white-space:nowrap;">'''{{{header}}}'''</div>}}
{{!}} valign="middle" style="{{round}}; 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="{{round}}; padding-top: 15px;" valign="top"| <div style="{{round}}; position: top; border: 0px;"> <div style="position: relative; text-align: center; padding-bottom: 0px; background-color: transparent; border-bottom: 0px solid #{{Mw color light}}; ">
|  style="{{round}}; padding-top: 15px;" valign="top"| <div style="{{round}}; position: top; border: 0px;"> <div style="position: relative; text-align: center; padding-bottom: 0px; background-color: transparent; border-bottom: 0px solid #{{Mw color light}}; ">
Line 112: Line 112:
{{#var:LowerTabs}}
{{#var:LowerTabs}}
|} </div>
|} </div>
<div style="{{round}}; position: relative; font-size: 90%; padding-top: 3px; padding-left: 10px; padding-right: 10px; background-color: #{{Mw color dark}}; border: 2px solid #{{Mw color light}}; {{#if:{{{height|}}}|height:{{{height|}}};}}">
<div style="{{round}}; position: relative; font-size: 90%; padding-top: 3px; padding-left: 10px; padding-right: 10px; background-color: #{{mw color dark}}; border: 1px solid #{{mw color light}}; {{#if:{{{height|}}}|height:{{{height|}}};}}">
<div class="tabcontent">
<div class="tabcontent">
{{#ifeq:{{{default|1}}}
{{#ifeq:{{{default|1}}}