This template is protected from editing.

Difference between revisions of "Template:Item name"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo edit by WindPower (Talk) (350335) Maybe that wasn't such a great idea)
(push changes)
Line 1: Line 1:
<includeonly><!--
+
<includeonly>{{IfElse
 
+
| 1 = {{Item name/weapon|{{{1|}}}|force={{{force|}}}}}  
// Check weapons.
+
| 2 = {{IfElse
 
+
  | 1 = {{Item name/hat|{{{1|}}}|force={{{force|}}}}}  
-->{{#if:{{Item name/weapon|{{{1|}}}|force={{{force|}}}}}
+
| 2 = {{IfElse
| {{Item name/weapon|{{{1|}}}|force={{{force|}}}}}
+
   | 1 = {{Item name/other|{{{1|}}}|force={{{force|}}}}}  
  | <!--
+
  | 2 = <span class="error small">[[Template:Item name|item name]] error</span>[[Category:ERROR Item name]]
 
 
// Check hats.
 
 
 
-->{{#if:{{Item name/hat|{{{1|}}}|force={{{force|}}}}}
 
  | {{Item name/hat|{{{1|}}}|force={{{force|}}}}}
 
   | <!--
 
 
 
// Check other.
 
 
 
-->{{#if:{{Item name/other|{{{1|}}}|force={{{force|}}}}}
 
  | {{Item name/other|{{{1|}}}|force={{{force|}}}}}  
 
  | <span class="error small">Error {{tl|Item name}}: "{{{1|}}}" is not a valid item.[[Category:ERROR Item name|{{{1}}}]]</span>
 
  }}
 
 
   }}
 
   }}
 +
}}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{translation switching|ar, cs, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
+
{{doc begin}}
 
 
 
* Switches the translations of item names names.
 
* Switches the translations of item names names.
 
* {{tlx|Item name|scattergun}} when used on [[Scattergun/de]] generates "Schrotflinte".
 
* {{tlx|Item name|scattergun}} when used on [[Scattergun/de]] generates "Schrotflinte".
Line 31: Line 18:
 
** [[:Template:Item_name/other]] (All other translations, such as metal, tools, etc)
 
** [[:Template:Item_name/other]] (All other translations, such as metal, tools, etc)
  
Deprecates [[:Template:hat_name]] and [[:Template:weapon_name]].
+
[[Category:Templates|Item name]]
 
</noinclude>
 
</noinclude>

Revision as of 21:17, 9 February 2011

Documentation for Item name