Difference between revisions of "Template:Item name"

From Team Fortress Wiki
Jump to: navigation, search
(push changes)
(Update to use {{dictionary}} system.)
Line 1: Line 1:
<includeonly>{{IfElse
+
{{dictionary/items/{{lc:{{{item|{{{weapon|{{{1|error}}}}}}}}}}}|{{#if:{{{force|}}}|force|null}}={{{lang|}}}}}<noinclude>
| 1 = {{Item name/weapon|{{{1|}}}|force={{{force|}}}}}
+
{{dictionary/wrapper}}
| 2 = {{IfElse
 
| 1 = {{Item name/hat|{{{1|}}}|force={{{force|}}}}}  
 
| 2 = {{IfElse
 
  | 1 = {{Item name/other|{{{1|}}}|force={{{force|}}}}}
 
  | 2 = <span class="error small">[[Template:Item name|item name]] error</span>[[Category:ERROR Item name]]
 
  }}
 
}}
 
}}</includeonly><noinclude>
 
{{doc begin}}
 
* 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)
 
 
 
[[Category:Templates|Item name]]
 
 
</noinclude>
 
</noinclude>

Revision as of 06:06, 19 March 2011

Template:Dictionary/items/error This is a wrapper template for a {{dictionary}} entry. No individual language strings are stored here.