Template:Scrollbox

Template page
Revision as of 22:17, 25 February 2024 by Mausterio (talk | contribs) (Created page with "{{#switch: {{{2|{{overflow|}}}}} |x=<div class="scrollbox__container-x">{{{1|}}}</div> |y=<div class="scrollbox__container-y">{{{1|}}}</div> |#default=<div class="scrollbox__container">{{{1|}}}</div> }}<templatestyles src="Template:Scrollbox/styles.css"/><noinclude>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template renders whatever is placed within it as a scroll-able item if the contents overflow the container or page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Content1

The content to place within a scroll-able container

Contentrequired
Overflowoverflow

The direction the scrollbar should appear on. If blank, defaults to both.

Suggested values
x y
Example
x
Contentoptional