Difference between revisions of "Template:Taunt"

From Team Fortress Wiki
Jump to: navigation, search
(It seems that it is working in reverse...)
(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}}|{{{weapon-1-local|{{{weapon-1}}}}}}]]
+
{{!}} style="text-align: center;" {{!}} [[{{{weapon-1}}}{{if lang}}|{{item name|{{{weapon-1}}}}}]]
{{!}} style="text-align: center;" {{!}} {{#if: {{{weapon-2|}}}|[[{{{weapon-2}}}{{if lang}}|{{{weapon-2-local|{{{weapon-2}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-3-local|{{{weapon-3}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-4-local|{{{weapon-4}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-5-local|{{{weapon-5}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-6-local|{{{weapon-6}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-7-local|{{{weapon-7}}}}}}]]}}
+
{{!}} 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}}|{{{weapon-8-local|{{{weapon-8}}}}}}]]}}
+
{{!}} 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 to the taunt. Replace '''''N''''' with a number starting from 1 to 8.
+
* 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.
* weapon-'''''N'''''-local : localized name of the weapon. Replace '''''N''''' with a number starting from 1 to 8.  
 
 
* description : description of the taunt.
 
* description : description of the taunt.
* special : name of the associated killtaunt (if present).
+
* 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}}}

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).