• ႁူဝ်ႁႅၵ်ႈ
  • ရၼ်ႇတမ်ႇ
  • ႁိမ်းၸမ်
  • လွၵ်ႉၶဝ်ႈ
  • ၵၢၼ်လိူၵ်ႈၶၼ်
Donate Now If Wikipedia is useful to you, please give today.
  • ၵဵဝ်ႇၵပ်း ဝီႇၶီႇၽီးတီးယႃး
  • ၶေႃႈထဵင်
ဝီႇၶီႇၽီးတီးယႃး

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

  • ၽႃႇသႃႇ
  • ပႂ်ႉတူၺ်း
  • မႄးထတ်း

ၽိုၼ်ၵႅမ်မိုဝ်း ထႅမ်းပလဵတ်ႉ[တူၺ်း] [ထတ်း] [ပိုၼ်း] [ၸၢင်း]
Links should clearly be identifiable as links to readers.
Refrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons. See the guides to editing articles for accessibility at contrast, accessibility and navbox colors.
Warningထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ မွၵ်ႈ 40,000 ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ထႅမ်းပလဵတ်ႉ's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases , ဢမ်ႇၼၼ် တီႈၼႂ်း ၼႃႈလိၵ်ႈၽႄ ၽူႈၸႂ်ႉတိုဝ်း။ ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။

လမ်းၼႂ်း

  • 1 တၢင်းယိူင်းဢိူင်း
  • 2 လၢႆးၸႂ်ႉတိုဝ်း
    • 2.1 ပႃႇရႃႇမီႇတႃႇ
  • 3 တူဝ်ယၢင်ႇ
  • 4 တူၺ်းပႃး

တၢင်းယိူင်းဢိူင်း

မႄးထတ်း

{{ Font color }} is how you insert colorized text, such as red, orange, green, blue and indigo, and many others. You can specify its background color at the same time.

{{ Font color }} is also how you can color wikilinks to something other than blue for when you need to work within background colors. Normally [[ wikilink ]] → wikilink, but here we use a {{ font color }} with |link = to create a black wikilink →    wikilink    You can make any text link to any page using the |link= parameter.

This template will use Wikipedia:HTML5 recommendations, inserting the span tags <span style="color:color">...</span> and <span style="background-color:color">...</span>, so the page increases its readability and usability in both the wikitext and the rendered page.

လၢႆးၸႂ်ႉတိုဝ်း

မႄးထတ်း

{{Font color}} has a one-color and a two-color form:

{{font color | color | text }}
{{font color | text color | background color | text }}.

Either form has a |link= option, for colorizing (otherwise blue or red) wikilink text.

|link=yes → [[text]]
|link=fullpagename → [[fullpagename]]

You can also name the other fields.

{{font color | fg=color | text=text }}
{{font color | fg=text color | bg=background color | text=text }}

You can name |fg= or |bg=, which is nice, but... if you name either of them, you must also name |text=, which is a compromise. (See Help:Template#Parameters for why.)

Spacing is of no concern.

.{{font color|tan|green|text with four words}}. → .text with four words.
. {{font color|tan|green|text with four words}} . → . text with four words .
. {{ font color | tan | green | text with four words }} . → . text with four words .

ပႃႇရႃႇမီႇတႃႇ

မႄးထတ်း
Use / description Default value
{{{1}}} text color inherited
{{{2}}} text
link =yes or =fullpagename
Or
Use / description Default value
{{{1}}} text color inherited
{{{2}}} background color inherited
{{{3}}} text
link =yes or =fullpagename

တူဝ်ယၢင်ႇ

မႄးထတ်း
Markup Renders as
{{ font color | green | green text }} green text
{{ font color | blue | do not style text as a link }} do not style text as a link
{{ font color || yellow | default text in yellow background }} default text in yellow background
{{ font color | bg=yellow | text = default text in yellow background }} default text in yellow background
{{ font color | white | black | white with black background }} white with black background
{{ font color | #ffffff | #000000 | white with black background }} ([[hexadecimal colors]]) white with black background (hexadecimal colors)
Markup Renders as
{{ font color | white | blue | Wikipedia:Example | link = yes }} Wikipedia:Example
{{ font color | white | blue | Wikipedia:Example | link = Wikipedia:Sandbox }} Wikipedia:Example
{{ font color | text = Wikipedia:Example | link = Wikipedia:Sandbox | bg = blue | fg = white }} Wikipedia:Example

The |link= parameter is a good way to colorize wikilinks, and it is about as much typing as the pipe trick.

Although a wikilink accepts a font color (or other template or markup):

[[Wikipedia:Example|{{font color|white|blue|the Wikipedia:Example page}}]]
→ the Wikipedia:Example page (a font-colored link),

a font color does not accept a wikilink, it creates wikilinks itself with |link=.

  • Green tickY {{ font color | green | violet | Wikipedia:Example | link=yes }} → Wikipedia:Example (a |link= {{ font color }})
  • ☒N{{ font color | green | violet | the [[Wikipedia:Example]] page}} → the Wikipedia:Example page (Text with [[wikilink brackets]] overrides the designated color)
  • ☒N{{ font color | green | violet | [[Wikipedia:Exammple]] }} → the Wikipedia:Exammple page (Text with [[wikilink brackets]] overrides the designated color)

For more examples see /testcases. For actual mainspace template usage, here are search links for

  • all usage.
  • where |link= is used.
  • hastemplate: "font color" prefix:F showing its use in articles whose title begins with the letter "F".

တူၺ်းပႃး

မႄးထတ်း
  • Important Manual of Style information
  • Web colors
  • HTML color names
  • List of colors
  • Help: Link color
  • {{color}}
  • {{background color}}
  • {{coltit}} — colored table header cell
  • {{color contrast ratio}}
  • {{hilite}}
  • {{font}}
  • {{tq}}
  • {{xt}}
ၽိုၼ်ၵႅမ်မိုဝ်း တီႈၽၢႆႇၼိူဝ်ၼႆႉ ပဵၼ် ဢၼ် ထွၼ်ဢွၵ်ႇ မႃးတီႈ ထႅမ်းပလဵတ်ႉ:Font color/doc။ (ထတ်း | ပိုၼ်း)
ၽူႈမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | mirror) လႄႈ testcases (သၢင်ႈ) ၶွင် ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ လႆႈယူႇ။
ထႅမ်ပိူင်ထၢၼ်ႈ သႂ်ႇၸူးတီႈ ၼႃႈလိၵ်ႈၽႄ /doc ။ ၼႃႈလိၵ်ႈၽႄ ၶွင် ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ.
ဢဝ်ၶိုၼ်းမႃးတီႈ "https://shn.wikipedia.org/w/index.php?title=ထႅမ်းပလဵတ်ႉ:Font_color&oldid=45604"
Last edited on 7 ၸုၼ်ႇ 2021, at 08:01

Languages

    • Аԥсшәа
    • العربية
    • الدارجة
    • مصرى
    • অসমীয়া
    • Asturianu
    • Авар
    • अवधी
    • Azərbaycanca
    • تۆرکجه
    • Башҡортса
    • Basa Bali
    • Bikol Central
    • Беларуская
    • Беларуская (тарашкевіца)
    • भोजपुरी
    • Banjar
    • ပအိုဝ်ႏဘာႏသာႏ
    • বাংলা
    • Bosanski
    • Català
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Нохчийн
    • کوردی
    • Cymraeg
    • Dansk
    • Zazaki
    • Kadazandusun
    • ދިވެހިބަސް
    • Ελληνικά
    • English
    • Esperanto
    • Español
    • Euskara
    • فارسی
    • Føroyskt
    • Français
    • Bahasa Hulontalo
    • ગુજરાતી
    • Gungbe
    • Gaelg
    • Hausa
    • 客家語 / Hak-kâ-ngî
    • עברית
    • हिन्दी
    • Hrvatski
    • Magyar
    • Հայերեն
    • Interlingua
    • Bahasa Indonesia
    • Ilokano
    • Italiano
    • 日本語
    • Jawa
    • ქართული
    • Kumoring
    • Қазақша
    • ភាសាខ្មែរ
    • 한국어
    • Kurdî
    • Кыргызча
    • Лезги
    • Ladin
    • ລາວ
    • Lietuvių
    • Latviešu
    • मैथिली
    • Мокшень
    • Македонски
    • മലയാളം
    • Монгол
    • मराठी
    • Bahasa Melayu
    • Malti
    • Mirandés
    • မြန်မာဘာသာ
    • مازِرونی
    • नेपाली
    • Norsk bokmål
    • Sesotho sa Leboa
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • پښتو
    • Português
    • Română
    • Русский
    • संस्कृतम्
    • Саха тыла
    • Scots
    • سنڌي
    • Srpskohrvatski / српскохрватски
    • Taclḥit
    • සිංහල
    • Simple English
    • Slovenščina
    • Shqip
    • Српски / srpski
    • Svenska
    • Kiswahili
    • Sakizaya
    • தமிழ்
    • తెలుగు
    • Тоҷикӣ
    • ไทย
    • Türkmençe
    • Tagalog
    • Tok Pisin
    • Türkçe
    • Татарча / tatarça
    • Українська
    • اردو
    • Oʻzbekcha / ўзбекча
    • Vèneto
    • Tiếng Việt
    • მარგალური
    • 中文
    • 文言
    • 閩南語 / Bân-lâm-gú
    • 粵語
    ဝီႇၶီႇၽီးတီးယႃး
    • Wikimedia Foundation
    • Powered by MediaWiki
    • ၼႃႈ​လိၵ်ႈၼႆ့ မႄးမႃး​ဝႆႉ ၼင်ႇ​ၵမ်း​လိုၼ်း​သုတ်း မိူဝ်ႈ ဝၼ်း​တီႈ 7 ၸုၼ်ႇ 2021 ၶၢဝ်းယၢမ်း 08:01
    • ၸိူဝ်းၶဝ်ႈပႃးဝႆႉၼႆႉ မၼ်းတေၸၢင်ႈၸႂ်ႉလႆႈ ၵႃႈတီႈ မ်ႂ CC BY-SA 4.0
    • လၵ်း​ၼမ်း လွင်ႈ​ႁူမ်ႇ​လူမ်ႈ သုၼ်ႇ​လဵဝ်
    • ၵဵဝ်ႇၵပ်း ဝီႇၶီႇၽီးတီးယႃး
    • ၶေႃႈထဵင်
    • Code of Conduct
    • ၽူႈၶူင်သၢင်ႈ
    • သဵၼ်ႈသၢႆမၢႆ
    • ၶေႃႈပိုၼ်ၽၢဝ်ႇ ၶူၵ်ႉၶီး
    • ၶေႃႈၽၢင်ႉလွင်ႈၸႂ်ႉတိုဝ်း
    • ၶွမ်း