Difference between revisions of "Template:Cosmetic grade table"

From Team Fortress Wiki
Jump to: navigation, search
m (Added Romanian translation)
m (Bumped the limit to 19)
Line 144: Line 144:
 
{{decorated name|{{{grade19}}}}}}}</td>
 
{{decorated name|{{{grade19}}}}}}}</td>
 
       <td>{{item icon|{{{hat19}}}|200px}}</td>
 
       <td>{{item icon|{{{hat19}}}|200px}}</td>
 +
  </tr>
 +
{{#if:{{{hat20|}}}|{{#if:{{{color20|}}}|
 +
  <tr><td align="center" style="background:#{{{color20}}};">'''{{item name|{{{hat20}}}}}'''<br>{{#if:{{{grade20|}}}|
 +
{{decorated name|{{{grade20}}}}}}}</td>
 +
      <td>{{item icon|{{{hat20}}}|200px}}</td>
 +
  </tr>
 +
}}}}
 +
{{#if:{{{hat21|}}}|{{#if:{{{color21|}}}|
 +
  <tr><td align="center" style="background:#{{{color21}}};">'''{{item name|{{{hat21}}}}}'''<br>{{#if:{{{grade21|}}}|
 +
{{decorated name|{{{grade21}}}}}}}</td>
 +
      <td>{{item icon|{{{hat21}}}|200px}}</td>
 +
  </tr>
 +
}}}}
 +
{{#if:{{{hat22|}}}|{{#if:{{{color22|}}}|
 +
  <tr><td align="center" style="background:#{{{color22}}};">'''{{item name|{{{hat22}}}}}'''<br>{{#if:{{{grade22|}}}|
 +
{{decorated name|{{{grade22}}}}}}}</td>
 +
      <td>{{item icon|{{{hat22}}}|200px}}</td>
 +
  </tr>
 +
}}}}
 +
{{#if:{{{hat23|}}}|{{#if:{{{color23|}}}|
 +
  <tr><td align="center" style="background:#{{{color23}}};">'''{{item name|{{{hat23}}}}}'''<br>{{#if:{{{grade23|}}}|
 +
{{decorated name|{{{grade23}}}}}}}</td>
 +
      <td>{{item icon|{{{hat23}}}|200px}}</td>
 +
</tr>
 +
}}}}
 +
{{#if:{{{hat24|}}}|{{#if:{{{color24|}}}|
 +
  <tr><td align="center" style="background:#{{{color24}}};">'''{{item name|{{{hat24}}}}}'''<br>{{#if:{{{grade24|}}}|
 +
{{decorated name|{{{grade24}}}}}}}</td>
 +
      <td>{{item icon|{{{hat24}}}|200px}}</td>
 +
  </tr>
 +
}}}}
 +
{{#if:{{{hat25|}}}|{{#if:{{{color25|}}}|
 +
  <tr><td align="center" style="background:#{{{color25}}};">'''{{item name|{{{hat25}}}}}'''<br>{{#if:{{{grade25|}}}|
 +
{{decorated name|{{{grade25}}}}}}}</td>
 +
      <td>{{item icon|{{{hat25}}}|200px}}</td>
 
   </tr>
 
   </tr>
 
}}}}
 
}}}}

Revision as of 04:31, 4 November 2023

{{#if:| {{#if:|

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-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.