Difference between revisions of "Template:Collapsible"
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: | + | {{#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> |