Template:Scroll box: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(It's just not allowed in Proposal archives, but it's still in use on user and user talk pages, and deleting it wasn't the ultimate goal of updating the proposals anyway.) |
mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly><div class="scroll-box" style="overflow:auto;width:{{{width|auto}}};height:{{{height|250px}}};background:{{{bg|#f8f9fa}}};border:1px solid {{{border|#c8ccd1}}};padding:0 0.75em;margin:1em 0"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div></ | </div></includeonly><noinclude> | ||
This template inserts a scrollable content box onto the page. | |||
== | ==Usage== | ||
<pre> | |||
<pre | |||
{{scroll box | {{scroll box | ||
|content= | |content= | ||
}} | }} | ||
</pre> | |||
Optional <code>width</code> and <code>height</code> parameters can be used to adjust the dimensions of the scroll box. | |||
< | |||
[[Category:Structural templates]]</noinclude> | |||
[[Category: |
Revision as of 15:03, December 14, 2024
This template inserts a scrollable content box onto the page.
Usage
{{scroll box |content= }}
Optional width
and height
parameters can be used to adjust the dimensions of the scroll box.