5,698
edits
Changes
added second parameter to switch based on background (light/dark/default)
<includeonly>color:#{{#switch: {{{2|}}} | Light | light | L | l = {{#switch: {{{1|}}} | Legendary | legendary | Yellow | yellow | L | l | 5 = BBBB00 | Epic | epic | P | p | purple | 4 = BB00BB | Exceptional | exceptional | Red | red | X | x | 3 = BB0000 | Rare | rare | Blue | blue | R | r | 2 = 00BBBB | Uncommon | uncommon | Green | green | U | u | 1 = 009900 | Common | common | White | white | C | c | 0 = 666666 | #default = 808080 | Dark | dark | D | d = {{#switch: {{{1|}}} | Legendary | legendary | Yellow | yellow | L | l | 5 = FAEF24 | Epic | epic | P | p | purple | 4 = ff00ff FF00FF | Exceptional | exceptional | Red | red | X | x | 3 = F40302 | Rare | rare | Blue | blue | R | r | 2 = 00E7E7 | Uncommon | uncommon | Green | green | U | u | 1 = 04C304 | Common | common | White | white | C | c | 0 = FFFFFF | #default = 808080 | #default = {{#switch: {{{1|}}} | Legendary | legendary | Yellow | yellow | L | l | 5 = FFFF22 | Epic | epic | P | p | purple | 4 = BB00BB | Exceptional | exceptional | Red | red | X | x | 3 = DD0000 | Rare | rare | Blue | blue | R | r | 2 = 00e7e799FFFF | Uncommon | uncommon | Green | green | U | u | 1 = 04c30477FF77 | Common | common | White | white | C | c | 0 = 222222 | #default = ffffff808080
}};</includeonly><noinclude>{{documentation}}</noinclude>