Difference between revisions of "Template:Decorated collection table"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 13: Line 13:
 
</tr>
 
</tr>
 
    
 
    
{{#if:{{{skin1|}}}
+
{{#if:{{{skin1|}}}|{{#if:{{{color1|}}}|
  |{{#if:{{{color1|}}}
+
  <tr><td align="center" style="background:#{{{color1}}};">'''{{decorated name|{{{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>
+
| pt-br ={{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
        {{#if:{{{grade1|}}}
+
}}}}}}</td>
          |{{#if:{{{weapon1|}}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin1}}}}}</td>
            |{{lang
+
  </tr>}}
              | en = {{decorated name|{{{grade1}}}}} {{item name|{{{weapon1}}}}}
+
{{#if:{{{skin2|}}}|{{#if:{{{color2}}}|
              | pt-br = {{item name|{{{weapon1}}}}} {{decorated name|{{{grade1}}}}}
+
  <tr><td align="center" style="background:#{{{color2}}};">'''{{decorated name|{{{skin2}}}}}'''<br>{{#if:{{{grade2|}}}|{{#if:{{{weapon2|}}}|{{lang
    }}
+
| en ={{decorated name|{{{grade2}}}}} {{item name|{{{weapon2}}}}}
          }}
+
| pt-br ={{item name|{{{weapon2}}}}} {{decorated name|{{{grade2}}}}}
        }}
+
}}}}}}</td>
      </td>
+
       <td>{{Weapon Wear Tabs|skin={{{skin2}}}}}</td>
       <td>
+
  </tr>
        {{Weapon Wear Tabs|skin={{{skin1}}}}}
+
}}}}
      </td>
+
{{#if:{{{skin3|}}}|{{#if:{{{color3}}}|
    </tr>
+
  <tr><td align="center" style="background:#{{{color3}}};">'''{{decorated name|{{{skin3}}}}}'''<br>{{#if:{{{grade3|}}}|{{#if:{{{weapon3|}}}|{{lang
  }}
+
| en ={{decorated name|{{{grade3}}}}} {{item name|{{{weapon3}}}}}
{{#if:{{{skin2|}}}
+
| pt-br ={{item name|{{{weapon3}}}}} {{decorated name|{{{grade3}}}}}
  |{{#if:{{{color2}}}
+
}}}}}}</td>
    | <tr>
+
       <td>{{Weapon Wear Tabs|skin={{{skin3}}}}}</td>
      <td align="center" style="background:#{{{color2}}};">'''{{decorated name|{{{skin2}}}}}'''<br>
+
  </tr>
        {{#if:{{{grade2|}}}
+
}}}}
          |{{#if:{{{weapon2|}}}
+
{{#if:{{{skin4|}}}|{{#if:{{{color4}}}|
    |{{lang
+
  <tr><td align="center" style="background:#{{{color4}}};">'''{{decorated name|{{{skin4}}}}}'''<br>{{#if:{{{grade4|}}}|{{#if:{{{weapon4|}}}|{{lang
      | en = {{decorated name|{{{grade2}}}}} {{item name|{{{weapon2}}}}}
+
| en ={{decorated name|{{{grade4}}}}} {{item name|{{{weapon4}}}}}
              | pt-br = {{item name|{{{weapon2}}}}} {{decorated name|{{{grade2}}}}}
+
| pt-br ={{item name|{{{weapon4}}}}} {{decorated name|{{{grade4}}}}}
    }}
+
}}}}}}</td>
          }}
+
       <td>{{Weapon Wear Tabs|skin={{{skin4}}}}}</td>
        }}
+
  </tr>
      </td>
+
}}}}
       <td>
+
{{#if:{{{skin5|}}}|{{#if:{{{color5}}}|
        {{Weapon Wear Tabs|skin={{{skin2}}}}}
+
  <tr><td align="center" style="background:#{{{color5}}};">'''{{decorated name|{{{skin5}}}}}'''<br>{{#if:{{{grade5|}}}|{{#if:{{{weapon5|}}}|{{lang
      </td>
+
| en ={{decorated name|{{{grade5}}}}} {{item name|{{{weapon5}}}}}
    </tr>
+
| pt-br ={{item name|{{{weapon5}}}}} {{decorated name|{{{grade5}}}}}
  }}
+
}}}}}}</td>
}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin5}}}}}</td>
{{#if:{{{skin3|}}}
+
  </tr>
  |{{#if:{{{color3}}}
+
}}}}
    | <tr>
+
{{#if:{{{skin6|}}}|{{#if:{{{color6}}}|
      <td align="center" style="background:#{{{color3}}};">'''{{decorated name|{{{skin3}}}}}'''<br>
+
  <tr><td align="center" style="background:#{{{color6}}};">'''{{decorated name|{{{skin6}}}}}'''<br>{{#if:{{{grade6|}}}|{{#if:{{{weapon6|}}}|{{lang
{{#if:{{{grade3|}}}
+
| en ={{decorated name|{{{grade6}}}}} {{item name|{{{weapon6}}}}}
  |{{#if:{{{weapon3|}}}
+
| pt-br ={{item name|{{{weapon6}}}}} {{decorated name|{{{grade6}}}}}
    |{{lang
+
}}}}}}</td>
      | en = {{decorated name|{{{grade3}}}}} {{item name|{{{weapon3}}}}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin6}}}}}</td>
              | pt-br = {{item name|{{{weapon3}}}}} {{decorated name|{{{grade3}}}}}
+
  </tr>
    }}
+
}}}}
          }}
+
{{#if:{{{skin7|}}}|{{#if:{{{color7}}}|
        }}
+
  <tr><td align="center" style="background:#{{{color7}}};">'''{{decorated name|{{{skin7}}}}}'''<br>{{#if:{{{grade7|}}}|{{#if:{{{weapon7|}}}|{{lang
      </td>
+
| en ={{decorated name|{{{grade7}}}}} {{item name|{{{weapon7}}}}}
       <td>
+
| pt-br ={{item name|{{{weapon7}}}}} {{decorated name|{{{grade7}}}}}
{{Weapon Wear Tabs|skin={{{skin3}}}}}
+
}}}}}}</td>
      </td>
+
       <td>{{Weapon Wear Tabs|skin={{{skin7}}}}}</td>
    </tr>
+
  </tr>
  }}
+
}}}}
}}
+
{{#if:{{{skin8|}}}|{{#if:{{{color8}}}|
{{#if:{{{skin4|}}}
+
  <tr><td align="center" style="background:#{{{color8}}};">'''{{decorated name|{{{skin8}}}}}'''<br>{{#if:{{{grade8|}}}|{{#if:{{{weapon8|}}}|{{lang
  |{{#if:{{{color4}}}
+
| en ={{decorated name|{{{grade8}}}}} {{item name|{{{weapon8}}}}}
    | <tr>
+
| pt-br ={{item name|{{{weapon8}}}}} {{decorated name|{{{grade8}}}}}
      <td align="center" style="background:#{{{color4}}};">'''{{decorated name|{{{skin4}}}}}'''<br>
+
}}}}}}</td>
{{#if:{{{grade4|}}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin8}}}}}</td>
  |{{#if:{{{weapon4|}}}
+
  </tr>
    |{{lang
+
}}}}
      | en = {{decorated name|{{{grade4}}}}} {{item name|{{{weapon4}}}}}
+
{{#if:{{{skin9|}}}|{{#if:{{{color9}}}|
              | pt-br = {{item name|{{{weapon4}}}}} {{decorated name|{{{grade4}}}}}
+
  <tr><td align="center" style="background:#{{{color9}}};">'''{{decorated name|{{{skin9}}}}}'''<br>{{#if:{{{grade9|}}}|{{#if:{{{weapon9|}}}|{{lang
    }}
+
| en ={{decorated name|{{{grade9}}}}} {{item name|{{{weapon9}}}}}
          }}
+
| pt-br ={{item name|{{{weapon9}}}}} {{decorated name|{{{grade9}}}}}
        }}
+
}}}}}}</td>
      </td>
+
       <td>{{Weapon Wear Tabs|skin={{{skin9}}}}}</td>
       <td>
+
  </tr>
{{Weapon Wear Tabs|skin={{{skin4}}}}}
+
}}}}
      </td>
+
{{#if:{{{skin10|}}}|{{#if:{{{color10}}}|
    </tr>
+
  <tr><td align="center" style="background:#{{{color10}}};">'''{{decorated name|{{{skin10}}}}}'''<br>{{#if:{{{grade10|}}}|{{#if:{{{weapon10|}}}|{{lang
  }}
+
| en ={{decorated name|{{{grade10}}}}} {{item name|{{{weapon10}}}}}
}}
+
| pt-br ={{item name|{{{weapon10}}}}} {{decorated name|{{{grade10}}}}}
{{#if:{{{skin5|}}}
+
}}}}}}</td>
  |{{#if:{{{color5}}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin10}}}}}</td>
    | <tr>
+
  </tr>
      <td align="center" style="background:#{{{color5}}};">'''{{decorated name|{{{skin5}}}}}'''<br>
+
}}}}
{{#if:{{{grade5|}}}
+
{{#if:{{{skin11|}}}|{{#if:{{{color11}}}|
  |{{#if:{{{weapon5|}}}
+
  <tr><td align="center" style="background:#{{{color11}}};">'''{{decorated name|{{{skin11}}}}}'''<br>{{#if:{{{grade11|}}}|{{#if:{{{weapon11|}}}|{{lang
    |{{lang
+
| en = {{decorated name|{{{grade11}}}}} {{item name|{{{weapon11}}}}}
      | en = {{decorated name|{{{grade5}}}}} {{item name|{{{weapon5}}}}}
+
| pt-br = {{item name|{{{weapon11}}}}} {{decorated name|{{{grade11}}}}}
              | pt-br = {{item name|{{{weapon5}}}}} {{decorated name|{{{grade5}}}}}
+
}}}}}}</td>
    }}
+
       <td>{{Weapon Wear Tabs|skin={{{skin11}}}}}</td>
          }}
+
  </tr>
        }}
+
}}}}
      </td>
+
{{#if:{{{skin12|}}}|{{#if:{{{color12}}}|
       <td>
+
  <tr><td align="center" style="background:#{{{color12}}};">'''{{decorated name|{{{skin12}}}}}'''<br>{{#if:{{{grade12|}}}|{{#if:{{{weapon12|}}}|{{lang
{{Weapon Wear Tabs|skin={{{skin5}}}}}
+
| en ={{decorated name|{{{grade12}}}}} {{item name|{{{weapon12}}}}}
      </td>
+
| pt-br ={{item name|{{{weapon12}}}}} {{decorated name|{{{grade12}}}}}
    </tr>
+
}}}}}}</td>
  }}
+
       <td>{{Weapon Wear Tabs|skin={{{skin12}}}}}</td>
}}
+
  </tr>
{{#if:{{{skin6|}}}
+
}}}}
  |{{#if:{{{color6}}}
+
{{#if:{{{skin13|}}}|{{#if:{{{color13}}}|
    | <tr>
+
  <tr><td align="center" style="background:#{{{color13}}};">'''{{decorated name|{{{skin13}}}}}'''<br>{{#if:{{{grade13|}}}|{{#if:{{{weapon13|}}}|{{lang
      <td align="center" style="background:#{{{color6}}};">'''{{decorated name|{{{skin6}}}}}'''<br>
+
| en ={{decorated name|{{{grade13}}}}} {{item name|{{{weapon13}}}}}
        {{#if:{{{grade6|}}}
+
| pt-br ={{item name|{{{weapon13}}}}} {{decorated name|{{{grade13}}}}}
  |{{#if:{{{weapon6|}}}
+
}}}}}}</td>
    |{{lang
+
       <td>{{Weapon Wear Tabs|skin={{{skin13}}}}}</td>
      | en = {{decorated name|{{{grade6}}}}} {{item name|{{{weapon6}}}}}
+
  </tr>
              | pt-br = {{item name|{{{weapon6}}}}} {{decorated name|{{{grade6}}}}}
+
}}}}
    }}
+
{{#if:{{{skin14|}}}|{{#if:{{{color14}}}|
          }}
+
  <tr><td align="center" style="background:#{{{color14}}};">'''{{decorated name|{{{skin14}}}}}'''<br>{{#if:{{{grade14|}}}|{{#if:{{{weapon14|}}}|{{lang
        }}
+
| en ={{decorated name|{{{grade14}}}}} {{item name|{{{weapon14}}}}}
      </td>
+
| pt-br ={{item name|{{{weapon14}}}}} {{decorated name|{{{grade14}}}}}
       <td>
+
}}}}}}</td>
        {{Weapon Wear Tabs|skin={{{skin6}}}}}
+
       <td>{{Weapon Wear Tabs|skin={{{skin14}}}}}</td>
      </td>
+
  </tr>
    </tr>
+
}}}}
  }}
+
{{#if:{{{skin15|}}}|{{#if:{{{color15}}}|
}}
+
  <tr><td align="center" style="background:#{{{color15}}};">'''{{decorated name|{{{skin15}}}}}'''<br>{{#if:{{{grade15|}}}|{{#if:{{{weapon15|}}}|{{lang
{{#if:{{{skin7|}}}
+
| en ={{decorated name|{{{grade15}}}}} {{item name|{{{weapon15}}}}}
  |{{#if:{{{color7}}}
+
| pt-br ={{item name|{{{weapon15}}}}} {{decorated name|{{{grade15}}}}}
    | <tr>
+
}}}}}}</td>
      <td align="center" style="background:#{{{color7}}};">'''{{decorated name|{{{skin7}}}}}'''<br>
+
       <td>{{Weapon Wear Tabs|skin={{{skin15}}}}}</td>
{{#if:{{{grade7|}}}
+
  </tr>
  |{{#if:{{{weapon7|}}}
+
}}}}
    |{{lang
 
      | en = {{decorated name|{{{grade7}}}}} {{item name|{{{weapon7}}}}}
 
              | pt-br = {{item name|{{{weapon7}}}}} {{decorated name|{{{grade7}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin7}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin8|}}}
 
  |{{#if:{{{color8}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color8}}};">'''{{decorated name|{{{skin8}}}}}'''<br>
 
{{#if:{{{grade8|}}}
 
  |{{#if:{{{weapon8|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade8}}}}} {{item name|{{{weapon8}}}}}
 
              | pt-br = {{item name|{{{weapon8}}}}} {{decorated name|{{{grade8}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin8}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin9|}}}
 
  |{{#if:{{{color9}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color9}}};">'''{{decorated name|{{{skin9}}}}}'''<br>
 
{{#if:{{{grade9|}}}
 
  |{{#if:{{{weapon9|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade9}}}}} {{item name|{{{weapon9}}}}}
 
              | pt-br = {{item name|{{{weapon9}}}}} {{decorated name|{{{grade9}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin9}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin10|}}}
 
  |{{#if:{{{color10}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color10}}};">'''{{decorated name|{{{skin10}}}}}'''<br>
 
{{#if:{{{grade10|}}}
 
  |{{#if:{{{weapon10|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade10}}}}} {{item name|{{{weapon10}}}}}
 
              | pt-br = {{item name|{{{weapon10}}}}} {{decorated name|{{{grade10}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin10}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin11|}}}
 
  |{{#if:{{{color11}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color11}}};">'''{{decorated name|{{{skin11}}}}}'''<br>
 
{{#if:{{{grade11|}}}
 
  |{{#if:{{{weapon11|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade11}}}}} {{item name|{{{weapon11}}}}}
 
              | pt-br = {{item name|{{{weapon11}}}}} {{decorated name|{{{grade11}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
        {{Weapon Wear Tabs|skin={{{skin11}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin12|}}}
 
  |{{#if:{{{color12}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color12}}};">'''{{decorated name|{{{skin12}}}}}'''<br>
 
{{#if:{{{grade12|}}}
 
  |{{#if:{{{weapon12|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade12}}}}} {{item name|{{{weapon12}}}}}
 
              | pt-br = {{item name|{{{weapon12}}}}} {{decorated name|{{{grade12}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin12}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin13|}}}
 
  |{{#if:{{{color13}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color13}}};">'''{{decorated name|{{{skin13}}}}}'''<br>
 
{{#if:{{{grade13|}}}
 
  |{{#if:{{{weapon13|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade13}}}}} {{item name|{{{weapon13}}}}}
 
              | pt-br = {{item name|{{{weapon13}}}}} {{decorated name|{{{grade13}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin13}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin14|}}}
 
  |{{#if:{{{color14}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color14}}};">'''{{decorated name|{{{skin14}}}}}'''<br>
 
{{#if:{{{grade14|}}}
 
  |{{#if:{{{weapon14|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade14}}}}} {{item name|{{{weapon14}}}}}
 
              | pt-br = {{item name|{{{weapon14}}}}} {{decorated name|{{{grade14}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
        {{Weapon Wear Tabs|skin={{{skin14}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
{{#if:{{{skin15|}}}
 
  |{{#if:{{{color15}}}
 
    | <tr>
 
      <td align="center" style="background:#{{{color15}}};">'''{{decorated name|{{{skin15}}}}}'''<br>
 
{{#if:{{{grade15|}}}
 
  |{{#if:{{{weapon15|}}}
 
    |{{lang
 
      | en = {{decorated name|{{{grade15}}}}} {{item name|{{{weapon15}}}}}
 
              | pt-br = {{item name|{{{weapon15}}}}} {{decorated name|{{{grade15}}}}}
 
    }}
 
          }}
 
        }}
 
      </td>
 
       <td>
 
{{Weapon Wear Tabs|skin={{{skin15}}}}}
 
      </td>
 
    </tr>
 
  }}
 
}}
 
 
}}
 
}}
 
</table>
 
</table>

Revision as of 04:38, 20 July 2015

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-15)
The name of the skin, in proper format (spell it as it appears, and capitalize letters as needed).
grade# (Numbers 1-15)
The grade of the skin, including "grade."
weapon# (Numbers 1-15)
The weapon that the skin is based on.
color# (Numbers 1-15)
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.