Difference between revisions of "Template:Collapsible"

From TFC:TNG
Jump to navigation Jump to search
(Updated things.)
(Test of auto with.)
Line 1: Line 1:
{{#if: {{{collapsed|}}} | <div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"> | <div class="toccolours mw-collapsible" style="overflow:auto;"> }}
+
{{#if: {{{collapsed|}}} | <div class="toccolours mw-collapsible mw-collapsed" style="width:auto; overflow:auto;"> | <div class="toccolours mw-collapsible" style="overflow:auto;"> }}
 
<div style="font-weight:bold;line-height:1.6;">{{#if: {{{title|}}} |{{{title}}} }}</div>{{
 
<div style="font-weight:bold;line-height:1.6;">{{#if: {{{title|}}} |{{{title}}} }}</div>{{
 
#if: {{{alwaysshowncontent|}}} |{{{alwaysshowncontent}}} }}
 
#if: {{{alwaysshowncontent|}}} |{{{alwaysshowncontent}}} }}
 
<div class="mw-collapsible-content">{{#if: {{{hiddencontent|}}} |{{{hiddencontent}}} }}</div>
 
<div class="mw-collapsible-content">{{#if: {{{hiddencontent|}}} |{{{hiddencontent}}} }}</div>
 
</div>
 
</div>

Revision as of 07:12, 27 January 2020