ထႅမ်းပလဵတ်ႉ:Midsize/doc
Appearance
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Midsize ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
{{Midsize}} displays parameter 1 as mid-size text, at font-size 92%, slightly larger than Template:Small, which shows text at 85% size. The optional parameter "height=1.1" can wrap multiple lines closer together. Parameter "size=70" can set other sizes, such as "This is size-70 text".
- Usage: {{midsize|This is middle-sized text.}} → This is middle-sized text.
The line-height is also reduced so that the text wraps as less-tall lines, as in the following example of text with breaks in the lines:
- {{midsize|This example shows multiple lines of<br>middle-sized text as being wrapped<br>
onto multiple lines, closer together.}} →
This example shows multiple lines of
middle-sized text as being wrapped
onto multiple lines, closer together.
- {{midsize|This example shows multiple lines of<br>middle-sized text as being wrapped<br>
- {{midsize|height=0.9|This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br>
onto multiple lines, even closer together.}} →
This 2nd example shows multiple lines of
middle-sized text being wrapped
onto multiple lines, even closer together.
- {{midsize|height=0.9|This 2nd example shows multiple lines of<br>middle-sized text being wrapped<br>
Because many users are unaware of the style directives for changing both the font-size and the line-height attributes, then Template:Midsize provides an easy way to consistently reduce text as being middle-sized, but larger than small-font text, while also allowing "height=1.1" or "size=n" for other sizes.
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]Code | Size | Semantics | Result |
---|---|---|---|
{{small|text}} |
85% | <small> |
text |
{{smaller|text}} |
90% | none | text |
{{resize|text}} |
90% | none | text |
{{midsize|text}} |
92% | none | text |
none | 100% | none | text |
{{larger|text}} |
110% | none | text |
{{big|text}} |
120% | <big> |
text |
{{large|text}} |
125% | none | text |
{{huge|text}} |
180% | none | text |
{{resize|x%}} |
custom | none | varies |
{{font|size=x%}} |
custom | none | varies |