Difference between revisions of "Template:ItemColor"
(Creating a color template. Add in the quality name and it outputs the color (HEX). Will be used with Template:ShineLoadout, when it's done.) |
m |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch:{{{1|}}} | + | {{#switch:{{lc:{{{1|}}}}} |
− | | #default = | + | | #default = FFD700 |
− | + | | stock | default | vanilla | normal = B2B2B2 | |
− | | stock | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| unique = FFD700 | | unique = FFD700 | ||
− | |||
| vintage = 476291 | | vintage = 476291 | ||
− | |||
| genuine = 4D7455 | | genuine = 4D7455 | ||
− | |||
| strange = CF6A32 | | strange = CF6A32 | ||
− | + | | unusual = 8650AC | |
− | | unusual | + | | haunted = 38F3AB |
− | + | | collectors | collector's = AA0000 | |
− | | haunted = | + | | decorated = FAFAFA |
− | | | + | | community | self-made | self made = 70B04A |
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| valve = A50F79 | | valve = A50F79 | ||
}}<noinclude><br><br> | }}<noinclude><br><br> | ||
− | Outputs the hex code for an item quality name. No entry defaults to | + | Outputs the hex code for an item quality name. No entry defaults to {{qcc|FF7D00}} (Unique). Supports Genuine, Vintange, Strange, etc. Does not provide translation switching. |
+ | [[Category:Templates]] |
Latest revision as of 19:18, 26 December 2021
FFD700
Outputs the hex code for an item quality name. No entry defaults to #FF7D00 (Unique). Supports Genuine, Vintange, Strange, etc. Does not provide translation switching.