Difference between revisions of "Template:Collapsible box"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Undo revision 40970 by Arathun (talk))
Line 1: Line 1:
<includeonly><onlyinclude><div class="toccolours mw-collapsible {{#ifeq:{{{collapse|true}}}|true|mw-collapsed}}" style="width:{{{width|auto}}}; overflow:auto; display:flex; flex-direction:row-reverse padding:{{{padding|5px}}};{{{style-box|}}};">
<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}}};{{{style-box|}}};">
{{#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" style="{{{style-content|}}}">
<div class="mw-collapsible-content" style="{{{style-content|}}}">

Revision as of 21:06, 11 April 2021

{{Collapsible box|width=400px|title=Title|Collapsed text}}
Title

Collapsed text

{{Collapsible box|width=400px|title=Title|Collapsed text|collapse=false}}
Title

Collapsed text

{{Collapsible box|width=400px|title=Title|style-box=margin:50px;background-color:lightblue|style-content=font-family:Cooper Black, Consolas|Collapsed text|collapse=false}}
Title

Collapsed text