Jump to content

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

လုၵ်ႉတီႈ ဝိၵ်ႇသျိၼ်ႇၼရီႇ မႃး
red:  

လွင်ႈၸႂ်ႉတိုဝ်း[မႄးထတ်း]

This template can be used to display one or two color panels in an entry about the name of a color.

ပႃႇရႃႇမီႇတႃႇ[မႄးထတ်း]

  • |1= — the name of the color. If the name is not specified, the template defaults to the entry name.
  • |2= (in some cases |1=) — mandatory: the hex triplet of the color in the format |2=RRGGBB, with no preceding "#", for example:
    |2=FF0000 – red
    |2=FF536B – light red
    |2=00FF00 – green
    |2=0000FF – blue
  • |3= (in some cases |2=) — some terms can refer to more than one colour. This parameter can be used to indicate the hex triplet of a second colour panel.

If the first parameter is not used to specify the name of the color, the template will assume that the first parameter is the hex triplet of the first color, and the second parameter is hex triplet of the second color.

တူဝ်ယၢင်ႇ[မႄးထတ်း]

  • Wikitext:
    • Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table). (if used in the entry vermilion); or
    • Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).
  • Result:
    vermilion:  
  • Wikitext:
    • Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table). (if used in the entry incarnadine); or
    • Lua error in မေႃႇၵျူး:template_parser at line 1031: bad argument #1 to 'find' (string expected, got table).
  • Result:
    incarnadine:    

The template should generally be placed directly below a definition, like this:

# The [[blood-red]] colour of [[raw]] flesh; [[crimson#Noun|crimson]].
#: {{color panel|8C3534}}