Jump to content

ထႅမ်းပလဵတ်ႉ:Font

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး
Documentation icon ၽိုၼ်ၵႅမ်မိုဝ်းထႅမ်းပလဵတ်ႉ[တူၺ်း] [မႄးထတ်း] [ပိုၼ်း] [ၸၢင်း]

{{font}} is used to define text styles, for example, size and color. It can also be used to inject CSS. This can be useful when needed to change "I" in Arial to "I" in Times New Roman, since in Arial, uppercase "I" looks the same as lowercase "L".

{{font|TEXT(or「text=TEXT」)|font=FONT|size=SIZE(px/em/pt/%)|color=COLOR|bgcolor=BACKGROUND COLOR|css=CSS}}

တူဝ်ယၢင်ႇ

[မႄးထတ်းငဝ်ႈငႃႇ]
Markup Display
{{font|text=Some text.|font=|size=|color=}} Some text.
{{font|text=Some text.|font=Comic Sans MS|size=20px|color=#7f5620}} Some text.
{{font|Illinois|font=Times New Roman|size=20px}} Illinois
{{font|Illinois|font=Arial|size=20px}} Illinois
{{font|啡色的文字。|font=標楷體|size=20px|color=#7f5620}} 啡色的文字。
{{font|text=Hello World!|font=Century Gothic|size=35px|color=#bf00bf}} Hello World!
{{font|text=囧囧囧囧囧|font=Simhei|color=#c9b295|bgcolor=#364d6a}} 囧囧囧囧囧
{{font|text=可以選用全部選項。|font=Simhei|size=20px|color=#5a7aad|bgcolor=#f9f9ef}} 可以選用全部選項,
{{font|text=也可以只選用其中一項選項。|size=25px}} 也可以只選用其中一項選項。
Parameter Default
font Sans-serif
size 100%
color black
bgcolor transparent

This template should not be used around multiple paragraphs. For example, it should not be used around multiple bullet or numbered points or more than one cell of a table. It may, however, surround as many uses of <br /> as desired.

ၶေႃႈမုၼ်း ထႅမ်းပလဵၵ်ႉ

[မႄးထတ်းငဝ်ႈငႃႇ]
ၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ပဵၼ် တူဝ်ထတ်းတႃႁၼ်(VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးၼၼ်ႉ ယိူင်းဢၢၼ်း တႃႇဢဝ် ၶိူင်ႈၸိူဝ်းၼၼ်ႉ ၸႂ်ႉလႆႈတီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးသေ ၸင်ႇလႆႈဢဝ် ပိူင် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢိင်းၵလဵတ်ႈၼၼ်ႉ ႁဵတ်းဝႆႉပဵၼ် တီႈမၢႆတီႈတွင်းယဝ်ႉ။ ႁူမ်ႈဝႃႈ ပႆႇၸႂ်ႉၶိူင်ႈၸိူဝ်းၼၼ်ႉသေတႃႉ ပေႃးပဵၼ် ၵူၼ်းႁူႉလွင်ႈတႅမ်ႈပရူဝ်ႇၵရႅမ်ႇ (computer programming) ဢိတ်းဢွတ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈၸႅင်ႈလႅင်းလီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ သၽေႃးတီႈၵႅပ်ႈမၼ်းလႆႈယူႇ။

Font

Template data parameterlist

No description.

Template parameters[ၸတ်းၵၢၼ် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ]

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
texttext

no description

Unknownoptional
11

no description

Unknownoptional
fontfont

no description

Unknownoptional
sizesize

no description

Unknownoptional
colorcolor

no description

Unknownoptional
bgcolorbgcolor

no description

Unknownoptional
titletitle

no description

Unknownoptional
csscss

no description

Unknownoptional
Font size templates
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