Template:ExpandBox: Difference between revisions
Jump to navigation
Jump to search
(figured out something else. works nicely now.) |
(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.) |
||
Line 1: | Line 1: | ||
<noinclude>This template is intended for very long lists that aren't significant enough to warrant their own page, but also end up making pages ridiculously long. Works fine even if used multiple times on a page. (Also, | <noinclude>This template is intended for very long lists that aren't significant enough to warrant their own page, but also end up making pages ridiculously long. Works fine even if used multiple times on a page. (Also, won't interfere with TOCs.)</noinclude> | ||
<div class="mw-collapsible mw-collapsed" style="border:1px grey solid; overflow:auto; display: inline-block;">{{{1}}}</div> | <div class="mw-collapsible mw-collapsed" style="border:1px grey solid; overflow:auto; display: inline-block;"><div style="padding-right:6em;max-width:83em;">{{{1}}}</div></div> |
Revision as of 01:31, 2 July 2018
This template is intended for very long lists that aren't significant enough to warrant their own page, but also end up making pages ridiculously long. Works fine even if used multiple times on a page. (Also, won't interfere with TOCs.)
{{{1}}}