Difference between revisions of "Template:Taunt"
m (Fixed taunt redirection for Russian language) |
BrazilianNut (talk | contribs) m (→Parameters) |
||
(75 intermediate revisions by 49 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <table class="wikitable" style="width:100%;"> | |
− | + | <tr> | |
− | + | <th style="background: #F3A957; width: 20%;" rowspan="2">[[File:{{{image}}}|{{{size|150x150px}}}|link={{{link|}}}]]</th> | |
− | + | {{#if:{{{wearable-1|}}}| | |
− | + | | <th style="text-align: center; background: #F3A957; height: 21px; width: 25%;">{{lang | |
− | + | | en = {{#if:{{{weapon-2|}}}|Associated items|Associated item}} | |
− | + | | ar = السلاح الملحق | |
− | + | | cs = {{#if:{{{weapon-2|}}}|Související předměty|Související předmět}} | |
− | + | | da = {{#if:{{{weapon-2|}}}|Relaterede våben|Relateret våben}} | |
− | + | | de = {{#if:{{{weapon-2|}}}|Zugehörige Gegenstände|Zugehöriger Gegenstand}} | |
− | + | | es = {{#if:{{{weapon-2|}}}|Artículo asociado|Artículos asociados}} | |
− | + | | fi = {{#if:{{{weapon-2|}}}|Liittyvät aseet|Liittyvä ase}} | |
− | + | | fr = {{#if:{{{weapon-2|}}}|Objets associés|Objet associé}} | |
− | + | | 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}} | |
− | | fi = Liittyvä{{#if: {{{weapon-2|}}}| | + | | no = {{#if:{{{weapon-2|}}}|Relaterte våpener|Relaterte våpen}} |
+ | | pl = {{#if:{{{weapon-2|}}}|Powiązane przedmioty|Powiązany przedmiot}} | ||
+ | | pt = {{#if:{{{weapon-2|}}}|Itens associados|Item associado}} | ||
+ | | pt-br = {{#if:{{{weapon-2|}}}|Itens associados|Item associado}} | ||
+ | | ro = {{#if:{{{weapon-2|}}}|Obiecte asociate|Obiectul asociat}} | ||
+ | | ru = Cвязанное оружие/предмет | ||
+ | | sv = Vapen | ||
+ | | tr = {{#if:{{{weapon-2|}}}|İlgili Silahlar|İlgili Silah}} | ||
+ | | zh-hans = {{#if:{{{weapon-2|}}}|相关物品|相关物品}} | ||
+ | | zh-hant = {{#if:{{{weapon-2|}}}|相關武器|相關武器}} | ||
+ | }}</th> | ||
+ | }}{{#if:{{{wearable-1|}}} | ||
+ | | <th style="text-align:center; background:#F3A957; height:21px; width: 25%;">{{lang | ||
+ | | en = {{#if:{{{wearable-2|}}}|Associated wearables|Associated wearable}} | ||
+ | | de = {{#if:{{{wearable-2|}}}|Zugehörige Kleidungsstücke|Zugehöriges Kleidungsstück}} | ||
+ | | es = {{#if:{{{wearable-2|}}}|Artículos equipables asociados|Artículo equipable asociado}} | ||
+ | | fi = {{#if:{{{wearable-2|}}}|Liittyvät kosmeettiset esineet|Liittyvä kosmeettinen esine}} | ||
+ | | fr = {{#if:{{{wearable-2|}}}|Objets cosmétiques associés|Objet cosmétique associé}} | ||
+ | | ja = コスチュームの組み合わせ | ||
+ | | ko = 관련 장비 | ||
+ | | no = {{#if:{{{wearable-2|}}}|Relaterte klær|Relatert klede}} | ||
+ | | pl = {{#if:{{{wearable-2|}}}|Powiązane przedmioty|Powiązany przedmiot}} | ||
+ | | pt-br = {{#if:{{{wearable-2|}}}|Itens equipáveis associados|Item equipável associado}} | ||
+ | | ro = {{#if:{{{wearable-2|}}}|Accesorii asociate|Accesoriul asociat}} | ||
+ | | ru = {{#if:{{{wearable-2|}}}|Связанные предметы|Связанный предмет}} | ||
+ | | zh-hans = {{#if:{{{wearable-2|}}}|相关饰品|相关饰品}} | ||
+ | | zh-hant = {{#if:{{{wearable-2|}}}|相關物品|相關物品}} | ||
+ | }}</th> | ||
+ | }} | ||
+ | <th style="text-align:center; background:#F3A957; height:21px;">{{common string|Description}}</th>{{#if:{{{special|}}} | ||
+ | | <th style="text-align:center; background:#F3A957; height:21px;">{{common string|Kill Icon}}</th> | ||
+ | }} | ||
+ | </tr> | ||
+ | <tr valign="top"> | ||
+ | {{#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 | ||
+ | | cs = Žádný | ||
+ | | de = Nichts | ||
+ | | es = Ninguna | ||
+ | | fi = Ei mikään | ||
+ | | fr = Aucune | ||
+ | | hu = Nincs | ||
+ | | it = Nessuna | ||
+ | | ko = 없음 | ||
+ | | pl = Brak | ||
+ | | nl = Geen | ||
+ | | no = Ingen | ||
+ | | pt = Nenhum | ||
+ | | pt-br = Nenhuma | ||
+ | | ro = Niciuna | ||
+ | | sv = Ingen | ||
+ | | ru = Нет | ||
+ | | zh-hans = 无 | ||
+ | | zh-hant = 無 | ||
+ | }}''</td> | ||
}} | }} | ||
− | + | }} | |
− | + | {{#if:{{{wearable-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={{{wearable-1}}}|2=36px}} [[{{{wearable-1}}}{{if lang}}|{{item name|{{{wearable-1}}}}}]]</li>{{ | |
− | + | #if:{{{wearable-2|}}}|<li>{{item icon|1={{{wearable-2}}}|2=36px}} [[{{{wearable-2}}}{{if lang}}|{{item name|{{{wearable-2}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-3|}}}|<li>{{item icon|1={{{wearable-3}}}|2=36px}} [[{{{wearable-3}}}{{if lang}}|{{item name|{{{wearable-3}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-4|}}}|<li>{{item icon|1={{{wearable-4}}}|2=36px}} [[{{{wearable-4}}}{{if lang}}|{{item name|{{{wearable-4}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-5|}}}|<li>{{item icon|1={{{wearable-5}}}|2=36px}} [[{{{wearable-5}}}{{if lang}}|{{item name|{{{wearable-5}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-6|}}}|<li>{{item icon|1={{{wearable-6}}}|2=36px}} [[{{{wearable-6}}}{{if lang}}|{{item name|{{{wearable-6}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-7|}}}|<li>{{item icon|1={{{wearable-7}}}|2=36px}} [[{{{wearable-7}}}{{if lang}}|{{item name|{{{wearable-7}}}}}]]</li>}}{{ | |
− | + | #if:{{{wearable-8|}}}|<li>{{item icon|1={{{wearable-8}}}|2=36px}} [[{{{wearable-8}}}{{if lang}}|{{item name|{{{wearable-8}}}}}]]</li>}} | |
− | + | </ul> | |
− | + | </div> | |
− | + | </td> | |
− | + | }} | |
− | {{#if: {{{ | + | <td valign="top">{{{description}}}</td> |
− | + | {{#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|en, de, es, fi, fr, ko, no, pl, pt-br, ro, ru, zh-hans, zh-hant}} | |
− | {{ | ||
− | {{ | ||
− | |||
− | {{ | ||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | {{ | ||
− | {{ | ||
− | {{ | ||
− | |||
− | |||
− | {{#if: {{{special|}}}| | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{translation switching| | ||
{{doc begin}} | {{doc begin}} | ||
=== Usage === | === Usage === | ||
<pre> | <pre> | ||
{{Taunt | {{Taunt | ||
− | | image = | + | | image = Pyrotaunt3.PNG |
− | | weapon-1 = | + | | weapon-1 = Fire Axe |
− | | weapon-2 = | + | | weapon-2 = Axtinguisher |
− | | description = The | + | | 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. | |
}} | }} | ||
</pre> | </pre> | ||
+ | === Parameters === | ||
+ | * <code>image</code> : image used to display the taunt. | ||
+ | * <code>size</code> : manual size control | ||
+ | * <code>link</code> : link of the image. | ||
+ | * <code>weapon-'''N'''</code> : weapon associated with the taunt. Replace <code>'''N'''</code> with a number starting from 1 to 16. This should be the English name of the weapon. | ||
+ | * <code>wearable-'''N'''</code> : wearable associated with the taunt. Replace <code>'''N'''</code> with a number starting from 1 to 8. This should be the English name of the item. | ||
+ | * <code>description</code> : description of the taunt. | ||
+ | * <code>special</code> : name of the associated killtaunt (if it exists). | ||
+ | * <code>special2</code> : name of alternate killtaunt (if it exists). | ||
[[Category:Formatting templates|Taunt]] | [[Category:Formatting templates|Taunt]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:17, 13 December 2024
[[File:{{{image}}}|150x150px|link=]] | Associated item | 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: en, de, es, fi, fr, ko, no, pl, pt-br, ro, ru, 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.size
: manual size controllink
: link of the image.weapon-N
: weapon associated with the taunt. ReplaceN
with a number starting from 1 to 16. This should be the English name of the weapon.wearable-N
: wearable associated with the taunt. ReplaceN
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).