Template:ExpandBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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.)
(trying something to fix a bug)
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, won't interfere with TOCs.)</noinclude>
<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;"><div style="padding-right:6em;max-width:83em;">{{{1}}}</div></div>
<div class="mw-collapsible mw-collapsed" style="border:1px grey solid; overflow:auto; display: inline-block; height:1em;"><div style="padding-right:6em;max-width:83em;">{{{1}}}</div></div>

Revision as of 07:06, 10 August 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}}}