Difference between revisions of "Template:Decorated collection table"

From Team Fortress Wiki
Jump to: navigation, search
((FR) Translation of lines)
 
(26 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
<table class="wikitable collapsible collapsed" width="60%" style="font-size:110%;">
 
<table class="wikitable collapsible collapsed" width="60%" style="font-size:110%;">
 
<tr>
 
<tr>
   <th style="background:#F3A957;" width="33%"> {{lang
+
   <th style="background:#F3A957;" width="33%"> {{decorated name|weapon/grade}}
  | en = Weapon/Grade
 
  | pt-br = Arma / Nível
 
  }}
 
 
   </th>
 
   </th>
   <th style="background:#F3A957;" width="67%"> {{lang
+
   <th style="background:#F3A957;" width="67%"> {{decorated name|preview/wear}}
  | en = Preview/Wear
 
  | pt-br = Pré-visualização / Desgaste
 
  }}
 
 
   </th>
 
   </th>
 
</tr>
 
</tr>
 
    
 
    
{{#if:{{{skin1|}}}
+
{{#if:{{{skin1|}}}|{{#if:{{{color1|}}}|
  |{{#if:{{{color1|}}}
+
  <tr><td align="center" style="background:#{{{color1}}};">'''{{common string|decorated item|{{{weapon1}}}|{{{skin1}}}}}'''<br>{{#if:{{{grade1|}}}|{{#if:{{{weapon1|}}}|{{lang
    | <tr>
+
| en = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
      <td align="center" style="background:#{{{color1}}};">'''{{decorated name|{{{skin1}}}}}'''<br>
+
| de = {{item name|{{{weapon1}}}}}, {{decorated name|{{{grade1}}}}}
        {{#if:{{{grade1|}}}
+
| es = {{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
          |{{#if:{{{weapon1|}}}
+
| fr = {{decorated name|{{{grade1}}}}} - {{item name|{{{weapon1}}}}}
            |{{lang
+
| ja = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
              | en = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
+
| ko = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
              | pt-br = {{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
+
| pl = {{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
    }}
+
| pt-br = {{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
          }}
+
| ru = {{item name|{{{weapon1}}}}} {{lc:{{decorated name|{{{grade1}}}}}}}
        }}
+
| zh-hant = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
      </td>
+
}}}}}}</td
      <td>
 
        {{Weapon Wear Tabs|skin={{{skin1}}}}}
 
      </td>
 
    </tr>
 
  }}
 
{{#if:{{{skin2|}}}
 
  |{{#if:{{{color2}}}
 
    | <tr>
 
      <
 
 
}}
 
}}
 
</table>
 
</table>
 
<noinclude>
 
<noinclude>
{{translation switching}}
+
{{ts|en, de, es, fr, ja, ko, pl, pt-br, ru, zh-hant}}
 
{{doc begin}}
 
{{doc begin}}
 
===Example===
 
===Example===
Line 307: Line 480:
 
|skin1=Red Rock Roscoe
 
|skin1=Red Rock Roscoe
 
|grade1=elite grade
 
|grade1=elite grade
|weapon1=pistol
+
|weapon1=Pistol
 
|color1=EB4B4B
 
|color1=EB4B4B
 
|skin2=Sudden Flurry
 
|skin2=Sudden Flurry
 
|grade2=assassin grade
 
|grade2=assassin grade
|weapon2=stickybomb launcher
+
|weapon2=Stickybomb Launcher
 
|color2=D32CE6
 
|color2=D32CE6
 
|skin3=Night Terror
 
|skin3=Night Terror
 
|grade3=commando grade
 
|grade3=commando grade
|weapon3=scattergun
+
|weapon3=Scattergun
 
|color3=8847FF
 
|color3=8847FF
 
|skin4=Forest Fire
 
|skin4=Forest Fire
 
|grade4=mercenary grade
 
|grade4=mercenary grade
|weapon4=flame thrower
+
|weapon4=Flame Thrower
 
|color4=4B69FF
 
|color4=4B69FF
 
}}
 
}}
Line 326: Line 499:
 
|skin1=Red Rock Roscoe
 
|skin1=Red Rock Roscoe
 
|grade1=elite grade
 
|grade1=elite grade
|weapon1=pistol
+
|weapon1=Pistol
 
|color1=EB4B4B
 
|color1=EB4B4B
 
|skin2=Sudden Flurry
 
|skin2=Sudden Flurry
 
|grade2=assassin grade
 
|grade2=assassin grade
|weapon2=stickybomb launcher
+
|weapon2=Stickybomb Launcher
 
|color2=D32CE6
 
|color2=D32CE6
 
|skin3=Night Terror
 
|skin3=Night Terror
 
|grade3=commando grade
 
|grade3=commando grade
|weapon3=scattergun
+
|weapon3=Scattergun
 
|color3=8847FF
 
|color3=8847FF
 
|skin4=Forest Fire
 
|skin4=Forest Fire
 
|grade4=mercenary grade
 
|grade4=mercenary grade
|weapon4=flame thrower
+
|weapon4=Flame Thrower
 
|color4=4B69FF
 
|color4=4B69FF
 
}}
 
}}
 
=== Parameters ===
 
=== Parameters ===
:; ''skin#'' (Numbers 1-15)
+
:; ''skin#'' (Numbers 1-29)
 
:The name of the skin, in proper format (spell it as it appears, and capitalize letters as needed).
 
:The name of the skin, in proper format (spell it as it appears, and capitalize letters as needed).
:; ''grade#'' (Numbers 1-15)
+
:; ''grade#'' (Numbers 1-29)
 
:The grade of the skin, including "grade."
 
:The grade of the skin, including "grade."
:; ''weapon#'' (Numbers 1-15)
+
:; ''weapon#'' (Numbers 1-29)
 
:The weapon that the skin is based on.
 
:The weapon that the skin is based on.
:; ''color#''  (Numbers 1-15)
+
:; ''color#''  (Numbers 1-29)
 
:The hexadecimal code that corresponds with the grade of the skin, from [[Template:Item rarity table]]. Exclude pound sign, input only the six hexadecimal characters.
 
:The hexadecimal code that corresponds with the grade of the skin, from [[Template:Item rarity table]]. Exclude pound sign, input only the six hexadecimal characters.
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 04:10, 23 February 2024

Documentation for Decorated collection table

Example

{{Decorated collection table
|skin1=Red Rock Roscoe
|grade1=elite grade
|weapon1=Pistol
|color1=EB4B4B
|skin2=Sudden Flurry
|grade2=assassin grade
|weapon2=Stickybomb Launcher
|color2=D32CE6
|skin3=Night Terror
|grade3=commando grade
|weapon3=Scattergun
|color3=8847FF
|skin4=Forest Fire
|grade4=mercenary grade
|weapon4=Flame Thrower
|color4=4B69FF
}}

Parameters

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