Template:ExpandBox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(well, i figured out something at least. i'll work on improving it later.)
(figured out something else. works nicely now.)
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. Currently only one can be used per page, and it will interfere with any table of contents box because it uses that same javascript.</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, no more table of contents issue.)</noinclude>
<div id="toc" class="toc" style="border:1px grey solid; height:1em; overflow:auto; background-color:rgb(38,38,38);"><div id="toctitle"><h2>Click to expand</h2></div><ul>{{{1}}}</ul></div>
<div class="mw-collapsible mw-collapsed" style="border:1px grey solid; overflow:auto; display: inline-block;">{{{1}}}</div>

Revision as of 18:20, 30 June 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, no more table of contents issue.)

{{{1}}}