Template:Scroll box: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
<includeonly><div class="scroll-box" style="clear:both;overflow:auto;max-width:100%;width:{{{width|max-content}}};height:{{{height|250px}}};background:{{{bg|#f8f9fa}}};border:1px solid {{{border|#c8ccd1}}};box-sizing:border-box;padding:0 0.75em;margin:1em 0">
<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></includeonly><noinclude>
</div></includeonly><noinclude>

Latest revision as of 14: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.