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
(Created page with " <templatedata> { "params": { "1": { "label": "Content", "description": "The content to place within a scroll-able container", "type": "content", "required": true } }, "description": "This template renders whatever is placed within it as a scroll-able item if the contents overflow the container or page." } </templatedata>")
 
No edit summary
Line 8: Line 8:
"type": "content",
"type": "content",
"required": true
"required": true
},
"Overflow": {
"label": "Overflow",
"description": "The direction the scrollbar should appear on. If blank, defaults to both.",
"example": "x",
"type": "content",
"suggestedvalues": [
"x",
"y"
]
}
}
},
},
"description": "This template renders whatever is placed within it as a scroll-able item if the contents overflow the container or page."
"description": "This template renders whatever is placed within it as a scroll-able item if the contents overflow the container or page.",
"paramOrder": [
"1",
"Overflow"
]
}
}
</templatedata>
</templatedata>

Revision as of 01:39, 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