Difference between revisions of "Template:Taunt"

From Team Fortress Wiki
Jump to: navigation, search
m (This template goes through weapon-16, not weapon-8.)
(Add ability to list wearables instead of or in addition to weapons.)
Line 2: Line 2:
 
<tr>
 
<tr>
 
  <th style="background: #F3A957; width: 20%;" rowspan="2">[[File:{{{image}}}|150x150px]]</th>
 
  <th style="background: #F3A957; width: 20%;" rowspan="2">[[File:{{{image}}}|150x150px]]</th>
<th style="text-align: center; background: #F3A957; height: 21px; width: 25%;">{{lang
+
{{#if:{{{wearable-1|}}}|
  | ar = السلاح الملحق
+
  | <th style="text-align: center; background: #F3A957; height: 21px; width: 25%;">{{lang
  | da = {{#if:{{{weapon-2|}}}|Relaterede våben|Relateret våben}}
+
    | ar = السلاح الملحق
  | de = {{#if:{{{weapon-2|}}}|Zugehörige Waffen|Zugehörige Waffe}}
+
    | da = {{#if:{{{weapon-2|}}}|Relaterede våben|Relateret våben}}
  | en = {{#if:{{{weapon-2|}}}|Associated weapons|Associated weapon}}
+
    | de = {{#if:{{{weapon-2|}}}|Zugehörige Waffen|Zugehörige Waffe}}
  | es = {{#if:{{{weapon-2|}}}|Armas asociada|Arma asociada}}
+
    | en = {{#if:{{{weapon-2|}}}|Associated weapons|Associated weapon}}
  | fi = {{#if:{{{weapon-2|}}}|Liittyvät aseet|Liittyvä ase}}
+
    | es = {{#if:{{{weapon-2|}}}|Armas asociada|Arma asociada}}
  | fr = {{#if:{{{weapon-2|}}}|Armes associées|Arme associée}}
+
    | fi = {{#if:{{{weapon-2|}}}|Liittyvät aseet|Liittyvä ase}}
  | hu = {{#if:{{{weapon-2|}}}|Kapcsolódó fegyver|Kapcsolódó fegyver}}
+
    | fr = {{#if:{{{weapon-2|}}}|Armes associées|Arme associée}}
  | it = {{#if:{{{weapon-2|}}}|Armi Associate|Arma Associata}}
+
    | hu = {{#if:{{{weapon-2|}}}|Kapcsolódó fegyver|Kapcsolódó fegyver}}
  | ja = 用意する武器
+
    | it = {{#if:{{{weapon-2|}}}|Armi Associate|Arma Associata}}
  | ko = 사용하는 무기
+
    | ja = 用意する武器
  | nl = {{#if:{{{weapon-2|}}}|Bijbehorende wapens|Bijbehorende wapen}}
+
    | ko = 사용하는 무기
  | pl = {{#if:{{{weapon-2|}}}|Powiązane bronie|Powiązana broń}}
+
    | nl = {{#if:{{{weapon-2|}}}|Bijbehorende wapens|Bijbehorende wapen}}
  | pt = {{#if:{{{weapon-2|}}}|Armas associada|Arma associada}}
+
    | pl = {{#if:{{{weapon-2|}}}|Powiązane bronie|Powiązana broń}}
  | pt-br = {{#if:{{{weapon-2|}}}|Armas relacionada|Arma relacionada}}  
+
    | pt = {{#if:{{{weapon-2|}}}|Armas associada|Arma associada}}
  | ro = {{#if:{{{weapon-2|}}}|Arme asociate|Armă asociată}}
+
    | pt-br = {{#if:{{{weapon-2|}}}|Armas relacionada|Arma relacionada}}  
  | ru = Cвязанное оружие
+
    | ro = {{#if:{{{weapon-2|}}}|Arme asociate|Armă asociată}}
  | sv = Vapen
+
    | ru = Cвязанное оружие
  | tr = {{#if:{{{weapon-2|}}}|İlgili Silahlar|İlgili Silah}}
+
    | sv = Vapen
  | zh-hans = 相关武器
+
    | tr = {{#if:{{{weapon-2|}}}|İlgili Silahlar|İlgili Silah}}
  | zh-hant = 相關武器
+
    | zh-hans = 相关武器
 +
    | zh-hant = 相關武器
 
   }}</th>
 
   }}</th>
 +
}}{{#if:{{{wearable-1|}}}
 +
| <th style="text-align:center; background:#F3A957; height:21px; width: 25%;">{{lang
 +
  | en = {{#if:{{{wearable-2|}}}|Associated wearables|Associated wearable}}
 +
  }}</th>
 +
}}
 
  <th style="text-align:center; background:#F3A957; height:21px;">{{lang
 
  <th style="text-align:center; background:#F3A957; height:21px;">{{lang
 
   | ar = الوصف
 
   | ar = الوصف
Line 72: Line 78:
 
</tr>
 
</tr>
 
<tr valign="top">
 
<tr valign="top">
{{#if:{{{weapon-1|}}}
+
{{#if:{{{wearable-1|}}}|
 +
| {{#if:{{{weapon-1|}}}
 +
  | <td style="padding:0.25em 0;">
 +
    <div style="padding-left:4em; margin:0 auto; font-size:0.95em;">
 +
      <ul style="list-style:none; margin:0;">
 +
      <li>{{item icon|1={{{weapon-1}}}|2=36px}}&nbsp;[[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]</li>{{
 +
      #if:{{{weapon-2|}}}|<li>{{item icon|1={{{weapon-2}}}|2=36px}}&nbsp;[[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]</li>}}{{
 +
      #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>}}{{
 +
      #if:{{{weapon-5|}}}|<li>{{item icon|1={{{weapon-5}}}|2=36px}}&nbsp;[[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]</li>}}{{
 +
      #if:{{{weapon-6|}}}|<li>{{item icon|1={{{weapon-6}}}|2=36px}}&nbsp;[[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]</li>}}{{
 +
      #if:{{{weapon-7|}}}|<li>{{item icon|1={{{weapon-7}}}|2=36px}}&nbsp;[[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]</li>}}{{
 +
      #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>}}{{
 +
      #if:{{{weapon-10|}}}|<li>{{item icon|1={{{weapon-10}}}|2=36px}}&nbsp;[[{{{weapon-10}}}{{if lang}}|{{item name|{{{weapon-10}}}}}]]</li>}}{{
 +
      #if:{{{weapon-11|}}}|<li>{{item icon|1={{{weapon-11}}}|2=36px}}&nbsp;[[{{{weapon-11}}}{{if lang}}|{{item name|{{{weapon-11}}}}}]]</li>}}{{
 +
      #if:{{{weapon-12|}}}|<li>{{item icon|1={{{weapon-12}}}|2=36px}}&nbsp;[[{{{weapon-12}}}{{if lang}}|{{item name|{{{weapon-12}}}}}]]</li>}}{{
 +
      #if:{{{weapon-13|}}}|<li>{{item icon|1={{{weapon-13}}}|2=36px}}&nbsp;[[{{{weapon-13}}}{{if lang}}|{{item name|{{{weapon-13}}}}}]]</li>}}{{
 +
      #if:{{{weapon-14|}}}|<li>{{item icon|1={{{weapon-14}}}|2=36px}}&nbsp;[[{{{weapon-14}}}{{if lang}}|{{item name|{{{weapon-14}}}}}]]</li>}}{{
 +
      #if:{{{weapon-15|}}}|<li>{{item icon|1={{{weapon-15}}}|2=36px}}&nbsp;[[{{{weapon-15}}}{{if lang}}|{{item name|{{{weapon-15}}}}}]]</li>}}{{
 +
      #if:{{{weapon-16|}}}|<li>{{item icon|1={{{weapon-16}}}|2=36px}}&nbsp;[[{{{weapon-16}}}{{if lang}}|{{item name|{{{weapon-16}}}}}]]</li>}}
 +
      </ul>
 +
    </div>
 +
    </td>
 +
  | <td style="text-align:center;">''{{lang
 +
  | en = None
 +
  | es = Ninguna
 +
  | fr = Aucune
 +
  | hu = Nincs
 +
  | it = Nessuna
 +
  | nl = Geen
 +
  | pt-br = Nenhuma
 +
  | sv = Ingen
 +
  | ru = Нет
 +
  }}''</td>
 +
  }}
 +
}}
 +
{{#if:{{{wearable-1|}}}
 
| <td style="padding:0.25em 0;">
 
| <td style="padding:0.25em 0;">
 
   <div style="padding-left:4em; margin:0 auto; font-size:0.95em;">
 
   <div style="padding-left:4em; margin:0 auto; font-size:0.95em;">
 
     <ul style="list-style:none; margin:0;">
 
     <ul style="list-style:none; margin:0;">
     <li>{{item icon|1={{{weapon-1}}}|2=36px}}&nbsp;[[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]</li>{{
+
     <li>{{item icon|1={{{wearable-1}}}|2=36px}}&nbsp;[[{{{wearable-1}}}{{if lang}}|{{item name|{{{wearable-1}}}}}]]</li>{{
     #if:{{{weapon-2|}}}|<li>{{item icon|1={{{weapon-2}}}|2=36px}}&nbsp;[[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]</li>}}{{
+
     #if:{{{wearable-2|}}}|<li>{{item icon|1={{{wearable-2}}}|2=36px}}&nbsp;[[{{{wearable-2}}}{{if lang}}|{{item name|{{{wearable-2}}}}}]]</li>}}{{
     #if:{{{weapon-3|}}}|<li>{{item icon|1={{{weapon-3}}}|2=36px}}&nbsp;[[{{{weapon-3}}}{{if lang}}|{{item name|{{{weapon-3}}}}}]]</li>}}{{
+
     #if:{{{wearable-3|}}}|<li>{{item icon|1={{{wearable-3}}}|2=36px}}&nbsp;[[{{{wearable-3}}}{{if lang}}|{{item name|{{{wearable-3}}}}}]]</li>}}{{
     #if:{{{weapon-4|}}}|<li>{{item icon|1={{{weapon-4}}}|2=36px}}&nbsp;[[{{{weapon-4}}}{{if lang}}|{{item name|{{{weapon-4}}}}}]]</li>}}{{
+
     #if:{{{wearable-4|}}}|<li>{{item icon|1={{{wearable-4}}}|2=36px}}&nbsp;[[{{{wearable-4}}}{{if lang}}|{{item name|{{{wearable-4}}}}}]]</li>}}{{
     #if:{{{weapon-5|}}}|<li>{{item icon|1={{{weapon-5}}}|2=36px}}&nbsp;[[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]</li>}}{{
+
     #if:{{{wearable-5|}}}|<li>{{item icon|1={{{wearable-5}}}|2=36px}}&nbsp;[[{{{wearable-5}}}{{if lang}}|{{item name|{{{wearable-5}}}}}]]</li>}}{{
     #if:{{{weapon-6|}}}|<li>{{item icon|1={{{weapon-6}}}|2=36px}}&nbsp;[[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]</li>}}{{
+
     #if:{{{wearable-6|}}}|<li>{{item icon|1={{{wearable-6}}}|2=36px}}&nbsp;[[{{{wearable-6}}}{{if lang}}|{{item name|{{{wearable-6}}}}}]]</li>}}{{
     #if:{{{weapon-7|}}}|<li>{{item icon|1={{{weapon-7}}}|2=36px}}&nbsp;[[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]</li>}}{{
+
     #if:{{{wearable-7|}}}|<li>{{item icon|1={{{wearable-7}}}|2=36px}}&nbsp;[[{{{wearable-7}}}{{if lang}}|{{item name|{{{wearable-7}}}}}]]</li>}}{{
     #if:{{{weapon-8|}}}|<li>{{item icon|1={{{weapon-8}}}|2=36px}}&nbsp;[[{{{weapon-8}}}{{if lang}}|{{item name|{{{weapon-8}}}}}]]</li>}}{{
+
     #if:{{{wearable-8|}}}|<li>{{item icon|1={{{wearable-8}}}|2=36px}}&nbsp;[[{{{wearable-8}}}{{if lang}}|{{item name|{{{wearable-8}}}}}]]</li>}}
    #if:{{{weapon-9|}}}|<li>{{item icon|1={{{weapon-9}}}|2=36px}}&nbsp;[[{{{weapon-9}}}{{if lang}}|{{item name|{{{weapon-9}}}}}]]</li>}}{{
 
    #if:{{{weapon-10|}}}|<li>{{item icon|1={{{weapon-10}}}|2=36px}}&nbsp;[[{{{weapon-10}}}{{if lang}}|{{item name|{{{weapon-10}}}}}]]</li>}}{{
 
    #if:{{{weapon-11|}}}|<li>{{item icon|1={{{weapon-11}}}|2=36px}}&nbsp;[[{{{weapon-11}}}{{if lang}}|{{item name|{{{weapon-11}}}}}]]</li>}}{{
 
    #if:{{{weapon-12|}}}|<li>{{item icon|1={{{weapon-12}}}|2=36px}}&nbsp;[[{{{weapon-12}}}{{if lang}}|{{item name|{{{weapon-12}}}}}]]</li>}}{{
 
    #if:{{{weapon-13|}}}|<li>{{item icon|1={{{weapon-13}}}|2=36px}}&nbsp;[[{{{weapon-13}}}{{if lang}}|{{item name|{{{weapon-13}}}}}]]</li>}}{{
 
    #if:{{{weapon-14|}}}|<li>{{item icon|1={{{weapon-14}}}|2=36px}}&nbsp;[[{{{weapon-14}}}{{if lang}}|{{item name|{{{weapon-14}}}}}]]</li>}}{{
 
    #if:{{{weapon-15|}}}|<li>{{item icon|1={{{weapon-15}}}|2=36px}}&nbsp;[[{{{weapon-15}}}{{if lang}}|{{item name|{{{weapon-15}}}}}]]</li>}}{{
 
    #if:{{{weapon-16|}}}|<li>{{item icon|1={{{weapon-16}}}|2=36px}}&nbsp;[[{{{weapon-16}}}{{if lang}}|{{item name|{{{weapon-16}}}}}]]</li>}}
 
 
     </ul>
 
     </ul>
 
   </div>
 
   </div>
 
   </td>
 
   </td>
| <td style="text-align:center;">''{{lang
 
| en = None
 
| es = Ninguna
 
| fr = Aucune
 
| hu = Nincs
 
| it = Nessuna
 
| nl = Geen
 
| pt-br = Nenhuma
 
| sv = Ingen
 
| ru = Нет
 
}}''</td>
 
 
}}
 
}}
 
<td valign="top">{{{description}}}</td>
 
<td valign="top">{{{description}}}</td>
Line 135: Line 159:
 
* image : image used to display the taunt.
 
* image : image used to display the taunt.
 
* weapon-'''''N''''' : weapon associated with the taunt. Replace '''''N''''' with a number starting from 1 to 16. This should be the English name of the weapon.
 
* weapon-'''''N''''' : weapon associated with the taunt. Replace '''''N''''' with a number starting from 1 to 16. This should be the English name of the weapon.
 +
* wearable-'''''N''''' : wearable associated with the taunt. Replace '''''N''''' with a number starting from 1 to 8. This should be the English name of the item.
 
* description : description of the taunt.
 
* description : description of the taunt.
 
* special : name of the associated killtaunt (if it exists).
 
* special : name of the associated killtaunt (if it exists).

Revision as of 23:42, 2 November 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 16. This should be the English name of the weapon.
  • wearable-N : wearable associated with the taunt. Replace N with a number starting from 1 to 8. This should be the English name of the item.
  • description : description of the taunt.
  • special : name of the associated killtaunt (if it exists).
  • special2 : name of alternate killtaunt (if it exists).