Difference between revisions of "Template:Item name"
m (Changed protection level for "Template:Item name": remove cascading protection, retain editing protection ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
(DOUBLE PERFORMANCE ALL THE WAY WHAT DOES IT MEAN) |
||
Line 3: | Line 3: | ||
// Check weapons. | // Check weapons. | ||
− | -->{{ | + | -->{{IfElse|{{Item name/weapon|{{{1|}}}|force={{{force|}}}}}|<!-- |
− | + | -->{{IfElse|{{Item name/hat|{{{1|}}}|force={{{force|}}}}}|<!-- | |
− | + | -->{{IfElse|{{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> | |
− | |||
− | |||
− | -->{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->{{ | ||
− | |||
− | |||
}} | }} | ||
}} | }} |
Revision as of 16:32, 9 February 2011
![]() | This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Item name/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: ar, cs, de, es, fi, fr, hu, it, ja, ko, nl, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant (add) |
- Switches the translations of item names names.
{{Item name|scattergun}}
when used on Scattergun/de generates "Schrotflinte".{{Item name|scattergun|force = fi}}
generates "Haulinsylkijä" 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.