Difference between revisions of "Template:Item infobox/Sandbox"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 530: Line 530:
 
   // 'used-by'
 
   // 'used-by'
 
  -->{{#switch:{{lc:{{{type|}}}}}
 
  -->{{#switch:{{lc:{{{type|}}}}}
  | tool | tools = {{ns:0}}<!-- NULL: don't have 'used-by' on tools. -->
+
  | tool | tools | ingredient = {{ns:0}}<!-- NULL: don't have 'used-by' on tools. -->
 
  | #default =  
 
  | #default =  
 
  <tr>
 
  <tr>
Line 584: Line 584:
  
 
{{#switch:{{lc:{{{type|}}}}}  
 
{{#switch:{{lc:{{{type|}}}}}  
  | tool | tools = {{ns:0}}
+
  | tool | tools | ingredient = {{ns:0}}
 
  | #default = <tr>
 
  | #default = <tr>
 
   <td class="infobox-label">{{lang
 
   <td class="infobox-label">{{lang
Line 1,424: Line 1,424:
 
     | en = {{#switch:{{lc:{{{type|}}}}}
 
     | en = {{#switch:{{lc:{{{type|}}}}}
 
       | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
 
       | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
       | tools | tool | action item | action | action taunt | special taunt = {{ns:0}}<!-- Hats, misc and tools usually don't have "The". -->
+
       | tools | tool | ingredient | action item | action | action taunt | special taunt = {{ns:0}}<!-- Hats, misc and tools usually don't have "The". -->
 
       | yes | #default =  
 
       | yes | #default =  
 
         {{#switch:{{lc:{{{quality|}}}}}
 
         {{#switch:{{lc:{{{quality|}}}}}
Line 1,537: Line 1,537:
 
  | taunt = {{lang cat|Taunts}}
 
  | taunt = {{lang cat|Taunts}}
 
  | tools | tool = {{lang cat|Tools}}
 
  | tools | tool = {{lang cat|Tools}}
 +
| ingredient = {{lang cat|Crafting items}}
 
  | action item | action = {{lang cat|Action items}}
 
  | action item | action = {{lang cat|Action items}}
 
  | action taunt = {{lang cat|Action items}}{{lang cat|Taunts}}
 
  | action taunt = {{lang cat|Action items}}{{lang cat|Taunts}}
Line 1,575: Line 1,576:
 
   | weapons | weapon | taunt | tauntkill | taunt-kill  
 
   | weapons | weapon | taunt | tauntkill | taunt-kill  
 
   | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
 
   | cosmetic | hats | head | headwear | hat | misc item | misc. item | misc. | misc | miscellaneous | miscellaneous item
   | tools | tool | action item | action | action taunt | special taunt
+
   | tools | tool | ingredient | action item | action | action taunt | special taunt
 
   | bundle = {{ns:0}}<!-- Accepted values for 'type'. -->
 
   | bundle = {{ns:0}}<!-- Accepted values for 'type'. -->
 
   | blank | none | {{ns:0}} | #default = [[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]
 
   | blank | none | {{ns:0}} | #default = [[Category:Item infobox ERROR|{{NAMESPACE}} {{BASEPAGENAME}} {{if lang}}]]

Revision as of 23:46, 4 March 2023