Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Scrollbox/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
Line 9: Line 9:
"required": true
"required": true
},
},
"Overflow": {
"overflow": {
"label": "Overflow",
"label": "Overflow",
"description": "The direction the scrollbar should appear on. If blank, defaults to both.",
"description": "The direction the scrollbar should appear on. If blank, defaults to both.",
Line 23: Line 23:
"paramOrder": [
"paramOrder": [
"1",
"1",
"Overflow"
"overflow"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 01:40, 28 July 2023

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

Template parameters

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