सामग्री पर जाएँ

साँचा:Scrollpane/doc

विकिस्रोत से

Enable scrollable region of display.

{{block centre|{{scrollpane|border=1px solid grey|height=4em|width=16em|padding=1em 1em 1em 1em|{{lorem ipsum}}}}}}

produces effect:

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.

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

साँचे के पैरामीटर्स

पैरामीटरविवरणप्रकारस्थिति
texttext 1

text that will be within scrollable pane

स्ट्रिंगआवश्यक
borderborder

control border display and attributes (e.g. border=1px dashed silver; default: no border)

डिफ़ॉल्ट
no border
स्ट्रिंगवैकल्पिक
heightheight

control height of scrolling region (units must be specified e.g. height=200px; default: unlimited)

स्ट्रिंगवैकल्पिक
paddingpadding

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)

डिफ़ॉल्ट
10px
स्ट्रिंगवैकल्पिक
widthwidth

control width of scrolling region (units must be specified e.g. width=350px; default: unlimited)

स्ट्रिंगवैकल्पिक