Difference between revisions of "Template:Taunt"
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> | ||
− | + | {{#if:{{{wearable-1|}}}| | |
− | + | | <th style="text-align: center; background: #F3A957; height: 21px; width: 25%;">{{lang | |
− | + | | ar = السلاح الملحق | |
− | + | | da = {{#if:{{{weapon-2|}}}|Relaterede våben|Relateret våben}} | |
− | + | | de = {{#if:{{{weapon-2|}}}|Zugehörige Waffen|Zugehörige Waffe}} | |
− | + | | en = {{#if:{{{weapon-2|}}}|Associated weapons|Associated weapon}} | |
− | + | | es = {{#if:{{{weapon-2|}}}|Armas asociada|Arma asociada}} | |
− | + | | fi = {{#if:{{{weapon-2|}}}|Liittyvät aseet|Liittyvä ase}} | |
− | + | | fr = {{#if:{{{weapon-2|}}}|Armes associées|Arme associée}} | |
− | + | | hu = {{#if:{{{weapon-2|}}}|Kapcsolódó fegyver|Kapcsolódó fegyver}} | |
− | + | | it = {{#if:{{{weapon-2|}}}|Armi Associate|Arma Associata}} | |
− | + | | ja = 用意する武器 | |
− | + | | ko = 사용하는 무기 | |
− | + | | nl = {{#if:{{{weapon-2|}}}|Bijbehorende wapens|Bijbehorende wapen}} | |
− | + | | pl = {{#if:{{{weapon-2|}}}|Powiązane bronie|Powiązana broń}} | |
− | + | | pt = {{#if:{{{weapon-2|}}}|Armas associada|Arma associada}} | |
− | + | | pt-br = {{#if:{{{weapon-2|}}}|Armas relacionada|Arma relacionada}} | |
− | + | | ro = {{#if:{{{weapon-2|}}}|Arme asociate|Armă asociată}} | |
− | + | | ru = Cвязанное оружие | |
− | + | | sv = Vapen | |
− | + | | tr = {{#if:{{{weapon-2|}}}|İlgili Silahlar|İlgili Silah}} | |
− | + | | 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}} [[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]</li>{{ | ||
+ | #if:{{{weapon-2|}}}|<li>{{item icon|1={{{weapon-2}}}|2=36px}} [[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-3|}}}|<li>{{item icon|1={{{weapon-3}}}|2=36px}} [[{{{weapon-3}}}{{if lang}}|{{item name|{{{weapon-3}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-4|}}}|<li>{{item icon|1={{{weapon-4}}}|2=36px}} [[{{{weapon-4}}}{{if lang}}|{{item name|{{{weapon-4}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-5|}}}|<li>{{item icon|1={{{weapon-5}}}|2=36px}} [[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-6|}}}|<li>{{item icon|1={{{weapon-6}}}|2=36px}} [[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-7|}}}|<li>{{item icon|1={{{weapon-7}}}|2=36px}} [[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-8|}}}|<li>{{item icon|1={{{weapon-8}}}|2=36px}} [[{{{weapon-8}}}{{if lang}}|{{item name|{{{weapon-8}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-9|}}}|<li>{{item icon|1={{{weapon-9}}}|2=36px}} [[{{{weapon-9}}}{{if lang}}|{{item name|{{{weapon-9}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-10|}}}|<li>{{item icon|1={{{weapon-10}}}|2=36px}} [[{{{weapon-10}}}{{if lang}}|{{item name|{{{weapon-10}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-11|}}}|<li>{{item icon|1={{{weapon-11}}}|2=36px}} [[{{{weapon-11}}}{{if lang}}|{{item name|{{{weapon-11}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-12|}}}|<li>{{item icon|1={{{weapon-12}}}|2=36px}} [[{{{weapon-12}}}{{if lang}}|{{item name|{{{weapon-12}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-13|}}}|<li>{{item icon|1={{{weapon-13}}}|2=36px}} [[{{{weapon-13}}}{{if lang}}|{{item name|{{{weapon-13}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-14|}}}|<li>{{item icon|1={{{weapon-14}}}|2=36px}} [[{{{weapon-14}}}{{if lang}}|{{item name|{{{weapon-14}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-15|}}}|<li>{{item icon|1={{{weapon-15}}}|2=36px}} [[{{{weapon-15}}}{{if lang}}|{{item name|{{{weapon-15}}}}}]]</li>}}{{ | ||
+ | #if:{{{weapon-16|}}}|<li>{{item icon|1={{{weapon-16}}}|2=36px}} [[{{{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={{{ | + | <li>{{item icon|1={{{wearable-1}}}|2=36px}} [[{{{wearable-1}}}{{if lang}}|{{item name|{{{wearable-1}}}}}]]</li>{{ |
− | #if:{{{ | + | #if:{{{wearable-2|}}}|<li>{{item icon|1={{{wearable-2}}}|2=36px}} [[{{{wearable-2}}}{{if lang}}|{{item name|{{{wearable-2}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-3|}}}|<li>{{item icon|1={{{wearable-3}}}|2=36px}} [[{{{wearable-3}}}{{if lang}}|{{item name|{{{wearable-3}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-4|}}}|<li>{{item icon|1={{{wearable-4}}}|2=36px}} [[{{{wearable-4}}}{{if lang}}|{{item name|{{{wearable-4}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-5|}}}|<li>{{item icon|1={{{wearable-5}}}|2=36px}} [[{{{wearable-5}}}{{if lang}}|{{item name|{{{wearable-5}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-6|}}}|<li>{{item icon|1={{{wearable-6}}}|2=36px}} [[{{{wearable-6}}}{{if lang}}|{{item name|{{{wearable-6}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-7|}}}|<li>{{item icon|1={{{wearable-7}}}|2=36px}} [[{{{wearable-7}}}{{if lang}}|{{item name|{{{wearable-7}}}}}]]</li>}}{{ |
− | #if:{{{ | + | #if:{{{wearable-8|}}}|<li>{{item icon|1={{{wearable-8}}}|2=36px}} [[{{{wearable-8}}}{{if lang}}|{{item name|{{{wearable-8}}}}}]]</li>}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</ul> | </ul> | ||
</div> | </div> | ||
</td> | </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}}} |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Taunt/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: ar, da, de, es, fi, fr, hu, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |
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).