Difference between revisions of "Template:Item name"

From Team Fortress Wiki
Jump to: navigation, search
(Copied from User:Netshroud/Sandbox/item_name)
 
m (da)
(19 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>
 
<!-- Weapon -->
 
{{Item name|scattergun}}<br/>
 
{{Item name|scattergun|force=es}}<br/>
 
<!-- Hat -->
 
{{Item name|bounty hat}}
 
<!-- Other -->
 
{{Item name|scrap metal|force=ja}}
 
<!-- Doesn't exist-->
 
{{Item name|wikifake}}
 
 
 
 
</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.