Difference between revisions of "Template:Item name"

From Team Fortress Wiki
Jump to: navigation, search
m (Protected "Template:Item name": High server impact ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
m (da)
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><!--
+
{{dictionary/items/{{lc:{{{item|{{{weapon|{{{1|special:error}}}}}}}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}}}<noinclude>
 
+
{{dictionary/wrapper}}
// Check weapons.
 
 
 
-->{{#if:{{Item name/weapon|{{{1|}}}|force={{{force|}}}}}
 
| {{Item name/weapon|{{{1|}}}|force={{{force|}}}}}
 
| <!--
 
 
 
// 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>
 
{{translation switching|ar, cs, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}}
 
 
 
* Switches the translations of item names names.
 
* {{tlx|Item name|scattergun}} when used on [[Scattergun/de]] generates "Schrotflinte".
 
* {{tlx|Item name|scattergun|3=force = fi}} generates "{{Item name|scattergun|force = fi}}" on any page.
 
* Translation data is located:
 
** [[:Template:Item_name/hat]] (All hat translations)
 
** [[:Template:Item_name/weapon]] (All weapon translations)
 
** [[:Template:Item_name/other]] (All other translations, such as metal, tools, etc)
 
 
 
Deprecates [[:Template:hat_name]] and [[:Template:weapon_name]].
 
 
</noinclude>
 
</noinclude>

Revision as of 17:54, 23 May 2011

error ('items') This is a wrapper template for a {{dictionary}} entry. No individual language strings are stored here.