Template:ExpandBox: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) m (Added Template:Lang) |
m (Added space in the box title. Simplified code: {{#if: {{{1|}}} | {{{1}}} | str}} -> {{{1|str}}}. #switch is redundant in this case.) |
||
Line 1: | Line 1: | ||
{{lang|Template:ExpandBox}}<!-- | |||
<includeonly> | --><onlyinclude><includeonly><!-- double line break: (isn't there a better solution? this prevents indenting using :{{ExpandBox|...}} ) --> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext=" | |||
| left | <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;"><!-- | ||
-->{{#If:{{{2|}}}|'''{{{2}}} '''}}<!-- | |||
--><div class="mw-collapsible-content" style="display: none;"><!-- | |||
< | --><div style="padding-right:6em;max-width:83em;"><!-- | ||
-->{{{1}}}<!-- | |||
--></div></div></div><!-- | |||
-->{{#if:{{{noendlinebreak|}}}||<br clear="all">}}<!-- | |||
--></includeonly></onlyinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here --> | <!-- Add categories to the /doc subpage, not here --> | ||
Revision as of 06:22, 10 October 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.