ထႅမ်းပလဵတ်ႉ:Outline color
ၶေႃႈသပ်းလႅင်း
[မႄးထတ်းငဝ်ႈငႃႇ]This template displays text with a colored outline. It's basic use is thus: {{outline color|This text is outlined in gold}}
, which comes out as: This text is outlined in gold
Other colors can be specified but the default is a gold 2px solid outline with no blending. An optional strength parameter also allows customised blending at three strength levels.
လၢႆးၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]{{outline color|text}}
or
{{outline color|text|color}}
or
{{outline color|text|color|strength=1..3}}
Outline color
Displays text with a colored outline.
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
Text | 1 | The string to be outlined. | String | required |
Color | 2 | The outline color. Can be specified as a named web color or the standard 6-digit or 3-digit hexadecimal codes. If this parameter is not specified a default value of #FFD700 is used which is gold.
| String | optional |
Strength | 3 | An optional parameter that in the range 1..3 allows the outline to be blended at customised strength levels. A value of 0 produces no outline. If this parameter is any other value, or is not specified, then the default option is a solid 2px outline with no blending which produces a strong outline | String | optional |
လၢႆးၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]Examples ranging from solid 2px outline to no outline:
{{Outline color|Outline in default color}}
→ Outline in default color{{Outline color|Outline in #FF69B4|#FF69B4}}
→ Outline in #FF69B4{{Outline color|Outline in red|red}}
→ Outline in red{{Outline color|Outline in red|red|strength=3}}
→ Outline in red{{Outline color|Outline in red|red|strength=2}}
→ Outline in red{{Outline color|Outline in red|red|strength=1}}
→ Outline in red{{Outline color|Outline in red|red|strength=0}}
→ Outline in red
Example showing outlining of bolded wikilink:
{{Outline color|'''[[ACT and Southern NSW Rugby Union]]'''|gold}}
→ ACT and Southern NSW Rugby Union
Example showing outlining of bolded wikilink with colored text:
[[Waikato Chiefs|<span style= "color:#ff0;">{{Outline color|'''Chiefs'''|red|strength=3}}</span>]]
→ Chiefs
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]- Template:Swatch inline — displays text with a background in a solid color
ၽိုၼ်ၵႅမ်မိုဝ်းလၢႆးၸႂ်ႉတိုဝ်း (documentation)တီႈၽၢႆႇၼိူဝ်ၼႆႉ လုၵ်ႉတီႈ ထႅမ်းပလဵတ်ႉ:Outline color/doc သေ ၶၢႆႉသႂ်ႇၶဝ်ႈ (ႁဵတ်း transclude ဝႆႉၶႃႈဢေႃႈ။ (မႄးထတ်း | ပိုၼ်း) ၽူႈၸိူဝ်းမႄးထတ်းၶဝ် ၸၢင်ႈၸၢမ်းတူၺ်းလႆႈ ၸိူဝ်းပဵၼ်ၼႃႈလိၵ်ႈ sandbox (သၢင်ႈ | ငဝ်းမိူၼ်) လႄႈ testcases (သၢင်ႈ) ႁင်း ထႅမ်းပလဵတ်ႉဢၼ်ၼႆႉ လႆႈယူႇၶႃႈ။ သႂ်ႇပိူင်ထၢၼ်ႈ ၵႃႈတီႈ ၼႃႈလိၵ်ႈၽႄ /doc လႄႈ။ ၼႃႈလိၵ်ႈၽႄ ႁင်း ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ။. |