Difference between revisions of "Template:Taunt"

From Team Fortress Wiki
Jump to: navigation, search
(Rewrote template; displays associated weapon icons in a vertical list instead of bunching up with middots, etc. Various other formatting fixes as well.)
Line 1: Line 1:
{| class="wikitable" width="100%"
+
<table class="wikitable" style="width:100%;">
|-
+
<tr>
! style="background-color: #FFD580; width: 20%;" rowspan="2"| [[File:{{{image}}}|150x150px]]
+
<th style="background-color: #FFD580; width: 20%;" rowspan="2">[[File:{{{image}}}|150x150px]]</th>
! style="text-align: center; background-color: #FFD580; height: 21px; width: 25%;" | {{lang
+
<th style="text-align: center; background-color: #FFD580; height: 21px; width: 25%;">{{lang
   | ar = السلاح{{#if: {{{weapon-2|}}}|s| }} الملحق
+
   | ar = السلاح الملحق
   | da = Relatere{{#if: {{{weapon-2|}}}|de|t}} våben
+
   | da = {{#if:{{{weapon-2|}}}|Relaterede våben|Relateret våben}}
   | de = Zugehörige Waffe{{#if: {{{weapon-2|}}}|n|}}
+
   | de = {{#if:{{{weapon-2|}}}|Zugehörige Waffen|Zugehörige Waffe}}
   | en = Weapon{{#if: {{{weapon-2|}}}|s| }} associated
+
   | en = {{#if:{{{weapon-2|}}}|Associated weapons|Associated weapon}}
   | es = Arma{{#if: {{{weapon-2|}}}|s| }} asociada
+
   | es = {{#if:{{{weapon-2|}}}|Armas asociada|Arma asociada}}
   | fi = Liittyvä{{#if: {{{weapon-2|}}}|t| }} ase{{#if: {{{weapon-2|}}}|et| }}
+
   | fi = {{#if:{{{weapon-2|}}}|Liittyvät aseet|Liittyvä ase}}
   | fr = Arme{{#if: {{{weapon-2|}}}|s| }} associée{{#if: {{{weapon-2|}}}|s| }}
+
   | fr = {{#if:{{{weapon-2|}}}|Armes associées|Arme associée}}
   | it = Arm{{#if: {{{weapon-2|}}}|i|a}} associat{{#if: {{{weapon-2|}}}|e|a}}
+
   | it = {{#if:{{{weapon-2|}}}|Armi associate|Arma associata}}
 
   | ja = 用意する武器
 
   | ja = 用意する武器
   | ko = 사용하는 무기 {{#if: {{{weapon-2|}}}|s| }}
+
   | ko = 사용하는 무기
   | nl = Bijbehorende wapen{{#if: {{{weapon-2|}}}|s}}
+
   | nl = {{#if:{{{weapon-2|}}}|Bijbehorende wapens|Bijbehorende wapen}}
   | pl = Powiązan{{#if: {{{weapon-2|}}}|e|a}} bro{{#if: {{{weapon-2|}}}|nie|ń}}
+
   | pl = {{#if:{{{weapon-2|}}}|Powiązane bronie|Powiązana broń}}
   | pt = Arma{{#if: {{{weapon-2|}}}|s| }} associada
+
   | pt = {{#if:{{{weapon-2|}}}|Armas associada|Arma associada}}
   | pt-br = Arma{{#if: {{{weapon-2|}}}|s| }} relacionada
+
   | pt-br = {{#if:{{{weapon-2|}}}|Armas relacionada|Arma relacionada}}  
   | ro = Arm{{#if: {{{weapon-2|}}}|e|ă| }} asociat{{#if: {{{weapon-2|}}}|e|ă| }}
+
   | ro = {{#if:{{{weapon-2|}}}|Arme asociate|Armă asociată}}
   | ru = Cвязанное{{#if: {{{weapon-2|}}}|| }} оружие
+
   | ru = Cвязанное оружие
 
   | sv = Vapen
 
   | sv = Vapen
   | tr = İlgili Silah{{#if: {{{weapon-2|}}}|lar| }}
+
   | tr = {{#if:{{{weapon-2|}}}|İlgili Silahlar|İlgili Silah}}
   | zh-hans = 相关武器{{#if: {{{weapon-2|}}}|| }}
+
   | zh-hans = 相关武器
   | zh-hant = 相關武器{{#if: {{{weapon-2|}}}|| }}
+
   | zh-hant = 相關武器
   }}
+
   }}</th>
! style="text-align:center; background:#FFD580; height:21px;" | {{lang
+
<th style="text-align:center; background:#FFD580; height:21px;">{{lang
 
   | ar = الوصف
 
   | ar = الوصف
 
   | da = Beskrivelse
 
   | da = Beskrivelse
Line 45: Line 45:
 
   | zh-hans = 描述
 
   | zh-hans = 描述
 
   | zh-hant = 描述
 
   | zh-hant = 描述
   }}
+
   }}</th>{{#if:{{{special|}}}
{{#if: {{{special|}}}|! style="text-align:center; background:#FFD580; height:21px;" {{!}} {{lang
+
| <th style="text-align:center; background:#FFD580; height:21px;">{{lang
 
   | ar = أيقونة القتل
 
   | ar = أيقونة القتل
 
   | en = Kill Icon
 
   | en = Kill Icon
Line 65: Line 65:
 
   | zh-hans = 杀人图示
 
   | zh-hans = 杀人图示
 
   | zh-hant = 殺人圖示
 
   | zh-hant = 殺人圖示
   }}}}
+
   }}</th>
|- valign="top"
+
}}
| {{#if: {{{weapon-1|}}}|
+
</tr>
{{{!}} cellpadding="0" cellspacing="0" align="center"
+
<tr valign="top">
{{!}} style="text-align: center;" {{!}} {{Icon item|item={{{weapon-1}}}|icon-size=65px}}
+
{{#if:{{{weapon-1|}}}
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-2|}}}|{{b}}}}
+
| <td style="padding:0.25em 0;">
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-2|}}}|{{Icon item|item={{{weapon-2}}}|icon-size=65px}}}}
+
  <div style="width:14em; margin:0 auto; font-size:0.95em;">
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-3|}}}|{{b}}}}
+
    <ul style="list-style:none; margin:0;">
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-3|}}}|{{Icon item|item={{{weapon-3}}}|icon-size=65px}}}}
+
    <li>{{item icon|1={{{weapon-1}}}|2=36px}}&nbsp;[[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]</li>{{
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-4|}}}|{{b}}}}
+
    #if:{{{weapon-2|}}}|<li>{{item icon|1={{{weapon-2}}}|2=36px}}&nbsp;[[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|{{Icon item|item={{{weapon-4}}}|icon-size=65px}}}}
+
    #if:{{{weapon-3|}}}|<li>{{item icon|1={{{weapon-3}}}|2=36px}}&nbsp;[[{{{weapon-3}}}{{if lang}}|{{item name|{{{weapon-3}}}}}]]</li>}}{{
{{!}}-
+
    #if:{{{weapon-4|}}}|<li>{{item icon|1={{{weapon-4}}}|2=36px}}&nbsp;[[{{{weapon-4}}}{{if lang}}|{{item name|{{{weapon-4}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} [[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]
+
    #if:{{{weapon-5|}}}|<li>{{item icon|1={{{weapon-5}}}|2=36px}}&nbsp;[[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-2|}}}|[[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]}}
+
    #if:{{{weapon-6|}}}|<li>{{item icon|1={{{weapon-6}}}|2=36px}}&nbsp;[[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-3|}}}|[[{{{weapon-3}}}{{if lang}}|{{item name|{{{weapon-3}}}}}]]}}
+
    #if:{{{weapon-7|}}}|<li>{{item icon|1={{{weapon-7}}}|2=36px}}&nbsp;[[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|[[{{{weapon-4}}}{{if lang}}|{{item name|{{{weapon-4}}}}}]]}}
+
    #if:{{{weapon-8|}}}|<li>{{item icon|1={{{weapon-8}}}|2=36px}}&nbsp;[[{{{weapon-8}}}{{if lang}}|{{item name|{{{weapon-8}}}}}]]</li>}}{{
{{!}}}
+
    #if:{{{weapon-9|}}}|<li>{{item icon|1={{{weapon-9}}}|2=36px}}&nbsp;[[{{{weapon-9}}}{{if lang}}|{{item name|{{{weapon-9}}}}}]]</li>}}{{
{{{!}} cellpadding="0" cellspacing="0" align="center"
+
    #if:{{{weapon-10|}}}|<li>{{item icon|1={{{weapon-10}}}|2=36px}}&nbsp;[[{{{weapon-10}}}{{if lang}}|{{item name|{{{weapon-10}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-5|}}}|{{Icon item|item={{{weapon-5}}}|icon-size=65px}}}}
+
    #if:{{{weapon-11|}}}|<li>{{item icon|1={{{weapon-11}}}|2=36px}}&nbsp;[[{{{weapon-11}}}{{if lang}}|{{item name|{{{weapon-11}}}}}]]</li>}}{{
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-6|}}}|{{b}}}}
+
    #if:{{{weapon-12|}}}|<li>{{item icon|1={{{weapon-12}}}|2=36px}}&nbsp;[[{{{weapon-12}}}{{if lang}}|{{item name|{{{weapon-12}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-6|}}}|{{Icon item|item={{{weapon-6}}}|icon-size=65px}}}}
+
    #if:{{{weapon-13|}}}|<li>{{item icon|1={{{weapon-13}}}|2=36px}}&nbsp;[[{{{weapon-13}}}{{if lang}}|{{item name|{{{weapon-13}}}}}]]</li>}}{{
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-7|}}}|{{b}}}}
+
    #if:{{{weapon-14|}}}|<li>{{item icon|1={{{weapon-14}}}|2=36px}}&nbsp;[[{{{weapon-14}}}{{if lang}}|{{item name|{{{weapon-14}}}}}]]</li>}}{{
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-7|}}}|{{Icon item|item={{{weapon-7}}}|icon-size=65px}}}}
+
    #if:{{{weapon-15|}}}|<li>{{item icon|1={{{weapon-15}}}|2=36px}}&nbsp;[[{{{weapon-15}}}{{if lang}}|{{item name|{{{weapon-15}}}}}]]</li>}}{{
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-8|}}}|{{b}}}}
+
    #if:{{{weapon-16|}}}|<li>{{item icon|1={{{weapon-16}}}|2=36px}}&nbsp;[[{{{weapon-16}}}{{if lang}}|{{item name|{{{weapon-16}}}}}]]</li>}}
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|{{Icon item|item={{{weapon-8}}}|icon-size=65px}}}}
+
    </ul>
{{!}}-
+
  </div>
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-5|}}}|[[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]}}
+
  </td>
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-6|}}}|[[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]}}
+
| <td style="text-align:center;">''{{lang
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-7|}}}|[[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]}}
+
| en = None
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|[[{{{weapon-8}}}{{if lang}}|{{item name|{{{weapon-8}}}}}]]}}
+
| es = Ninguna
{{!}}}
+
| fr = Aucune
{{{!}} cellpadding="0" cellspacing="0" align="center"
+
| nl = Geen
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-9|}}}|{{Icon item|item={{{weapon-9}}}|icon-size=65px}}}}
+
| sv = Ingen
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-10|}}}|{{b}}}}
+
| ru = Нет
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-10|}}}|{{Icon item|item={{{weapon-10}}}|icon-size=65px}}}}
+
}}''</td>
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-11|}}}|{{b}}}}
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-11|}}}|{{Icon item|item={{{weapon-11}}}|icon-size=65px}}}}
 
{{!}} rowspan="2" {{!}} {{#if: {{{weapon-12|}}}|{{b}}}}
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-12|}}}|{{Icon item|item={{{weapon-12}}}|icon-size=65px}}}}
 
{{!}}-
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-9|}}}|[[{{{weapon-9}}}{{if lang}}|{{item name|{{{weapon-9}}}}}]]}}
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-10|}}}|[[{{{weapon-10}}}{{if lang}}|{{item name|{{{weapon-10}}}}}]]}}
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-11|}}}|[[{{{weapon-11}}}{{if lang}}|{{item name|{{{weapon-11}}}}}]]}}
 
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-12|}}}|[[{{{weapon-12}}}{{if lang}}|{{item name|{{{weapon-12}}}}}]]}}
 
{{!}}}|<div style="width: 100%; text-align: center;">''{{lang
 
        | en = None
 
        | es = Ninguna
 
        | nl = Geen
 
        | sv = Ingen
 
        | fr = Aucune
 
        | ru = Нет
 
        }}''</div><br /><br />}}
 
| valign="top" | {{{description}}}
 
{{#if:{{{special|}}} |
 
{{!}} style="text-align: center;" {{!}} {{icon killicon|1={{{special}}}}}
 
{{#if:{{{special2|}}}|<br/><br/>{{icon killicon|1={{{special2}}}}} }}
 
 
}}
 
}}
|-
+
<td valign="top">{{{description}}}</td>
|}<noinclude>
+
{{#if:{{{special|}}}
 +
| <td style="text-align: center;">
 +
  <ul style="list-style:none; margin:0;">
 +
    {{#if:{{{special|}}}|<li>{{icon killicon|1={{{special}}}}}</li>}}
 +
    {{#if:{{{special2|}}}|<li>{{icon killicon|1={{{special2}}}}}</li>}}
 +
  </ul>
 +
  </td>
 +
}}
 +
</tr>
 +
</table><noinclude>
 
{{translation switching|ar, da, de, es, fi, fr, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
{{translation switching|ar, da, de, es, fi, fr, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
{{doc begin}}
 
{{doc begin}}

Revision as of 09:51, 18 July 2011

[[File:{{{image}}}|150x150px]] Associated weapon Description
None {{{description}}}

Documentation for Taunt

Usage

{{Taunt
| image = Pyrotaunt3.PNG
| weapon-1 = Fire Axe
| weapon-2 = Axtinguisher
| weapon-3 = Homewrecker
| weapon-4 = Powerjack
| weapon-5 = Back Scratcher
| description = The Pyro plays [[Media:Taunt_rockstar.wav|air]] [[Media:Taunt_rockstar_end.wav|guitar]] on his weapon.
}}

Parameters

  • image : image used to display the taunt.
  • weapon-N : weapon associated with the taunt. Replace N with a number starting from 1 to 8. This should be the English name of the weapon.
  • description : description of the taunt.
  • special : name of the associated killtaunt (if it exists).
  • special2 : name of alternate killtaunt (if it exists).