Template:ExpandBox: Difference between revisions
Jump to navigation
Jump to search
Note:It is recommended that you use Template:Expand instead, but for certain pages, this template will be (temporarily?) kept since it works better with some templates.
(wrapped everything in another special div. this will keep pre tags from shrinking by the width of the collapse button and also keep them from going off the page if they get too wide. max-width should be adjusted if we find pre's go off the page for some.) |
No edit summary |
||
(36 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{LanguageBar}} | |||
<div class="mw-collapsible mw-collapsed" style="border:1px | {{Note|It is recommended that you use [[Template:Expand]] instead, but for certain pages, this template will be (temporarily?) kept since it works better with some templates.}} | ||
<includeonly><onlyinclude><!-- | |||
--> | |||
<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|}}}"><!-- | |||
--><strong>{{{title|{{{2|}}}}}}{{#if:{{{title|}}}{{{2|}}}| |<br>}}</strong><!-- | |||
--><div class="mw-collapsible-content" style="max-width:83em; padding:0 0.5em"><!-- | |||
-->{{{1}}}<!-- | |||
--></div></div><!-- | |||
--></onlyinclude></includeonly> | |||
{{doc}} | |||
<!-- Add categories to the /doc subpage, not here --> |
Latest revision as of 03:49, 11 February 2025

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.