Difference between revisions of "Template:Cosmetic grade table"

From Team Fortress Wiki
Jump to: navigation, search
m (Added Romanian translation)
m
 
(5 intermediate revisions by the same user not shown)
Line 37: Line 37:
 
{{decorated name|{{{grade1}}}}}}}</td>
 
{{decorated name|{{{grade1}}}}}}}</td>
 
       <td>{{item icon|{{{hat1}}}|200px}}</td>
 
       <td>{{item icon|{{{hat1}}}|200px}}</td>
   </tr>}}
+
   </tr>
 +
}}}}
 
{{#if:{{{hat2|}}}|{{#if:{{{color2|}}}|
 
{{#if:{{{hat2|}}}|{{#if:{{{color2|}}}|
 
   <tr><td align="center" style="background:#{{{color2}}};">'''{{item name|{{{hat2}}}}}'''<br>{{#if:{{{grade2|}}}|
 
   <tr><td align="center" style="background:#{{{color2}}};">'''{{item name|{{{hat2}}}}}'''<br>{{#if:{{{grade2|}}}|
Line 146: Line 147:
 
   </tr>
 
   </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>
 +
}}}}
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>
Line 183: Line 219:
 
}}
 
}}
 
== Parameters ==
 
== Parameters ==
:; ''hat#'' (Numbers 1-19)
+
:; ''hat#'' (Numbers 1-25)
 
:The name of the cosmetic, in proper format (spell it as it appears, and capitalize letters as needed).
 
:The name of the cosmetic, in proper format (spell it as it appears, and capitalize letters as needed).
:; ''grade#'' (Numbers 1-19)
+
:; ''grade#'' (Numbers 1-25)
 
:The grade of the cosmetic, including "grade."
 
:The grade of the cosmetic, including "grade."
:; ''color#''  (Numbers 1-19)
+
:; ''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.
 
: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.
 
</noinclude>
 
</noinclude>

Latest revision as of 06:15, 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.