Template:Scroll box
উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে
সূচিপত্র |
[সম্পাদনা] Warning
This template should only rarely be used in main article space, as it renders any content obscured within the template unprintable
[সম্পাদনা] Description
This template creates a scroll-box within an article that allows for large content to be limited to a given number of pixels on the page.
- Examples
- To edit the size of captions, you may use the following code:
- <div style="clear:both; text-align:center; font-size:90%">........</div>
[সম্পাদনা] Syntax
{{scroll box
|width=width (in pixel or in percent)
|height=height (in pixel)
|text=contents
}}
The colored text should be properly replaced as here described:
width
- The width of the box, expressed in pixel or in percent. (default=100%)
height
- The height of the box, you should express this value exclusively in pixel. (default=230px)
contents
- The text that should be displayed inside this frame. Note that only if the text is long enough, and you have a overflow, you will see the scroll bar. (required field, no default value)
[সম্পাদনা] Utilization
[সম্পাদনা] Example 1 (Simple)
[সম্পাদনা] Code
{{scroll box|
* Example 01
* Example 02
* Example 03
* Example 04
* Example 05
* Example 06
* Example 07
* Example 08
* Example 09
* Example 10
* Example 11
* Example 12
* Example 13
* Example 14
* Example 15
}}
[সম্পাদনা] Result
|
[সম্পাদনা] Example 2 (With 1 param)
[সম্পাদনা] Code
{{scroll box|text=
* Example 01
* Example 02
* Example 03
* Example 04
* Example 05
* Example 06
* Example 07
* Example 08
* Example 09
* Example 10
* Example 11
* Example 12
* Example 13
* Example 14
* Example 15
}}
[সম্পাদনা] Result
|
[সম্পাদনা] Example 3 (width)
[সম্পাদনা] Code
{{scroll box|width=75%|text=
* Example 01
* Example 02
* Example 03
* Example 04
* Example 05
* Example 06
* Example 07
* Example 08
* Example 09
* Example 10
* Example 11
* Example 12
* Example 13
* Example 14
* Example 15
}}
[সম্পাদনা] Result
|
[সম্পাদনা] Example 4 (width and height)
[সম্পাদনা] Code
{{scroll box|width=150px|height=100px|text=
* Example 01
* Example 02
* Example 03
* Example 04
* Example 05
* Example 06
* Example 07
* Example 08
* Example 09
* Example 10
* Example 11
* Example 12
* Example 13
* Example 14
* Example 15
}}

