Jump to: navigation, search

Difference between revisions of "Template:Expander"


m (Fixed a mistake where header was hardcoded)
m
Line 1: Line 1:
<div class="toccolours mw-collapsible mw-collapsed">
+
<!-- takes tup to three parameters
<div style="font-weight:bold;line-height:1.6;">{{{1}}}</div>
+
* margin: to indent the block in the page, useful if the collapse is within a bullet list
<div class="mw-collapsible-content">
+
* comment: to show a warning on the expand line
{{{2}}}
+
* content: the actual content to hide
</div>
+
# adding additional div improved support for lists etc...
 +
-->
 +
<div class="mw-collapsible mw-collapsed" style="margin-left: {{{margin|0px}}};margin-right: {{{margin|0px}}};margin-bottom:8px;">
 +
{{{heading|Heading}}}
 +
<div class="mw-collapsible-content"><div>{{{content|{{{1}}}}}}</div></div>
 
</div>
 
</div>

Revision as of 12:13, 26 July 2023

Heading

{{{1}}}