Jump to: navigation, search

Difference between revisions of "Template:Expander"


m (Finalized and added instructions.)
m
 
Line 1: Line 1:
<!-- First div is container with customizable margin. Called 'indent' to prevent conflict with margin style -->
+
<div class="toccolours mw-collapsible {{{state|mw-collapsed}}}" style="margin-left: {{{indent|0px}}};margin-right: {{{indent|0px}}};margin-bottom:8px;margin-top:4px;">
<!-- Second div is heading in bold -->
+
<!-- Third div content, named or positional -->
+
<div class="toccolours mw-collapsible mw-collapsed" style="margin-left: {{{indent|0px}}};margin-right: {{{indent|0px}}};margin-bottom:8px;margin-top:4px;">
+
 
<div style="font-weight:bold;line-height:1.6;">{{{heading|Heading}}}</div>
 
<div style="font-weight:bold;line-height:1.6;">{{{heading|Heading}}}</div>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">

Latest revision as of 12:31, 26 July 2023

Heading

{{{1}}}