ਫਰਮਾ:Scrollpane/s
Usage
ਸੋਧੋEnable scrollable region of display.
{{centre block|{{scrollpane|border=1px solid grey|height=4em|width=16em|padding=1em 1em 1em 1em|{{lorem ipsum}}}}}}
produces effect:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Parameters:
border | Control border display and attributes (e.g. border=1px dashed silver; default: no border) |
height | Control height of scrolling region (units must be specified e.g. height=200px; default: unlimited) |
padding | Fine control of border padding around region (units must be specified e.g. padding=10px 5px 10px 5px; [Reminder: HTML side order is top right bottom left] default: 10px (0.6250em) for all four sides) |
width | Control width of scrolling region (units must be specified e.g. width=350px; default: unlimited) |
Template data
ਸੋਧੋEnable scrollable region of display
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
text | text 1 | text that will be within scrollable pane | String | required |
border | border | control border display and attributes (e.g. border=1px dashed silver; default: no border)
| String | optional |
height | height | control height of scrolling region (units must be specified e.g. height=200px; default: unlimited) | String | optional |
padding | padding | fine control of border padding around region (units must be specified e.g. padding=10px 5px 10px 5px; [Reminder: HTML side order is top right bottom left] default: 10px (0.6250em) for all four sides)
| String | optional |
width | width | control width of scrolling region (units must be specified e.g. width=350px; default: unlimited) | String | optional |