Template:ExpandBox: Difference between revisions
Jump to navigation
Jump to search
(Replaced clear=all with clear={{{side}}}. Should make sense this way, revert if not.) |
(No longer floats by default, removed clr at its end. Should open/close smoother now. Removed {{{noendlinebreak}}}, I'll fix the 3 pages using it. Invented more intuitive parameter {{{title}}}, but keeping {{{2}}} for backwards compatibility.) |
||
Line 1: | Line 1: | ||
{{lang|Template:ExpandBox}} | {{lang|Template:ExpandBox}} | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="{{{expandtext|Expand}}}" data-collapsetext="{{{collapsetext|Collapse}}}" style="border:1px | --><div class="mw-collapsible {{#ifeq:{{{startcollapsed|1}}}|0||mw-collapsed}}" data-expandtext="{{{expandtext|Expand}}}" data-collapsetext="{{{collapsetext|Collapse}}}" style="border:1px rgba(255,255,255,0.2) solid; overflow:auto; float:{{{side|none}}}; display: table-cell; {{{style|}}}"><!-- | ||
-->{{ | -->'''{{{title|{{{2|}}}}}} '''<!-- | ||
--><div class="mw-collapsible-content" style=" | --><div class="mw-collapsible-content" style="max-width:83em; padding:0 0.5em"><!-- | ||
-->{{{1}}}<!-- | -->{{{1}}}<!-- | ||
--></div></div> | --></div></div><!-- | ||
--></includeonly></onlyinclude> | --></includeonly></onlyinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here --> | <!-- Add categories to the /doc subpage, not here --> |
Revision as of 21:00, 17 May 2022
The above documentation is transcluded from Template:ExpandBox/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.