Difference between revisions of "Template:Cosmetic grade table"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 145: Line 145:
 
       <td>{{item icon|{{{hat19}}}|200px}}</td>
 
       <td>{{item icon|{{{hat19}}}|200px}}</td>
 
   </tr>
 
   </tr>
 +
}}}}
 
{{#if:{{{hat20|}}}|{{#if:{{{color20|}}}|
 
{{#if:{{{hat20|}}}|{{#if:{{{color20|}}}|
 
   <tr><td align="center" style="background:#{{{color20}}};">'''{{item name|{{{hat20}}}}}'''<br>{{#if:{{{grade20|}}}|
 
   <tr><td align="center" style="background:#{{{color20}}};">'''{{item name|{{{hat20}}}}}'''<br>{{#if:{{{grade20|}}}|
Line 165: Line 166:
 
{{#if:{{{hat23|}}}|{{#if:{{{color23|}}}|
 
{{#if:{{{hat23|}}}|{{#if:{{{color23|}}}|
 
   <tr><td align="center" style="background:#{{{color23}}};">'''{{item name|{{{hat23}}}}}'''<br>{{#if:{{{grade23|}}}|
 
   <tr><td align="center" style="background:#{{{color23}}};">'''{{item name|{{{hat23}}}}}'''<br>{{#if:{{{grade23|}}}|
 +
}}}}
 
{{decorated name|{{{grade23}}}}}}}</td>
 
{{decorated name|{{{grade23}}}}}}}</td>
 
       <td>{{item icon|{{{hat23}}}|200px}}</td>
 
       <td>{{item icon|{{{hat23}}}|200px}}</td>

Revision as of 04:53, 4 November 2023

}} }}

Documentation for Cosmetic grade table

Example

{{Cosmetic grade table
|hat1=Potassium Bonnett
|color1=eb4b4b
|grade1=elite grade
|hat2=El Duderino
|color2=D32CE6
|grade2=assassin grade
|hat3=Duck Billed Hatypus
|color3=8847FF
|grade3=commando grade
|hat4=Rotation Sensation
|color4=4b69ff
|grade4=mercenary grade
}}

Parameters

hat# (Numbers 1-25)
The name of the cosmetic, in proper format (spell it as it appears, and capitalize letters as needed).
grade# (Numbers 1-25)
The grade of the cosmetic, including "grade."
color# (Numbers 1-25)
The hexadecimal code that corresponds with the grade of the cosmetic, from Template:Item rarity table. Exclude pound sign, input only the six hexadecimal characters.