Difference between revisions of "Template:ItemColor"

From Team Fortress Wiki
Jump to: navigation, search
m
m
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
+
  | community | self-made | self made = 70B04A
  | haunted = 8650AC
 
| Community
 
  | 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.

Revision as of 14:54, 27 October 2012

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.