Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
(Undo revision 14003 by Nawakrel (talk))
(+adding 10th component.)
Line 69: Line 69:
 
{{#if: {{{lcomponent9amt|}}}|{{#set:lcomponent9amt={{{lcomponent9amt|}}} }}|}}
 
{{#if: {{{lcomponent9amt|}}}|{{#set:lcomponent9amt={{{lcomponent9amt|}}} }}|}}
 
{{#if: {{{scomponent9amt|}}}|{{#set:scomponent9amt={{{scomponent9amt|}}} }}|}}
 
{{#if: {{{scomponent9amt|}}}|{{#set:scomponent9amt={{{scomponent9amt|}}} }}|}}
 +
{{#if: {{{ccomponent10|}}}|{{#set:ccomponent9={{{ccomponent10|}}} }}|}}
 +
{{#if: {{{lcomponent10|}}}|{{#set:lcomponent9={{{lcomponent10|}}} }}|}}
 +
{{#if: {{{scomponent10|}}}|{{#set:scomponent9={{{scomponent10|}}} }}|}}
 +
{{#if: {{{ccomponent10amt|}}}|{{#set:ccomponent10amt={{{ccomponent10amt|}}} }}|}}
 +
{{#if: {{{lcomponent10amt|}}}|{{#set:lcomponent10amt={{{lcomponent10amt|}}} }}|}}
 +
{{#if: {{{scomponent10amt|}}}|{{#set:scomponent10amt={{{scomponent10amt|}}} }}|}}
 
{{#if: {{{lwidth|}}}|{{#set:lwidth={{{lwidth|}}} }}|}}
 
{{#if: {{{lwidth|}}}|{{#set:lwidth={{{lwidth|}}} }}|}}
 
{{#if: {{{swidth|}}}|{{#set:swidth={{{swidth|}}} }}|}}
 
{{#if: {{{swidth|}}}|{{#set:swidth={{{swidth|}}} }}|}}
Line 117: Line 123:
 
|component9 = {{{lcomponent9|}}}
 
|component9 = {{{lcomponent9|}}}
 
|component9amt = {{{lcomponent9amt|}}}
 
|component9amt = {{{lcomponent9amt|}}}
 +
|component10 = {{{lcomponent10|}}}
 +
|component10amt = {{{lcomponent10amt|}}}
 
|structure = {{{lcomponentstructure}}}
 
|structure = {{{lcomponentstructure}}}
 
|property = {{{lcomponentproperty}}}
 
|property = {{{lcomponentproperty}}}
Line 164: Line 172:
 
|component9 = {{{scomponent9|}}}
 
|component9 = {{{scomponent9|}}}
 
|component9amt = {{{scomponent9amt|}}}
 
|component9amt = {{{scomponent9amt|}}}
 +
|component10 = {{{scomponent10|}}}
 +
|component10amt = {{{scomponent10amt|}}}
 
|structure = {{{scomponentstructure}}}  
 
|structure = {{{scomponentstructure}}}  
 
|property = {{{scomponentproperty}}}  
 
|property = {{{scomponentproperty}}}  
Line 203: Line 213:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
Line 237: Line 249:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
Line 269: Line 283:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}
 
}}

Revision as of 22:08, 14 November 2015

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

 

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

 

 
 
Mass (kg):
0
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
| smaxstoredenergy = Max stored energy
| 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)
| scomponentproperty = number where property begins (green 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
| lmaxstoredenergy = Max stored energy
| 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)
| lcomponentproperty = number where property begins (green 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. 
}}