More actions
(remove container) |
(default fix) |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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> | |||
|#default=<div class="scrollbox__container">{{{1|}}}</div> | |||
}}<templatestyles src="Template:Scrollbox/styles.css"/><noinclude>{{/doc}}</noinclude> | |||
Latest revision as of 01:54, 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 |