ထာမ်ပလိက်:color
မံက်ပြာကတ်
- ပွမဗက် လိက်စၟတ်သမ္တီမချူလဝ်နကဵုခၞံဗဒှ်အပ္ဍဲ ထာမ်ပလိက်:color/documentationအတေံ။ [ပလေဝ်ဒါန်]
- လေန်မရပ်စပ်သုၚ်စောဲ: စရၚ်မုက်လိက်ဓမၠေံ • လေန်ဂမၠိုၚ် • မပြံၚ်လှာဲဂၠံၚ်ဍာဲဂမၠိုၚ် • ပရေၚ်မပံၚ်စပ်ဂမၠိုၚ် • မဗၠေတ်ဗၠေၚ်ဂမၠိုၚ် (မပါ်ပ္တိတ်တၞဟ်ခြာပိုဒ်/မဝ်ဂျူ) • ကဠာသံၚ်ဗ္တဳ
Changes the color of text. The first parameter is color, the second is text:
{{color|purple|I'm purple!}}⇒
<span style="background:transparent;Lua error in မဝ်ဂျူ:string at line 1: You probably mean Module:string/templates.." title="transparent">I'm purple!{{color|#888888|And I'm gr(a/e)y!}}⇒
<span style="background:transparent;Lua error in မဝ်ဂျူ:string at line 1: You probably mean Module:string/templates.." title="transparent">And I'm gr(a/e)y!
If you omit the first parameter, a red colour that adapts to dark mode is used:
{{color||Default red}}⇒
<span style="background:transparent;Lua error in မဝ်ဂျူ:string at line 1: You probably mean Module:string/templates.." title="transparent">Default red
Do not use this template in entries, or in templates that will be used in entries unless specifying a colour from the palette (as in the example below). Otherwise the text may be unreadable for users of dark mode.
{{color|var(--wikt-palette-purple-9)|this text adapts to dark mode}}⇒
<span style="background:transparent;Lua error in မဝ်ဂျူ:string at line 1: You probably mean Module:string/templates.." title="transparent">this text adapts to dark mode