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|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|1|clicktabs-active|{{#if:{{{activetab|}}}|clicktabs-inactive|clicktabs-active}}}}" id="clicktabs-tab-1" {{!}} {{{tab1|}}}
 
{{#if:{{{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;" {{!}}|}}{{#if:{{{tab2|}}}|
+
{{!}} 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|}}}
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|2|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-2" {{!}} {{{tab2|}}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}{{#if:{{{tab3|}}}|
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 +
|}}{{#if:{{{tab3|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|3|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-3" {{!}} {{{tab3|}}}
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|3|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-3" {{!}} {{{tab3|}}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}{{#if:{{{tab4|}}}|
+
{{!}} 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|}}}
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|4|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-4" {{!}} {{{tab4|}}}
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}|}}{{#if:{{{tab5|}}}|
+
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 +
|}}{{#if:{{{tab5|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|5|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-5" {{!}} {{{tab5|}}}
 
{{!}} 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;" {{!}}
 +
|}}
 
| style="border-bottom: 2px solid #aaa; width: 3000px;" |
 
| style="border-bottom: 2px solid #aaa; width: 3000px;" |
 
|-
 
|-

Revision as of 00:27, 18 April 2020