Difference between revisions of "Template:Expander"
m (Fixed a mistake where header was hardcoded) |
m |
||
Line 1: | Line 1: | ||
− | <div class=" | + | <!-- takes tup to three parameters |
− | + | * 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 |
− | {{{ | + | * 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}}}