Difference between revisions of "Template:Itembox"
From Space Engineers Wiki
m (+updated <pre>) |
m (+added two new fields - resourcesinkgroup and resourcesourcegroup.) |
||
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: {{{sresourcesinkgroup|}}}|{{#set:sresourcesinkgroup={{{sresourcesinkgroup|}}} }}|}} | ||
+ | {{#if: {{{lresourcesinkgroup|}}}|{{#set:lresourcesinkgroup={{{lresourcesinkgroup|}}} }}|}} | ||
+ | {{#if: {{{sresourcesourcegroup|}}}|{{#set:sresourcesourcegroup={{{sresourcesourcegroup|}}} }}|}} | ||
+ | {{#if: {{{lresourcesourcegroup|}}}|{{#set:lresourcesourcegroup={{{lresourcesourcegroup|}}} }}|}} | ||
{{#if: {{{sstoragecapacity|}}}|{{#set:sstoragecapacity={{{sstoragecapacity|}}} }}|}} | {{#if: {{{sstoragecapacity|}}}|{{#set:sstoragecapacity={{{sstoragecapacity|}}} }}|}} | ||
{{#if: {{{lstoragecapacity|}}}|{{#set:lstoragecapacity={{{lstoragecapacity|}}} }}|}} | {{#if: {{{lstoragecapacity|}}}|{{#set:lstoragecapacity={{{lstoragecapacity|}}} }}|}} | ||
Line 97: | Line 101: | ||
|materialefficiency = {{{materialefficiency|}}} | |materialefficiency = {{{materialefficiency|}}} | ||
|refinespeed = {{{refinespeed|}}} | |refinespeed = {{{refinespeed|}}} | ||
+ | |resourcesourcegroup = {{{lresourcesourcegroup|}}} | ||
+ | |resourcesinkgroup = {{{lresourcesinkgroup|}}} | ||
|powerconsumption = {{{lpowerconsumption|}}} | |powerconsumption = {{{lpowerconsumption|}}} | ||
|powerstandby = {{{lpowerstandby|}}} | |powerstandby = {{{lpowerstandby|}}} | ||
Line 146: | Line 152: | ||
|disassembleratio = {{{sdisassembleratio|}}} | |disassembleratio = {{{sdisassembleratio|}}} | ||
|deformationratio = {{{sdeformationratio|}}} | |deformationratio = {{{sdeformationratio|}}} | ||
+ | |resourcesourcegroup = {{{sresourcesourcegroup|}}} | ||
+ | |resourcesinkgroup = {{{sresourcesinkgroup|}}} | ||
|powerconsumption = {{{spowerconsumption|}}} | |powerconsumption = {{{spowerconsumption|}}} | ||
|powerstandby = {{{spowerstandby|}}} | |powerstandby = {{{spowerstandby|}}} | ||
Line 341: | Line 349: | ||
| ccomponent2 ... 10amt = amount | | ccomponent2 ... 10amt = amount | ||
+ | | sresourcesourcegroup = the resource group as described in (power producers) resourcedistributiongroups.sbc | ||
+ | | sresourcesinkgroup = the resource group as described in (power users) resourcedistributiongroups.sbc | ||
| spowerconsumption = power consumed when working, small ship | | spowerconsumption = power consumed when working, small ship | ||
| spowerstandby = power consumed when idle, small ship | | spowerstandby = power consumed when idle, small ship | ||
Line 361: | Line 371: | ||
+ | | lresourcesourcegroup = the resource group as described in resourcedistributiongroups.sbc | ||
+ | | lresourcesinkgroup = the resource group as described in resourcedistributiongroups.sbc | ||
| lpowerconsumption = power consumed when working, large ship | | lpowerconsumption = power consumed when working, large ship | ||
| lpowerstandby = power consumed when idle, large ship | | lpowerstandby = power consumed when idle, large ship |
Revision as of 14:02, 30 November 2015
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 ... 10 = Second through tenth build materials | ccomponent2 ... 10amt = amount | sresourcesourcegroup = the resource group as described in (power producers) resourcedistributiongroups.sbc | sresourcesinkgroup = the resource group as described in (power users) resourcedistributiongroups.sbc | 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 ... 10 = Second through tenth build components | scomponent2 ... 10amt = amount | lresourcesourcegroup = the resource group as described in resourcedistributiongroups.sbc | lresourcesinkgroup = the resource group as described in resourcedistributiongroups.sbc | 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 ... 10 = Second through tenth build components | lcomponent2 ... 10amt = 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. }}