Difference between revisions of "Template:Collapsible box"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (Enabled inlining) |
SurtrFan8511 (talk | contribs) (added padding settings) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude><div class="toccolours mw-collapsible {{#ifeq:{{{collapse|true}}}|true|mw-collapsed}}" style="width:{{{width|auto}}}; overflow:auto; display:inline-block;"> | <includeonly><onlyinclude><div class="toccolours mw-collapsible {{#ifeq:{{{collapse|true}}}|true|mw-collapsed}}" style="width:{{{width|auto}}}; overflow:auto; display:inline-block; padding:{{{padding|5px}}};"> | ||
{{#if:{{{title|}}}|<div style="font-weight:bold;line-height:1.6;">{{{title|}}}</div>}} | {{#if:{{{title|}}}|<div style="font-weight:bold;line-height:1.6;">{{{title|}}}</div>}} | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> |
Revision as of 11:40, 22 August 2020
{{Collapsible box|width=400px|title=Title|Collapsed text}}
Title
Collapsed text
{{Collapsible box|width=400px|title=Title|Collapsed text|collapse=false}}
Title
Collapsed text