Difference between revisions of "Template:Taunt"
(It seems that it is working in reverse...) |
Moussekateer (talk | contribs) (weapon name is now automatically translated) |
||
Line 64: | Line 64: | ||
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|{{Icon item|item={{{weapon-4}}}|icon-size=65px}}}} | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|{{Icon item|item={{{weapon-4}}}|icon-size=65px}}}} | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="text-align: center;" {{!}} [[{{{weapon-1}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} [[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]] |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-2|}}}|[[{{{weapon-2}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-2|}}}|[[{{{weapon-2}}}{{if lang}}|{{item name|{{{weapon-2}}}}}]]}} |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-3|}}}|[[{{{weapon-3}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-3|}}}|[[{{{weapon-3}}}{{if lang}}|{{item name|{{{weapon-3}}}}}]]}} |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|[[{{{weapon-4}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-4|}}}|[[{{{weapon-4}}}{{if lang}}|{{item name|{{{weapon-4}}}}}]]}} |
{{!}}} | {{!}}} | ||
{{{!}} cellpadding="0" cellspacing="0" align="center" | {{{!}} cellpadding="0" cellspacing="0" align="center" | ||
Line 78: | Line 78: | ||
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|{{Icon item|item={{{weapon-8}}}|icon-size=65px}}}} | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|{{Icon item|item={{{weapon-8}}}|icon-size=65px}}}} | ||
{{!}}- | {{!}}- | ||
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-5|}}}|[[{{{weapon-5}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-5|}}}|[[{{{weapon-5}}}{{if lang}}|{{item name|{{{weapon-5}}}}}]]}} |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-6|}}}|[[{{{weapon-6}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-6|}}}|[[{{{weapon-6}}}{{if lang}}|{{item name|{{{weapon-6}}}}}]]}} |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-7|}}}|[[{{{weapon-7}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-7|}}}|[[{{{weapon-7}}}{{if lang}}|{{item name|{{{weapon-7}}}}}]]}} |
− | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|[[{{{weapon-8}}}{{if lang}}|{{ | + | {{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-8|}}}|[[{{{weapon-8}}}{{if lang}}|{{item name|{{{weapon-8}}}}}]]}} |
{{!}}}|''None''<br /><br />}} | {{!}}}|''None''<br /><br />}} | ||
| valign="top" | {{{description}}} | | valign="top" | {{{description}}} | ||
Line 115: | Line 115: | ||
=== Parameters === | === Parameters === | ||
* image : image used to display the taunt. | * image : image used to display the taunt. | ||
− | * weapon-'''''N''''' : weapon associated | + | * 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. | * description : description of the taunt. | ||
− | * special : name of the associated killtaunt (if | + | * special : name of the associated killtaunt (if it exists). |
[[Category:Formatting templates|Taunt]] | [[Category:Formatting templates|Taunt]] | ||
</noinclude> | </noinclude> |
Revision as of 18:57, 18 January 2011
[[File:{{{image}}}|150x150px]] | Weapon associated | 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: da, de, es, fi, fr, ja, ko, pl, pt, 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.
- 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).