Difference between revisions of "Template:ClickTabs"

From comp.tf
Jump to navigation Jump to search
Line 1: Line 1:
{| style="text-align: center; width: 100%; border: 0; border-spacing: 0; border-collapse: collapse; vertical-align: top;"<!--
+
{| style="text-align: center; width: 100%; border: 0; border-spacing: 0; border-collapse: collapse; vertical-align: top;"
-->{{#if:{{{tab1|}}}|
+
{{#if:{{{tab1|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|1|clicktabs-active|{{#if:{{{activetab|}}}|clicktabs-inactive|clicktabs-active}}}}" id="clicktabs-tab-1" {{!}} {{{tab1|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|1|clicktabs-active|{{#if:{{{activetab|}}}|clicktabs-inactive|clicktabs-active}}}}" id="clicktabs-tab-1" {{!}} {{{tab1|}}}
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
+
{{#if:{{{tab2|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|2|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-2" {{!}} {{{tab2|}}}
|}}<!--
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
-->{{#if:{{{tab2|}}}|
+
{{#if:{{{tab3|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|3|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-3" {{!}} {{{tab3|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|2|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-2" {{!}} {{{tab2|}}}
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
+
{{#if:{{{tab4|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|4|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-4" {{!}} {{{tab4|}}}
|}}<!--
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
-->{{#if:{{{tab3|}}}|
+
{{#if:{{{tab5|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|5|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-5" {{!}} {{{tab5|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|3|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-3" {{!}} {{{tab3|}}}
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
+
{{#if:{{{tab6|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|6|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-6" {{!}} {{{tab6|}}}
|}}<!--
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
-->{{#if:{{{tab4|}}}|
+
{{#if:{{{tab7|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|7|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-7" {{!}} {{{tab7|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|4|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-4" {{!}} {{{tab4|}}}
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
+
{{#if:{{{tab8|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|8|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-8" {{!}} {{{tab8|}}}
|}}<!--
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
-->{{#if:{{{tab5|}}}|
+
{{#if:{{{tab9|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|9|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-9" {{!}} {{{tab9|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|5|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-5" {{!}} {{{tab5|}}}
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
+
{{#if:{{{tab10|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|10|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-10" {{!}} {{{tab10|}}}
|}}<!--
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}
-->{{#if:{{{tab6|}}}|
+
| style="border-bottom: 2px solid #aaa; width: 3000px;" |
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|6|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-6" {{!}} {{{tab6|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}<!--
 
-->{{#if:{{{tab7|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|7|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-7" {{!}} {{{tab7|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}<!--
 
-->{{#if:{{{tab8|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|8|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-8" {{!}} {{{tab8|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}<!--
 
-->{{#if:{{{tab9|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|9|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-9" {{!}} {{{tab9|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}<!--
 
-->{{#if:{{{tab10|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|10|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-10" {{!}} {{{tab10|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}<!--
 
-->| style="border-bottom: 2px solid #aaa; width: 3000px;" |
 
 
|-
 
|-
{{#if:{{{content1|}}}|
+
{{#if:{{{content1|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-1" {{#ifeq:{{{activetab|}}}|1||{{#if:{{{activetab|}}}|style="display:none"|}}}} colspan=21 | {{{content1|}}}|}}
{{!}} class="clicktabs-content" id="clicktabs-content-1" {{#ifeq:{{{activetab|}}}|1||{{#if:{{{activetab|}}}|style="display:none"|}}}} colspan=21 | {{{content1|}}}
+
{{#if:{{{content2|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-2" {{#ifeq:{{{activetab|}}}|2||style="display:none"}} colspan=21 | {{{content2|}}}|}}
|}}<!--
+
{{#if:{{{content3|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-3" {{#ifeq:{{{activetab|}}}|3||style="display:none"}} colspan=21 | {{{content3|}}}|}}
-->{{#if:{{{content2|}}}|
+
{{#if:{{{content4|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-4" {{#ifeq:{{{activetab|}}}|4||style="display:none"}} colspan=21 | {{{content4|}}}|}}
{{!}} class="clicktabs-content" id="clicktabs-content-2" {{#ifeq:{{{activetab|}}}|2||style="display:none"}} colspan=21 | {{{content2|}}}
+
{{#if:{{{content5|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-5" {{#ifeq:{{{activetab|}}}|5||style="display:none"}} colspan=21 | {{{content5|}}}|}}
|}}<!--
+
{{#if:{{{content6|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-6" {{#ifeq:{{{activetab|}}}|6||style="display:none"}} colspan=21 | {{{content6|}}|}}}
-->{{#if:{{{content3|}}}|
+
{{#if:{{{content7|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-7" {{#ifeq:{{{activetab|}}}|7||style="display:none"}} colspan=21 | {{{content7|}}}|}}
{{!}} class="clicktabs-content" id="clicktabs-content-3" {{#ifeq:{{{activetab|}}}|3||style="display:none"}} colspan=21 | {{{content3|}}}
+
{{#if:{{{content8|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-8" {{#ifeq:{{{activetab|}}}|8||style="display:none"}} colspan=21 | {{{content8|}}}|}}
|}}<!--
+
{{#if:{{{content9|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-9" {{#ifeq:{{{activetab|}}}|9||style="display:none"}} colspan=21 | {{{content9|}}}|}}
-->{{#if:{{{content4|}}}|
+
{{#if:{{{content10|}}}|{{!}} class="clicktabs-content" id="clicktabs-content-10" {{#ifeq:{{{activetab|}}}|10||style="display:none"}} colspan=21 | {{{content10|}}}|}}
{{!}} class="clicktabs-content" id="clicktabs-content-4" {{#ifeq:{{{activetab|}}}|4||style="display:none"}} colspan=21 | {{{content4|}}}
+
|}
|}}<!--
 
-->{{#if:{{{content5|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-5" {{#ifeq:{{{activetab|}}}|5||style="display:none"}} colspan=21 | {{{content5|}}}
 
|}}<!--
 
-->{{#if:{{{content6|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-6" {{#ifeq:{{{activetab|}}}|6||style="display:none"}} colspan=21 | {{{content6|}}}
 
|}}<!--
 
-->{{#if:{{{content7|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-7" {{#ifeq:{{{activetab|}}}|7||style="display:none"}} colspan=21 | {{{content7|}}}
 
|}}<!--
 
-->{{#if:{{{content8|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-8" {{#ifeq:{{{activetab|}}}|8||style="display:none"}} colspan=21 | {{{content8|}}}
 
|}}<!--
 
-->{{#if:{{{content9|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-9" {{#ifeq:{{{activetab|}}}|9||style="display:none"}} colspan=21 | {{{content9|}}}
 
|}}<!--
 
-->{{#if:{{{content10|}}}|
 
{{!}} class="clicktabs-content" id="clicktabs-content-10" {{#ifeq:{{{activetab|}}}|10||style="display:none"}} colspan=21 | {{{content10|}}}
 
|}}<!--
 
-->|}
 

Revision as of 23:52, 17 April 2020