Difference between revisions of "Template:TeamAbbrToColor"
From Golly.Life Wiki
| Line 22: | Line 22: | ||
If you want the color WITH the hash sign, for actually coloring things, see {{Tl|TeamAbbrToHexColor}} | If you want the color WITH the hash sign, for actually coloring things, see {{Tl|TeamAbbrToHexColor}} | ||
| − | |||
| − | |||
This is useful for coloring tables and for using with {{Tl|HexColor}}: | This is useful for coloring tables and for using with {{Tl|HexColor}}: | ||
| Line 33: | Line 31: | ||
{{HexColor|{{TeamAbbrToColor|SS}}}} | {{HexColor|{{TeamAbbrToColor|SS}}}} | ||
| + | [[Category:Colors]] | ||
</noinclude> | </noinclude> | ||
Revision as of 23:41, 10 February 2021
This is a switch that takes a capitalized team abbreviation as an input and returns the hex color of the team.
This returns the color WITHOUT the hash sign. This means it is useful for DISPLAY PURPOSES ONLY.
If you want the color WITH the hash sign, for actually coloring things, see {{TeamAbbrToHexColor}}
This is useful for coloring tables and for using with {{HexColor}}:
{{HexColor|{{TeamAbbrToColor|SS}}}}
#e86215