Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
m
m (I highlighted the file names)
 
(126 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
<includeonly>{{#if: 1|
 +
{{#set:version={{{version|00.000.000}}} }}
 +
{{#if: {{{translation|}}}|{{#set:translation={{{translation|}}} }}|}}
 +
{{#if: {{{description|}}}|{{#set:description={{{description|}}} }}|}}
 +
{{#if: {{{disabledsince|}}}|{{#set:disabledsince={{{disabledsince|}}} }}|}}
 +
{{#if: {{{guivisible|}}}|{{#set:guivisible={{{guivisible|}}} }}|{{#set:guivisible=true }}}}
 +
{{#switch: {{lc:{{{guivisible|}}} }}|false=<!-- -->
 +
|#default=
 +
{{#if: {{{cmass|}}}|{{#set:cmass={{{cmass|}}} }}|}}
 +
{{#if: {{{tmass|}}}|{{#set:tmass={{{tmass|}}} }}|}}
 +
{{#if: {{{rmass|}}}|{{#set:rmass={{{rmass|}}} }}|}}
 +
{{#if: {{{mmass|}}}|{{#set:mmass={{{mmass|}}} }}|}}
 +
{{#if: {{{cvolume|}}}|{{#set:cvolume={{{cvolume|}}} }}|}}
 +
{{#if: {{{tvolume|}}}|{{#set:tvolume={{{tvolume|}}} }}|}}
 +
{{#if: {{{rvolume|}}}|{{#set:rvolume={{{rvolume|}}} }}|}}
 +
{{#if: {{{mvolume|}}}|{{#set:mvolume={{{mvolume|}}} }}|}}
 +
{{#if: {{{cintegrity|}}}|{{#set:cintegrity={{{cintegrity|}}} }}|}}
 +
{{#if: {{{tintegrity|}}}|{{#set:tintegrity={{{tintegrity|}}} }}|}}
 +
{{#if: {{{rintegrity|}}}|{{#set:rintegrity={{{rintegrity|}}} }}|}}
 +
{{#if: {{{mintegrity|}}}|{{#set:mintegrity={{{mintegrity|}}} }}|}}
 +
{{#if: {{{ccapacity|}}}|{{#set:ccapacity={{{ccapacity|}}} }}|}}
 +
{{#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: {{{lstoragecapacity|}}}|{{#set:lstoragecapacity={{{lstoragecapacity|}}} }}|}}
 +
{{#if: {{{smaxstoredenergy|}}}|{{#set:smaxstoredenergy={{{smaxstoredenergy|}}} }}|}}
 +
{{#if: {{{lmaxstoredenergy|}}}|{{#set:lmaxstoredenergy={{{lmaxstoredenergy|}}} }}|}}
 +
{{#if: {{{sairtightness|}}}|{{#set:sairtightness={{{sairtightness|}}} }}|}}
 +
{{#if: {{{lairtightness|}}}|{{#set:lairtightness={{{lairtightness|}}} }}|}}
 +
{{#if: {{{tgascapacity|}}}|{{#set:tgascapacity={{{tgascapacity|}}} }}|}}
 +
{{#if: {{{lgascapacity|}}}|{{#set:lgascapacity={{{lgascapacity|}}} }}|}}
 +
{{#if: {{{sgascapacity|}}}|{{#set:sgascapacity={{{sgascapacity|}}} }}|}}
 +
{{#if: {{{lforcemagnitude|}}}|{{#set:lforcemagnitude={{{lforcemagnitude|}}} }}|}}
 +
{{#if: {{{sforcemagnitude|}}}|{{#set:sforcemagnitude={{{sforcemagnitude|}}} }}|}}
 +
{{#if: {{{rmaterialefficiency|}}}|{{#set:rmaterialefficiency={{{rmaterialefficiency|}}} }}|}}
 +
{{#if: {{{mmaterialefficiency|}}}|{{#set:mmaterialefficiency={{{mmaterialefficiency|}}} }}|}}
 +
{{#if: {{{lmaterialefficiency|}}}|{{#set:lmaterialefficiency={{{lmaterialefficiency|}}} }}|}}
 +
{{#if: {{{smaterialefficiency|}}}|{{#set:smaterialefficiency={{{smaterialefficiency|}}} }}|}}
 +
{{#if: {{{rrefinespeed|}}}|{{#set:rrefinespeed={{{rrefinespeed|}}} }}|}}
 +
{{#if: {{{mrefinespeed|}}}|{{#set:mrefinespeed={{{mrefinespeed|}}} }}|}}
 +
{{#if: {{{lrefinespeed|}}}|{{#set:lrefinespeed={{{lrefinespeed|}}} }}|}}
 +
{{#if: {{{srefinespeed|}}}|{{#set:srefinespeed={{{srefinespeed|}}} }}|}}
 +
{{#if: {{{tROF|}}}|{{#set:tROF={{{tROF|}}} }}|}}
 +
{{#if: {{{lROF|}}}|{{#set:lROF={{{lROF|}}} }}|}}
 +
{{#if: {{{sROF|}}}|{{#set:sROF={{{sROF|}}} }}|}}
 +
{{#if: {{{tshotdeviation|}}}|{{#set:tshotdeviation={{{tshotdeviation|}}} }}|}}
 +
{{#if: {{{lshotdeviation|}}}|{{#set:lshotdeviation={{{lshotdeviation|}}} }}|}}
 +
{{#if: {{{sshotdeviation|}}}|{{#set:sshotdeviation={{{sshotdeviation|}}} }}|}}
 +
{{#if: {{{tammo|}}}|{{#set:tammo={{{tammo|}}} }}|}}
 +
{{#if: {{{lammo|}}}|{{#set:lammo={{{lammo|}}} }}|}}
 +
{{#if: {{{sammo|}}}|{{#set:sammo={{{sammo|}}} }}|}}
 +
{{#if: {{{tspeedmult|}}}|{{#set:tspeedmult={{{tspeedmult|}}} }}|}}
 +
{{#if: {{{treachmult|}}}|{{#set:treachmult={{{treachmult|}}} }}|}}
 +
{{#if: {{{ccomponent1|}}}|{{#set:ccomponent1={{{ccomponent1|}}} }}|}}
 +
{{#if: {{{lcomponent1|}}}|{{#set:lcomponent1={{{lcomponent1|}}} }}|}}
 +
{{#if: {{{scomponent1|}}}|{{#set:scomponent1={{{scomponent1|}}} }}|}}
 +
{{#if: {{{ccomponent1amt|}}}|{{#set:ccomponent1amt={{{ccomponent1amt|}}} }}|}}
 +
{{#if: {{{lcomponent1amt|}}}|{{#set:lcomponent1amt={{{lcomponent1amt|}}} }}|}}
 +
{{#if: {{{scomponent1amt|}}}|{{#set:scomponent1amt={{{scomponent1amt|}}} }}|}}
 +
{{#if: {{{ccomponent2|}}}|{{#set:ccomponent2={{{ccomponent2|}}} }}|}}
 +
{{#if: {{{lcomponent2|}}}|{{#set:lcomponent2={{{lcomponent2|}}} }}|}}
 +
{{#if: {{{scomponent2|}}}|{{#set:scomponent2={{{scomponent2|}}} }}|}}
 +
{{#if: {{{ccomponent2amt|}}}|{{#set:ccomponent2amt={{{ccomponent2amt|}}} }}|}}
 +
{{#if: {{{lcomponent2amt|}}}|{{#set:lcomponent2amt={{{lcomponent2amt|}}} }}|}}
 +
{{#if: {{{scomponent2amt|}}}|{{#set:scomponent2amt={{{scomponent2amt|}}} }}|}}
 +
{{#if: {{{ccomponent3|}}}|{{#set:ccomponent3={{{ccomponent3|}}} }}|}}
 +
{{#if: {{{lcomponent3|}}}|{{#set:lcomponent3={{{lcomponent3|}}} }}|}}
 +
{{#if: {{{scomponent3|}}}|{{#set:scomponent3={{{scomponent3|}}} }}|}}
 +
{{#if: {{{ccomponent3amt|}}}|{{#set:ccomponent3amt={{{ccomponent3amt|}}} }}|}}
 +
{{#if: {{{lcomponent3amt|}}}|{{#set:lcomponent3amt={{{lcomponent3amt|}}} }}|}}
 +
{{#if: {{{scomponent3amt|}}}|{{#set:scomponent3amt={{{scomponent3amt|}}} }}|}}
 +
{{#if: {{{ccomponent4|}}}|{{#set:ccomponent4={{{ccomponent4|}}} }}|}}
 +
{{#if: {{{lcomponent4|}}}|{{#set:lcomponent4={{{lcomponent4|}}} }}|}}
 +
{{#if: {{{scomponent4|}}}|{{#set:scomponent4={{{scomponent4|}}} }}|}}
 +
{{#if: {{{ccomponent4amt|}}}|{{#set:ccomponent4amt={{{ccomponent4amt|}}} }}|}}
 +
{{#if: {{{lcomponent4amt|}}}|{{#set:lcomponent4amt={{{lcomponent4amt|}}} }}|}}
 +
{{#if: {{{scomponent4amt|}}}|{{#set:scomponent4amt={{{scomponent4amt|}}} }}|}}
 +
{{#if: {{{ccomponent5|}}}|{{#set:ccomponent5={{{ccomponent5|}}} }}|}}
 +
{{#if: {{{lcomponent5|}}}|{{#set:lcomponent5={{{lcomponent5|}}} }}|}}
 +
{{#if: {{{scomponent5|}}}|{{#set:scomponent5={{{scomponent5|}}} }}|}}
 +
{{#if: {{{ccomponent5amt|}}}|{{#set:ccomponent5amt={{{ccomponent5amt|}}} }}|}}
 +
{{#if: {{{lcomponent5amt|}}}|{{#set:lcomponent5amt={{{lcomponent5amt|}}} }}|}}
 +
{{#if: {{{scomponent5amt|}}}|{{#set:scomponent5amt={{{scomponent5amt|}}} }}|}}
 +
{{#if: {{{ccomponent6|}}}|{{#set:ccomponent6={{{ccomponent6|}}} }}|}}
 +
{{#if: {{{lcomponent6|}}}|{{#set:lcomponent6={{{lcomponent6|}}} }}|}}
 +
{{#if: {{{scomponent6|}}}|{{#set:scomponent6={{{scomponent6|}}} }}|}}
 +
{{#if: {{{ccomponent6amt|}}}|{{#set:ccomponent6amt={{{ccomponent6amt|}}} }}|}}
 +
{{#if: {{{lcomponent6amt|}}}|{{#set:lcomponent6amt={{{lcomponent6amt|}}} }}|}}
 +
{{#if: {{{scomponent6amt|}}}|{{#set:scomponent6amt={{{scomponent6amt|}}} }}|}}
 +
{{#if: {{{ccomponent7|}}}|{{#set:ccomponent7={{{ccomponent7|}}} }}|}}
 +
{{#if: {{{lcomponent7|}}}|{{#set:lcomponent7={{{lcomponent7|}}} }}|}}
 +
{{#if: {{{scomponent7|}}}|{{#set:scomponent7={{{scomponent7|}}} }}|}}
 +
{{#if: {{{ccomponent7amt|}}}|{{#set:ccomponent7amt={{{ccomponent7amt|}}} }}|}}
 +
{{#if: {{{lcomponent7amt|}}}|{{#set:lcomponent7amt={{{lcomponent7amt|}}} }}|}}
 +
{{#if: {{{scomponent7amt|}}}|{{#set:scomponent7amt={{{scomponent7amt|}}} }}|}}
 +
{{#if: {{{ccomponent8|}}}|{{#set:ccomponent8={{{ccomponent8|}}} }}|}}
 +
{{#if: {{{lcomponent8|}}}|{{#set:lcomponent8={{{lcomponent8|}}} }}|}}
 +
{{#if: {{{scomponent8|}}}|{{#set:scomponent8={{{scomponent8|}}} }}|}}
 +
{{#if: {{{ccomponent8amt|}}}|{{#set:ccomponent8amt={{{ccomponent8amt|}}} }}|}}
 +
{{#if: {{{lcomponent8amt|}}}|{{#set:lcomponent8amt={{{lcomponent8amt|}}} }}|}}
 +
{{#if: {{{scomponent8amt|}}}|{{#set:scomponent8amt={{{scomponent8amt|}}} }}|}}
 +
{{#if: {{{ccomponent9|}}}|{{#set:ccomponent9={{{ccomponent9|}}} }}|}}
 +
{{#if: {{{lcomponent9|}}}|{{#set:lcomponent9={{{lcomponent9|}}} }}|}}
 +
{{#if: {{{scomponent9|}}}|{{#set:scomponent9={{{scomponent9|}}} }}|}}
 +
{{#if: {{{ccomponent9amt|}}}|{{#set:ccomponent9amt={{{ccomponent9amt|}}} }}|}}
 +
{{#if: {{{lcomponent9amt|}}}|{{#set:lcomponent9amt={{{lcomponent9amt|}}} }}|}}
 +
{{#if: {{{scomponent9amt|}}}|{{#set:scomponent9amt={{{scomponent9amt|}}} }}|}}
 +
{{#if: {{{ccomponent10|}}}|{{#set:ccomponent10={{{ccomponent10|}}} }}|}}
 +
{{#if: {{{lcomponent10|}}}|{{#set:lcomponent10={{{lcomponent10|}}} }}|}}
 +
{{#if: {{{scomponent10|}}}|{{#set:scomponent10={{{scomponent10|}}} }}|}}
 +
{{#if: {{{ccomponent10amt|}}}|{{#set:ccomponent10amt={{{ccomponent10amt|}}} }}|}}
 +
{{#if: {{{lcomponent10amt|}}}|{{#set:lcomponent10amt={{{lcomponent10amt|}}} }}|}}
 +
{{#if: {{{scomponent10amt|}}}|{{#set:scomponent10amt={{{scomponent10amt|}}} }}|}}
 +
{{#if: {{{lwidth|}}}|{{#set:lwidth={{{lwidth|}}} }}|}}
 +
{{#if: {{{swidth|}}}|{{#set:swidth={{{swidth|}}} }}|}}
 +
{{#if: {{{lheight|}}}|{{#set:lheight={{{lheight|}}} }}|}}
 +
{{#if: {{{sheight|}}}|{{#set:sheight={{{sheight|}}} }}|}}
 +
{{#if: {{{ldepth|}}}|{{#set:ldepth={{{ldepth|}}} }}|}}
 +
{{#if: {{{sdepth|}}}|{{#set:sdepth={{{sdepth|}}} }}|}}
 +
{{#if: {{{lpcu|}}}|{{#set:lpcu={{{lpcu|}}} }}|}}
 +
{{#if: {{{spcu|}}}|{{#set:spcu={{{spcu|}}} }}|}}
 +
{{#if: {{{lfuelconverterefficiency|}}}|{{#set:lfuelconverterefficiency={{{lfuelconverterefficiency|}}} }}|}}
 +
{{#if: {{{sfuelconverterefficiency|}}}|{{#set:sfuelconverterefficiency={{{sfuelconverterefficiency|}}} }}|}}
 +
{{#if: {{{spowerconsumption|}}}|{{#set:spowerconsumption={{{spowerconsumption|}}} }}|}}
 +
{{#if: {{{lpowerconsumption|}}}|{{#set:lpowerconsumption={{{lpowerconsumption|}}} }}|}}
 +
}} |}}
 +
<!--Version Control-->{{#if: {{NAMESPACE}} | | {{#ifeq: {{#show: {{removelc|{{FULLPAGENAME}}}} | ?version}} | {{#show: {{FULLPAGENAME}} | ?version}} | | {{Notice|{{Notice/OutofDateMsg{{lang}}}}}}}} }}</includeonly>
 +
<div style="width:370px;float:right">
 +
{{#switch: {{lc:{{{guivisible|}}} }}|false=
 +
{{componentbox
 +
|type = d
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|disabledsince = {{{disabledsince|}}}
 +
|guivisible = {{{guivisible|}}}
 +
}}
 +
|#default=
 
{{#ifeq: {{lc:{{{largeship|yes}}} }}|yes|
 
{{#ifeq: {{lc:{{{largeship|yes}}} }}|yes|
{{componentbox|l|{{{scomponent1|}}}|{{{scomponent1amt|}}}}}
+
{{componentbox
|}}{{#if:{{{smallship|}}}|
+
|type = l
{{componentbox|s|{{{lcomponent1|}}}|{{{lcomponent1amt|}}}}}
+
|item = {{{item|No Image}}}
}}<noinclude>[[Category:Templates]]</noinclude>
+
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{calculate mass|l|{{FULLPAGENAME}}}}
 +
|integrity = {{calculate integrity|l|{{FULLPAGENAME}}}}
 +
|dropprob = {{{dropprob|}}}
 +
|buildtime = {{{lbuildtime|}}}
 +
|disassembleratio= {{{ldisassembleratio|}}}
 +
|deformationratio = {{{ldeformationratio|}}}
 +
|materialefficiency = {{{lmaterialefficiency|}}}
 +
|refinespeed = {{{lrefinespeed|}}}
 +
|resourcesourcegroup = {{{lresourcesourcegroup|}}}
 +
|resourcesinkgroup = {{{lresourcesinkgroup|}}}
 +
|powerconsumption = {{{lpowerconsumption|}}}
 +
|powerstandby = {{{lpowerstandby|}}}
 +
|maxpoweroutput = {{{lmaxpoweroutput|}}}
 +
|movementcoefficient = {{{lmovementcoefficient|}}}
 +
|virtualmass = {{{lvirtualmass|}}}
 +
|forcemagnitude = {{{lforcemagnitude|}}}
 +
|storagecapacity = {{{lstoragecapacity|}}}
 +
|maxstoredenergy = {{{lmaxstoredenergy|}}}
 +
|gascapacity = {{{lgascapacity|}}}
 +
|airtightness = {{{lairtightness|}}}
 +
|ROF = {{{lROF|}}}
 +
|shotdeviation = {{{lshotdeviation|}}}
 +
|ammo = {{{lammo|}}}
 +
|partof = {{{lpartof|}}}
 +
|component1 = {{{lcomponent1|}}}
 +
|component1amt = {{{lcomponent1amt|}}}
 +
|component2 = {{{lcomponent2|}}}
 +
|component2amt = {{{lcomponent2amt|}}}
 +
|component3 = {{{lcomponent3|}}}
 +
|component3amt = {{{lcomponent3amt|}}}
 +
|component4 = {{{lcomponent4|}}}
 +
|component4amt = {{{lcomponent4amt|}}}
 +
|component5 = {{{lcomponent5|}}}
 +
|component5amt = {{{lcomponent5amt|}}}
 +
|component6 = {{{lcomponent6|}}}
 +
|component6amt = {{{lcomponent6amt|}}}
 +
|component7 = {{{lcomponent7|}}}
 +
|component7amt = {{{lcomponent7amt|}}}
 +
|component8 = {{{lcomponent8|}}}
 +
|component8amt = {{{lcomponent8amt|}}}
 +
|component9 = {{{lcomponent9|}}}
 +
|component9amt = {{{lcomponent9amt|}}}
 +
|component10 = {{{lcomponent10|}}}
 +
|component10amt = {{{lcomponent10amt|}}}
 +
|structure = {{{lcomponentstructure}}}
 +
|property = {{{lcomponentproperty}}}
 +
|width = {{{lwidth|}}}
 +
|height = {{{lheight|}}}
 +
|depth = {{{ldepth|}}}
 +
|pcu = {{{lpcu|}}}
 +
|fuelconverterefficiency = {{{lfuelconverterefficiency|}}}
 +
|nocat= {{{nocat|}}}
 +
}}  {{#set:lmass={{calculate mass|l|{{FULLPAGENAME}} }} }}
 +
{{#set:lintegrity={{calculate integrity|l|{{FULLPAGENAME}} }} }}
 +
|}}{{#ifeq: {{lc:{{{smallship|yes}}} }}|yes|
 +
{{componentbox
 +
|type = s
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{calculate mass|s|{{FULLPAGENAME}}}}
 +
|integrity= {{calculate integrity|s|{{FULLPAGENAME}}}}
 +
|dropprob = {{{dropprob|}}}
 +
|buildtime = {{{sbuildtime|}}}
 +
|materialefficiency = {{{smaterialefficiency|}}}
 +
|refinespeed = {{{srefinespeed|}}}
 +
|disassembleratio = {{{sdisassembleratio|}}}
 +
|deformationratio = {{{sdeformationratio|}}}
 +
|resourcesourcegroup = {{{sresourcesourcegroup|}}}
 +
|resourcesinkgroup = {{{sresourcesinkgroup|}}}
 +
|powerconsumption = {{{spowerconsumption|}}}
 +
|powerstandby = {{{spowerstandby|}}}
 +
|maxpoweroutput = {{{smaxpoweroutput|}}}
 +
|movementcoefficient = {{{smovementcoefficient|}}}
 +
|forcemagnitude = {{{sforcemagnitude|}}}
 +
|virtualmass = {{{svirtualmass|}}}
 +
|storagecapacity = {{{sstoragecapacity|}}}
 +
|maxstoredenergy = {{{smaxstoredenergy|}}}
 +
|gascapacity = {{{sgascapacity|}}}
 +
|airtightness = {{{sairtightness|}}}
 +
|ROF = {{{sROF|}}}
 +
|shotdeviation = {{{sshotdeviation|}}}
 +
|ammo = {{{sammo|}}}
 +
|partof = {{{spartof|}}}
 +
|component1 = {{{scomponent1|}}}
 +
|component1amt = {{{scomponent1amt|}}}
 +
|component2 = {{{scomponent2|}}}
 +
|component2amt = {{{scomponent2amt|}}}
 +
|component3 = {{{scomponent3|}}}
 +
|component3amt = {{{scomponent3amt|}}}
 +
|component4 = {{{scomponent4|}}}
 +
|component4amt = {{{scomponent4amt|}}}
 +
|component5 = {{{scomponent5|}}}
 +
|component5amt = {{{scomponent5amt|}}}
 +
|component6 = {{{scomponent6|}}}
 +
|component6amt = {{{scomponent6amt|}}}
 +
|component7 = {{{scomponent7|}}}
 +
|component7amt = {{{scomponent7amt|}}}
 +
|component8 = {{{scomponent8|}}}
 +
|component8amt = {{{scomponent8amt|}}}
 +
|component9 = {{{scomponent9|}}}
 +
|component9amt = {{{scomponent9amt|}}}
 +
|component10 = {{{scomponent10|}}}
 +
|component10amt = {{{scomponent10amt|}}}
 +
|structure = {{{scomponentstructure}}}
 +
|property = {{{scomponentproperty}}}
 +
|width = {{{swidth|}}}
 +
|height = {{{sheight|}}}
 +
|depth = {{{sdepth|}}}
 +
|pcu = {{{spcu|}}}
 +
|fuelconverterefficiency = {{{sfuelconverterefficiency|}}}
 +
|nocat = {{{nocat|}}}
 +
}} {{#set:smass={{calculate mass|s|{{FULLPAGENAME}}}}}}
 +
{{#set:sintegrity={{calculate integrity|s|{{FULLPAGENAME}} }} }}
 +
|}}{{#ifeq: {{lc:{{{component|yes}}} }}|yes|
 +
{{componentbox
 +
|type = c
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{{cmass|}}}
 +
|volume = {{{cvolume|}}}
 +
|integrity= {{{cintegrity|}}}
 +
|dropprob = {{{dropprob|}}}
 +
|buildtime = {{{cbuildtime|}}}
 +
|materialefficiency = {{{cmaterialefficiency|}}}
 +
|refinespeed = {{{crefinespeed|}}}
 +
|capacity = {{{ccapacity|}}}
 +
|component1 = {{{ccomponent1|}}}
 +
|component1amt = {{{ccomponent1amt|}}}
 +
|component2 = {{{ccomponent2|}}}
 +
|component2amt = {{{ccomponent2amt|}}}
 +
|component3 = {{{ccomponent3|}}}
 +
|component3amt = {{{ccomponent3amt|}}}
 +
|component4 = {{{ccomponent4|}}}
 +
|component4amt = {{{ccomponent4amt|}}}
 +
|component5 = {{{ccomponent5|}}}
 +
|component5amt = {{{ccomponent5amt|}}}
 +
|component6 = {{{ccomponent6|}}}
 +
|component6amt = {{{ccomponent6amt|}}}
 +
|component7 = {{{ccomponent7|}}}
 +
|component7amt = {{{ccomponent7amt|}}}
 +
|component8 = {{{ccomponent8|}}}
 +
|component8amt = {{{ccomponent8amt|}}}
 +
|component9 = {{{ccomponent9|}}}
 +
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 +
|nocat= {{{nocat|}}}
 +
}}
 +
|}}{{#ifeq: {{lc:{{{tool|yes}}} }}|yes|
 +
{{componentbox
 +
|type = t
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{{tmass|}}}
 +
|volume = {{{tvolume|}}}
 +
|gascapacity = {{{tgascapacity|}}}
 +
|integrity= {{{tintegrity|}}}
 +
|dropprob = {{{dropprob|}}}
 +
|materialefficiency = {{{tmaterialefficiency|}}}
 +
|refinespeed = {{{trefinespeed|}}}
 +
|ROF = {{{tROF|}}}
 +
|shotdeviation = {{{tshotdeviation|}}}
 +
|ammo = {{{tammo|}}}
 +
|speedmult = {{{tspeedmult|}}}
 +
|reachmult = {{{treachmult|}}}
 +
|buildtime = {{{cbuildtime|}}}
 +
|component1 = {{{ccomponent1|}}}
 +
|component1amt = {{{ccomponent1amt|}}}
 +
|component2 = {{{ccomponent2|}}}
 +
|component2amt = {{{ccomponent2amt|}}}
 +
|component3 = {{{ccomponent3|}}}
 +
|component3amt = {{{ccomponent3amt|}}}
 +
|component4 = {{{ccomponent4|}}}
 +
|component4amt = {{{ccomponent4amt|}}}
 +
|component5 = {{{ccomponent5|}}}
 +
|component5amt = {{{ccomponent5amt|}}}
 +
|component6 = {{{ccomponent6|}}}
 +
|component6amt = {{{ccomponent6amt|}}}
 +
|component7 = {{{ccomponent7|}}}
 +
|component7amt = {{{ccomponent7amt|}}}
 +
|component8 = {{{ccomponent8|}}}
 +
|component8amt = {{{ccomponent8amt|}}}
 +
|component9 = {{{ccomponent9|}}}
 +
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 +
|nocat= {{{nocat|}}}
 +
}}  
 +
|}}{{#ifeq: {{lc:{{{rawmaterial|yes}}} }}|yes|
 +
{{componentbox
 +
|type = r
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{{rmass|}}}
 +
|volume = {{{rvolume|}}}
 +
|integrity= {{{rintegrity|}}}
 +
|dropprob = {{{dropprob|}}}
 +
|materialefficiency = {{{rmaterialefficiency|}}}
 +
|refinespeed = {{{rrefinespeed|}}}
 +
|component1 = {{{ccomponent1|}}}
 +
|component1amt = {{{ccomponent1amt|}}}
 +
|component2 = {{{ccomponent2|}}}
 +
|component2amt = {{{ccomponent2amt|}}}
 +
|component3 = {{{ccomponent3|}}}
 +
|component3amt = {{{ccomponent3amt|}}}
 +
|component4 = {{{ccomponent4|}}}
 +
|component4amt = {{{ccomponent4amt|}}}
 +
|component5 = {{{ccomponent5|}}}
 +
|component5amt = {{{ccomponent5amt|}}}
 +
|component6 = {{{ccomponent6|}}}
 +
|component6amt = {{{ccomponent6amt|}}}
 +
|component7 = {{{ccomponent7|}}}
 +
|component7amt = {{{ccomponent7amt|}}}
 +
|component8 = {{{ccomponent8|}}}
 +
|component8amt = {{{ccomponent8amt|}}}
 +
|component9 = {{{ccomponent9|}}}
 +
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 +
|nocat= {{{nocat|}}}
 +
}}
 +
|}}{{#ifeq: {{lc:{{{material|yes}}} }}|yes|
 +
{{componentbox
 +
|type = m
 +
|item = {{{item|No Image}}}
 +
|lang = {{{lang|}}}
 +
|translation = {{{translation|}}}
 +
|mass = {{{mmass|}}}
 +
|volume = {{{mvolume|}}}
 +
|materialefficiency = {{{mmaterialefficiency|}}}
 +
|refinespeed = {{{mrefinespeed|}}}
 +
|refinefrom = {{{refinefrom|}}}
 +
|nocat= {{{nocat|}}}
 +
}}  
 +
|}} }}</div><noinclude>
 +
 
 +
==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 deprecated. Mass is now automatically calculated!
 +
 
 +
NOTE: sintegrity and lintegrity have been deprecated. Integrity is now automatically calculated for large and small blocks (not components)
 +
<pre>
 +
{{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)
 +
| guivisible = false / true defaults to true set the page to disabled, for all block are in .sbc file as guivisible = false blocks are temporary not visible, then the block is not displayed in lists.
 +
| disabledsince = [[version]] if "guivisible = false" then a version should be specified, since when it is disabled.
 +
| 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
 +
| mmaterialefficiency = 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
 +
| cgascapacity = max gas capacity (for oxygen and hydrogen bottles)
 +
| 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
 +
| rmaterialefficiency = 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 (power producers) as described in "resourcedistributiongroups.sbc"
 +
| sresourcesinkgroup = the resource group (power users) as described in "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
 +
| sforcemagnitude = Max Thrust Force
 +
| sgascapacity = max gas capacity (for oxygen and hydrogen)
 +
| sairtightness = This ONLY works with: "yes", "sometimes" anything else will have it default to "No". This includes "YES", "Yes", "true", "Sometimes" and etc - only use 'yes' or 'sometimes' in lowercase.
 +
| spartof = the related block that usually comes pre-attached to this block (piston&piston base,rotor&rotor plate)
 +
| sheight = height of block
 +
| swidth = width of block
 +
| sdepth = depth of block
 +
| spcu = PCU cost of block
 +
| sfuelconverterefficiency = MW to m<sup>3</sup> conversion efficiency. (So far only hydrogen thrusters use this)
 +
 
 +
| 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 (power producers) as described in "resourcedistributiongroups.sbc"
 +
| lresourcesinkgroup = the resource group (power users) 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
 +
| lforcemagnitude = Max Thrust Force
 +
| lgascapacity = max gas capacity (for oxygen and hydrogen)
 +
| lairtightness = This ONLY works with: "yes", "sometimes" anything else will have it default to "No". This includes "YES", "Yes", "true", "Sometimes" and etc - only use 'yes' or 'sometimes' in lowercase.
 +
| lpartof = the related block that usually comes pre-attached to this block (piston&piston base,rotor&rotor plate)
 +
| lheight = height of block
 +
| lwidth = width of block
 +
| ldepth = depth of block
 +
| lpcu = PCU cost of block
 +
| lfuelconverterefficiency = MW to m<sup>3</sup> conversion efficiency. (So far only hydrogen thrusters use this)
 +
 
 +
 
 +
| 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.
 +
}}
 +
</pre>[[Category:Templates]]</noinclude>

Latest revision as of 17:16, 21 September 2021

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

 

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

 

 
 
Mass (kg):
0
 
Integrity:
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):

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 deprecated. Mass is now automatically calculated!

NOTE: sintegrity and lintegrity have been deprecated. Integrity is now automatically calculated for large and small blocks (not components)

{{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)
| guivisible = false / true defaults to true set the page to disabled, for all block are in .sbc file as guivisible = false blocks are temporary not visible, then the block is not displayed in lists.
| disabledsince = [[version]] if "guivisible = false" then a version should be specified, since when it is disabled.
| 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
| mmaterialefficiency = 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
| cgascapacity = max gas capacity (for oxygen and hydrogen bottles) 
| 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
| rmaterialefficiency = 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 (power producers) as described in "resourcedistributiongroups.sbc"
| sresourcesinkgroup = the resource group (power users) as described in "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
| sforcemagnitude = Max Thrust Force
| sgascapacity = max gas capacity (for oxygen and hydrogen)
| sairtightness = This ONLY works with: "yes", "sometimes" anything else will have it default to "No". This includes "YES", "Yes", "true", "Sometimes" and etc - only use 'yes' or 'sometimes' in lowercase. 
| spartof = the related block that usually comes pre-attached to this block (piston&piston base,rotor&rotor plate)
| sheight = height of block
| swidth = width of block
| sdepth = depth of block
| spcu = PCU cost of block
| sfuelconverterefficiency = MW to m<sup>3</sup> conversion efficiency. (So far only hydrogen thrusters use this)

| 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 (power producers) as described in "resourcedistributiongroups.sbc"
| lresourcesinkgroup = the resource group (power users) 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
| lforcemagnitude = Max Thrust Force
| lgascapacity = max gas capacity (for oxygen and hydrogen)
| lairtightness = This ONLY works with: "yes", "sometimes" anything else will have it default to "No". This includes "YES", "Yes", "true", "Sometimes" and etc - only use 'yes' or 'sometimes' in lowercase. 
| lpartof = the related block that usually comes pre-attached to this block (piston&piston base,rotor&rotor plate)
| lheight = height of block
| lwidth = width of block
| ldepth = depth of block
| lpcu = PCU cost of block
| lfuelconverterefficiency = MW to m<sup>3</sup> conversion efficiency. (So far only hydrogen thrusters use this)


| 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. 
}}