ထႅမ်းပလဵတ်ႉ:Scroll box/doc
ဢၼ်ၼႆႉပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း ၽႄ တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ:Scroll box (တူၺ်းၼႃႈလိၵ်ႈၼၼ်ႉ တွၼ်ႈတႃႇ ထႅမ်းပလဵတ်ႉ တူဝ်မၼ်း)။ မၼ်းၶဝ်ႈပႃး လွၼ်ႉၶၢဝ်ႇ လွင်ႈၸႂ်ႉတိုဝ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ လမၼ်းၼႂ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၸႂ်ႈ ပွတ်းတွၼ်ႈၶွင် ထႅမ်းပလဵတ်ႉ ၼႃႈလိၵ်ႈ ငဝ်ႈတိုၼ်းမၼ်း။ |
Warning
မႄးထတ်းThis template should not be used in main article space, as it renders any content obscured within the template unprintable. This is especially true with text content, such as citations, according to a June 2007 discussion.
Please, if you see a scroll box in article space, remove it and put a hidden warning.
ၶေႃႈသပ်းလႅင်း
မႄးထတ်းThis template creates a scroll-box within a page 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>
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်း
{{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 the scroll bar will appear only if the text is long enough to overflow the given height. (required field, no default value)
Utilization
မႄးထတ်းတူဝ်ယၢင်ႇ 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=450px|height=400px|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
မႄးထတ်း
|