Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
(Usage)
Line 217: Line 217:
 
|component9name = {{{ccomponent9name|}}}
 
|component9name = {{{ccomponent9name|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|nocat= {{{nocat|}}}
 +
}}
 +
 +
|}}{{#ifeq: {{lc:{{{material|yes}}} }}|yes|
 +
{{componentbox
 +
|type = m
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{{mmass|}}}
 +
|volume = {{{mvolume|}}}
 +
|materialefficiency = {{{materialefficiency|}}}
 +
|refinespeed = {{{refinespeed|}}}
 +
|refinefrom = {{{refinefrom|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
Line 235: Line 249:
 
| smallship = yes/no (small ship part?)
 
| smallship = yes/no (small ship part?)
 
| component = yes/no (is this a component made by the assembler?)
 
| component = yes/no (is this a component made by the assembler?)
 +
| material = yes/no (is this a material made by the refinery?)
 
| rawmaterial = yes/no (is this a raw material?)
 
| rawmaterial = yes/no (is this a raw material?)
 
| integrity = part integrity, refer to .sbc definition file
 
| integrity = part integrity, refer to .sbc definition file
Line 242: Line 257:
  
  
| smass = mass of one object in kg (not implemented yet, but please include)
+
| smass = mass of one object in kg  
| svolume = volume of one object in l (not implemented yet, but please include)
+
| svolume = volume of one object in l  
| lmass = mass of one object in kg (not implemented yet, but please include)
+
| lmass = mass of one object in kg  
| lvolume = volume of one object in l (not implemented yet, but please include)
+
| lvolume = volume of one object in l  
| cmass = mass of one object in kg (not implemented yet, but please include)
+
| cmass = mass of one object in kg  
| cvolume = volume of one object in l (not implemented yet, but please include)
+
| cvolume = volume of one object in l  
| tmass = mass of one object in kg (not implemented yet, but please include)
+
| tmass = mass of one object in kg  
| tvolume = volume of one object in l (not implemented yet, but please include)
+
| tvolume = volume of one object in l  
| rmass = mass of one object in kg (not implemented yet, but please include)
+
| rmass = mass of one object in kg  
| rvolume = volume of one object in l (not implemented yet, but please include)
+
| rvolume = volume of one object in l  
 
+
| mmass = mass of one object in kg
 +
| mvolume = volume of one object in l
 
| refinetime = time it takes to refine, get this from the data files
 
| refinetime = time it takes to refine, get this from the data files
 
| refineefficiecy = percent converted to ingots
 
| refineefficiecy = percent converted to ingots
Line 289: Line 305:
 
| lcomponent2 ... 9amt = amount
 
| lcomponent2 ... 9amt = amount
  
 +
| smeltfrom = <ore item> Item this item smelts from.
  
 
| nocat= yes/no defaults to no  
 
| nocat= yes/no defaults to no  
 
}}
 
}}
 
</pre>[[Category:Templates]]</noinclude>
 
</pre>[[Category:Templates]]</noinclude>

Revision as of 00:26, 19 March 2014

No Image Icon.png
Large Ship Icon.png
Large Ship / Station
No Image
 
Components
Required

 

 
 
Mass (kg):
No Image Icon.png
Small Ship Icon.png
Small Ship
No Image
 
Components
Required

 

 
 
Mass (kg):
No Image Icon.png
Component Icon.png
Component
No Image
 
Components
Required

 

 
 
Mass (kg):
No Image Icon.png
Tool Icon.png
Tool
No Image
 
Components
Required

 

 
 
Mass (kg):
No Image Icon.png
Raw Icon.png
Raw Material
No Image

 

 
 
Mass (kg):
No Image Icon.png
Material Icon.png
Material
No Image

 

 
 
Mass (kg):

Itembox template

Usage

Even though the language options are not yet implemented, please fill them in if you are using them on translated pages, the template will support them in the future, and will save having to go back and re-edit all translated pages. Note that only item is required, designations are highly recommended, if not specified the template will assume you want it, components are all optional arguments, if your item only has 1 component you only need to use the first component variable.

{{itembox
| item = Item name, use caps on each part, English only
| description = item description, can be translated. 
| lang = language code override defaults to language of page used on (not implemented yet)
| translation = translated item name (not implemented yet)
| tool = yes/no (engineer tool?)
| largeship = yes/no (large ship part?)
| smallship = yes/no (small ship part?)
| component = yes/no (is this a component made by the assembler?)
| material = yes/no (is this a material made by the refinery?)
| rawmaterial = yes/no (is this a raw material?)
| integrity = part integrity, refer to .sbc definition file
| dropprob = drop probability, refer to .sbc definition file
| materialefficiency = material efficiency, refer to .sbc definition file
| refinespeed = refining speed, refer to .sbc definition file


| smass = mass of one object in kg 
| svolume = volume of one object in l 
| lmass = mass of one object in kg 
| lvolume = volume of one object in l 
| cmass = mass of one object in kg 
| cvolume = volume of one object in l 
| tmass = mass of one object in kg 
| tvolume = volume of one object in l 
| rmass = mass of one object in kg 
| rvolume = volume of one object in l 
| mmass = mass of one object in kg 
| mvolume = volume of one object in l 
| refinetime = time it takes to refine, get this from the data files
| refineefficiecy = percent converted to ingots

| ccomponent1 = First build component for component/tool
| ccomponent1name = translated name (not implemented yet)
| ccomponent1amt = amount
| ccomponent2 ... 9 = Second through ninth build components
| ccomponent2 ... 9name = translated name (not implemented yet)
| ccomponent2 ... 9amt = amount

| spowerconsumption = power consumed when working, small ship
| spowerstandby = power consumed when idle, small ship
| sdeformationratio = deformation ratio, refer to .sbc file, small ship
| sbuildtime = build time in seconds, refer to .sbc file, small ship
| sdisassembleratio= disassemble ratio, refer to .sbc file, small ship
| scomponentstructure = number where structure begins (red line in user interface in game while building)
| scomponent1 = First build component for small ships
| scomponent1name = translated name (not implemented yet)
| scomponent1amt = 1 First build component for small ships
| scomponent2 ... 9 = Second through ninth build components
| scomponent2 ... 9name = translated name (not implemented yet)
| scomponent2 ... amt = amount

| lpowerconsumption = power consumed when working, large ship
| lpowerstandby = power consumed when idle, large ship
| ldeformationratio = deformation ratio, refer to .sbc file, large ship
| lbuildtime = build time in seconds, refer to .sbc file
| ldisassembleratio= disassemble ratio, refer to .sbc file
| lcomponentstructure = number where structure begins (red line in user interface in game while building)
| lcomponent1 = First build component for large ships
| lcomponent1name = translated name (not implemented yet)
| lcomponent1amt = amount
| lcomponent2 ... 9 = Second through ninth build components
| lcomponent2 ... 9name = translated name (not implemented yet)
| lcomponent2 ... 9amt = amount

| smeltfrom = <ore item> Item this item smelts from. 

| nocat= yes/no defaults to no 
}}