Template:ExpandBox: Difference between revisions
Jump to navigation
Jump to search
m (Added space in the box title. Simplified code: {{#if: {{{1|}}} | {{{1}}} | str}} -> {{{1|str}}}. #switch is redundant in this case.) |
(Replaced clear=all with clear={{{side}}}. Should make sense this way, revert if not.) |
||
Line 1: | Line 1: | ||
{{lang|Template:ExpandBox}} | {{lang|Template:ExpandBox}} | ||
<onlyinclude><includeonly><!-- double line break: (isn't there a better solution? this prevents indenting using :{{ExpandBox|...}} ) --> | |||
<div class="mw-collapsible mw-collapsed" data-expandtext="{{{expandtext|Expand}}}" data-collapsetext="{{{collapsetext|Collapse}}}" style="border:1px grey solid; overflow:auto; float:{{{side|left}}}; display: inline-block;"><!-- | <div class="mw-collapsible mw-collapsed" data-expandtext="{{{expandtext|Expand}}}" data-collapsetext="{{{collapsetext|Collapse}}}" style="border:1px grey solid; overflow:auto; float:{{{side|left}}}; display: inline-block;"><!-- | ||
Line 8: | Line 8: | ||
-->{{{1}}}<!-- | -->{{{1}}}<!-- | ||
--></div></div></div><!-- | --></div></div></div><!-- | ||
-->{{#if:{{{noendlinebreak|}}}||<br clear=" | -->{{#if:{{{noendlinebreak|}}}||<br clear="{{{side|left}}}">}}<!-- | ||
--></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 11:25, 14 December 2021
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.