Difference between revisions of "Template:ClickTabs"

From comp.tf
Jump to navigation Jump to search
Line 2: Line 2:
 
{{#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;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab2|}}}|
+
{{#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;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab3|}}}|
+
{{#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;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab4|}}}|
+
{{#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;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab5|}}}|
+
{{#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;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab6|}}}|
+
{{#if:{{{tab6|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|6|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-6" {{!}} {{{tab6|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|6|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-6" {{!}} {{{tab6|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab7|}}}|
+
{{#if:{{{tab7|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|7|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-7" {{!}} {{{tab7|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|7|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-7" {{!}} {{{tab7|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab8|}}}|
+
{{#if:{{{tab8|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|8|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-8" {{!}} {{{tab8|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|8|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-8" {{!}} {{{tab8|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab9|}}}|
+
{{#if:{{{tab9|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|9|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-9" {{!}} {{{tab9|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|9|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-9" {{!}} {{{tab9|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab10|}}}|
+
{{#if:{{{tab10|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|10|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-10" {{!}} {{{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:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab11|}}}|
+
{{#if:{{{tab11|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|11|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-11" {{!}} {{{tab11|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|11|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-11" {{!}} {{{tab11|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab12|}}}|
+
{{#if:{{{tab12|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|12|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-12" {{!}} {{{tab12|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|12|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-12" {{!}} {{{tab12|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab13|}}}|
+
{{#if:{{{tab13|}}}|
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|13|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-13" {{!}} {{{tab13|}}}
 
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|13|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-13" {{!}} {{{tab13|}}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab14|}}}|
+
{{#if:{{{tab14|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|14|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-14" {{!}} {{{tab14|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|14|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-14" {{!}} {{{tab14|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab15|}}}|
+
{{#if:{{{tab15|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|15|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-15" {{!}} {{{tab15|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|15|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-15" {{!}} {{{tab15|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab16|}}}|
+
{{#if:{{{tab16|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|16|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-16" {{!}} {{{tab16|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|16|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-16" {{!}} {{{tab16|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab17|}}}|
+
{{#if:{{{tab17|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|17|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-17" {{!}} {{{tab17|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|17|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-17" {{!}} {{{tab17|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab18|}}}|
+
{{#if:{{{tab18|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|18|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-18" {{!}} {{{tab18|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|18|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-18" {{!}} {{{tab18|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab19|}}}|
+
{{#if:{{{tab19|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|19|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-19" {{!}} {{{tab19|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|19|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-19" {{!}} {{{tab19|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
|}}<!--
+
|}}
-->{{#if:{{{tab20|}}}|
+
{{#if:{{{tab20|}}}|{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|20|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-20" {{!}} {{{tab20|}}}
{{!}} class="clicktabs-tab {{#ifeq:{{{activetab|}}}|20|clicktabs-active|clicktabs-inactive}}" id="clicktabs-tab-20" {{!}} {{{tab20|}}}
 
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
{{!}} style="border-bottom:2px solid #aaa; width:3px;" {{!}}
 
|}}
 
|}}

Revision as of 00:18, 18 April 2020