Difference between revisions of "Template:ItemColor"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
{{#switch:{{lc:{{{1|}}}}}
 
  | #default = FFD700
 
  | #default = FFD700
| Stock
+
  | stock | default | vanilla | normal = B2B2B2
  | stock
 
| Default
 
| default
 
| Vanilla
 
| vanilla
 
| Normal
 
| normal = B2B2B2
 
| Unique
 
 
  | unique = FFD700
 
  | unique = FFD700
| Vintage
 
 
  | vintage = 476291
 
  | vintage = 476291
| Genuine
 
 
  | genuine = 4D7455
 
  | genuine = 4D7455
| Strange
 
 
  | strange = CF6A32
 
  | strange = CF6A32
| Unusual
+
  | unusual = 8650AC
  | unusual
+
  | haunted = 38F3AB
| Haunted
+
  | collectors | collector's = AA0000
  | haunted = 8650AC
+
  | decorated = FAFAFA
  | Community
+
  | community | self-made | self made = 70B04A
| community
 
  | Self-Made
 
  | Self Made
 
| Self-made
 
| Self made
 
| self-Made
 
| self Made
 
| self-made
 
| self made = 70B04A
 
| Valve
 
 
  | valve = A50F79
 
  | valve = A50F79
 
}}<noinclude><br><br>
 
}}<noinclude><br><br>
 
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.
 
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.