More actions
(remove container) |
(x/y support) |
||
| Line 1: | Line 1: | ||
<div class="scrollbox__container">{{{1|}}}</div> | {{#switch: {{{2|{{overflow}}}}} | ||
<templatestyles src="Template:Scrollbox/styles.css"/><noinclude>{{/doc}}</noinclude> | |x=<div class="scrollbox__container-x">{{{1|}}}</div> | ||
|y=<div class="scrollbox__container-y">{{{1|}}}</div> | |||
|<div class="scrollbox__container">{{{1|}}}</div> | |||
}}<templatestyles src="Template:Scrollbox/styles.css"/><noinclude>{{/doc}}</noinclude> | |||
Revision as of 01:37, 28 July 2023
This template renders whatever is placed within it as a scroll-able item if the contents overflow the container or page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Content | 1 | The content to place within a scroll-able container | Content | required |
| Overflow | overflow | The direction the scrollbar should appear on. If blank, defaults to both.
| Content | optional |