Difference between revisions of "Template:Item name"

From Team Fortress Wiki
Jump to: navigation, search
m
m (da)
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
+
{{dictionary/items/{{lc:{{{item|{{{weapon|{{{1|special:error}}}}}}}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}}}<noinclude>
<!-- Check Weapons -->
+
{{dictionary/wrapper}}
{{#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|}}}}} |
 
        {{#if: {{Item name/other|{{{1|}}}|force={{{force|}}}}} | {{Item name/other|{{{1|}}}|force={{{force|}}}}} |
 
            <span class="error small">Error {{tl|hat name}}: "{{{1|}}}" is not a valid item.[[Category:ERROR]]</span>
 
        }}
 
    }}
 
}}
 
</includeonly>
 
 
 
<noinclude>
 
Deprecates [[:Template:hat_name]] and [[:Template:weapon_name]]. Adds additional translations for "other" items, such as metal, tools, crates, etc.
 
 
 
 
</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.