Jump to: navigation, search

Difference between revisions of "Template:Expander"


m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!-- takes tup to three parameters
+
<div class="toccolours mw-collapsible {{{state|mw-collapsed}}}" style="margin-left: {{{indent|0px}}};margin-right: {{{indent|0px}}};margin-bottom:8px;margin-top:4px;">
* margin: to indent the block in the page, useful if the collapse is within a bullet list
+
<div style="font-weight:bold;line-height:1.6;">{{{heading|Heading}}}</div>
* comment: to show a warning on the expand line
+
<div class="mw-collapsible-content">
* content: the actual content to hide
+
{{{content|{{{1}}}}}}
# adding additional div improved support for lists etc...
+
</div>
-->
+
<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>

Latest revision as of 12:31, 26 July 2023

Heading

{{{1}}}