Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
Line 11: Line 11:
 
{{#if: {{{rvolume|}}}|{{#set:rvolume={{{rvolume|}}} }}|}}
 
{{#if: {{{rvolume|}}}|{{#set:rvolume={{{rvolume|}}} }}|}}
 
{{#if: {{{mvolume|}}}|{{#set:mvolume={{{mvolume|}}} }}|}}
 
{{#if: {{{mvolume|}}}|{{#set:mvolume={{{mvolume|}}} }}|}}
{{#if: {{{scapacity|}}}|{{#set:scapacity={{{scapacity|}}} }}|}}
+
{{#if: {{{sstoragecapacity|}}}|{{#set:scapacity={{{sstoragecapacity|}}} }}|}}
{{#if: {{{lcapacity|}}}|{{#set:lcapacity={{{lcapacity|}}} }}|}}
+
{{#if: {{{lstoragecapacity|}}}|{{#set:lcapacity={{{lstoragecapacity|}}} }}|}}
 
{{#if: {{{ccomponent1|}}}|{{#set:ccomponent1={{{ccomponent1|}}} }}|}}
 
{{#if: {{{ccomponent1|}}}|{{#set:ccomponent1={{{ccomponent1|}}} }}|}}
 
{{#if: {{{lcomponent1|}}}|{{#set:lcomponent1={{{lcomponent1|}}} }}|}}
 
{{#if: {{{lcomponent1|}}}|{{#set:lcomponent1={{{lcomponent1|}}} }}|}}
Line 95: Line 95:
 
|virtualmass = {{{lvirtualmass|}}}
 
|virtualmass = {{{lvirtualmass|}}}
 
|forcemagnitude = {{{lforcemagnitude|}}}
 
|forcemagnitude = {{{lforcemagnitude|}}}
|capacity = {{{lcapacity}}}
+
|storagecapacity= {{{lstoragecapacity}}}
 
|component1 = {{{lcomponent1|}}}
 
|component1 = {{{lcomponent1|}}}
 
|component1amt = {{{lcomponent1amt|}}}
 
|component1amt = {{{lcomponent1amt|}}}
Line 140: Line 140:
 
|forcemagnitude = {{{sforcemagnitude|}}}
 
|forcemagnitude = {{{sforcemagnitude|}}}
 
|virtualmass = {{{svirtualmass|}}}
 
|virtualmass = {{{svirtualmass|}}}
|capacity = {{{lcapacity}}}
+
|storagecapacity= {{{lstoragecapacity}}}
 
|component1 = {{{scomponent1|}}}
 
|component1 = {{{scomponent1|}}}
 
|component1amt = {{{scomponent1amt|}}}
 
|component1amt = {{{scomponent1amt|}}}
Line 325: Line 325:
 
| sdisassembleratio= disassemble ratio, refer to .sbc file, small ship
 
| sdisassembleratio= disassemble ratio, refer to .sbc file, small ship
 
| svirtualmass = virtual mass provided when powered on.
 
| svirtualmass = virtual mass provided when powered on.
| scapacity = Storage capacity
+
| sstoragecapacity = Storage capacity
 
| sheight = height of block
 
| sheight = height of block
 
| swidth = width of block
 
| swidth = width of block
Line 343: Line 343:
 
| ldisassembleratio= disassemble ratio, refer to .sbc file
 
| ldisassembleratio= disassemble ratio, refer to .sbc file
 
| lvirtualmass = virtual mass provided when powered on.
 
| lvirtualmass = virtual mass provided when powered on.
| lcapacity = Storage capacity
+
| lstoragecapacity = Storage capacity
 
| lheight = height of block (
 
| lheight = height of block (
 
| lwidth = width of block
 
| lwidth = width of block

Revision as of 04:49, 2 February 2015

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

 

 
 
Mass (kg):
0
 
Storage Capacity (L):
{{{lstoragecapacity}}}
No Image Icon.png
Small Ship Icon.png
Small Ship
No Image
 
Components
Required

 

 
 
Mass (kg):
0
 
Storage Capacity (L):
{{{lstoragecapacity}}}
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

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.

NOTE smass and lmass have been depreciated. Mass is now automatically calculated!
{{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
| 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
| capacity = ammo capacity

| cmass = mass of one component in kg 
| cvolume = volume of one component in l 
| tmass = mass of one tool in kg 
| tvolume = volume of one tool in l 
| rmass = mass of one raw material in kg 
| rvolume = volume of one raw material in l 
| mmass = mass of one material(ingot) in kg 
| mvolume = volume of one material(ingot) in l 
| refinetime = time it takes to refine, get this from the data files
| refineefficiecy = percent converted to ingots

| cbuildtime = build time in seconds, refer to blueprints.sbc file
| ccomponent1 = First build material for component/tool
| ccomponent1amt = amount
| ccomponent2 ... 9 = Second through ninth build materials
| 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
| svirtualmass = virtual mass provided when powered on.
| sstoragecapacity = Storage capacity
| sheight = height of block
| swidth = width of block
| sdepth = depth of block

| scomponentstructure = number where structure begins (red line in user interface in game while building)
| scomponent1 = First build component for small ships
| scomponent1amt = 1 First build component for small ships
| scomponent2 ... 9 = Second through ninth build components
| 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
| lvirtualmass = virtual mass provided when powered on.
| lstoragecapacity = Storage capacity
| lheight = height of block (
| lwidth = width of block
| ldepth = depth of block


| lcomponentstructure = number where structure begins (red line in user interface in game while building)
| lcomponent1 = First build component for large ships
| lcomponent1amt = amount
| lcomponent2 ... 9 = Second through ninth build components
| lcomponent2 ... 9amt = amount

| refinefrom = <ore item> Item this item refines from. 

| nocat= yes/no defaults to no 
| version = current game version, so we know if this is updated or not. 
}}