Difference between revisions of "Template:ClickTabs"

From comp.tf
Jump to navigation Jump to search
Line 11: Line 11:
 
|-
 
|-
 
{{#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" style="{{#ifeq:{{{activetab|}}}|1||{{#if:{{{activetab|}}}|display:none|}}}}" colspan=21 | {{{content1|}}}
 
|}}
 
|}}
 
{{#if:{{{content2|}}}|
 
{{#if:{{{content2|}}}|
{{!}} class="clicktabs-content" id="clicktabs-content-2" {{#ifeq:{{{activetab|}}}|2||style="display:none"}} colspan=21 | {{{content2|}}}
+
{{!}} class="clicktabs-content" id="clicktabs-content-2" style="{{#ifeq:{{{activetab|}}}|2||display:none}}" colspan=21 | {{{content2|}}}
 
|}}
 
|}}
 
|}
 
|}

Revision as of 00:03, 18 April 2020