Difference between revisions of "Template:Cosmetic grade table"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 108: Line 108:
 
{{#if:{{{hat17|}}}|{{#if:{{{color17|}}}|
 
{{#if:{{{hat17|}}}|{{#if:{{{color17|}}}|
 
   <tr><td align="center" style="background:#{{{color17}}};">'''{{item name|{{{hat17}}}}}'''<br>{{#if:{{{grade17|}}}|
 
   <tr><td align="center" style="background:#{{{color17}}};">'''{{item name|{{{hat17}}}}}'''<br>{{#if:{{{grade17|}}}|
{{decorated name|{{{grade17}}}}}|200px}}</td>
+
{{decorated name|{{{grade17}}}}}}}</td>
       <td>{{item icon|{{{hat17}}}}}</td>
+
       <td>{{item icon|{{{hat17}}}|200px}}</td>
 
   </tr>
 
   </tr>
 
}}}}
 
}}}}

Revision as of 05:05, 10 November 2015

Documentation for Cosmetic grade table

Example

{{Decorated cosmetic 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
}}

Template:Decorated cosmetic table

Parameters

hat# (Numbers 1-19)
The name of the cosmetic, in proper format (spell it as it appears, and capitalize letters as needed).
grade# (Numbers 1-19)
The grade of the cosmetic, including "grade."
color# (Numbers 1-19)
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.