Difference between revisions of "Template:Itembox"

From Space Engineers Wiki
Jump to: navigation, search
m (I highlighted the file names)
 
(57 intermediate revisions by 9 users not shown)
Line 3: Line 3:
 
{{#if: {{{translation|}}}|{{#set:translation={{{translation|}}} }}|}}
 
{{#if: {{{translation|}}}|{{#set:translation={{{translation|}}} }}|}}
 
{{#if: {{{description|}}}|{{#set:description={{{description|}}} }}|}}
 
{{#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: {{{cmass|}}}|{{#set:cmass={{{cmass|}}} }}|}}
 
{{#if: {{{tmass|}}}|{{#set:tmass={{{tmass|}}} }}|}}
 
{{#if: {{{tmass|}}}|{{#set:tmass={{{tmass|}}} }}|}}
Line 11: Line 15:
 
{{#if: {{{rvolume|}}}|{{#set:rvolume={{{rvolume|}}} }}|}}
 
{{#if: {{{rvolume|}}}|{{#set:rvolume={{{rvolume|}}} }}|}}
 
{{#if: {{{mvolume|}}}|{{#set:mvolume={{{mvolume|}}} }}|}}
 
{{#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: {{{ccomponent1|}}}|{{#set:ccomponent1={{{ccomponent1|}}} }}|}}
 
{{#if: {{{lcomponent1|}}}|{{#set:lcomponent1={{{lcomponent1|}}} }}|}}
 
{{#if: {{{lcomponent1|}}}|{{#set:lcomponent1={{{lcomponent1|}}} }}|}}
Line 65: Line 108:
 
{{#if: {{{lcomponent9amt|}}}|{{#set:lcomponent9amt={{{lcomponent9amt|}}} }}|}}
 
{{#if: {{{lcomponent9amt|}}}|{{#set:lcomponent9amt={{{lcomponent9amt|}}} }}|}}
 
{{#if: {{{scomponent9amt|}}}|{{#set:scomponent9amt={{{scomponent9amt|}}} }}|}}
 
{{#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: {{{lheight|}}}|{{#set:lheight={{{lheight|}}} }}|}}
 
{{#if: {{{sheight|}}}|{{#set:sheight={{{sheight|}}} }}|}}
 
{{#if: {{{sheight|}}}|{{#set:sheight={{{sheight|}}} }}|}}
{{#if: {{{lwidth|}}}|{{#set:lwidth={{{lwidth|}}} }}|}}
 
{{#if: {{{swidth|}}}|{{#set:swidth={{{swidth|}}} }}|}}
 
 
{{#if: {{{ldepth|}}}|{{#set:ldepth={{{ldepth|}}} }}|}}
 
{{#if: {{{ldepth|}}}|{{#set:ldepth={{{ldepth|}}} }}|}}
 
{{#if: {{{sdepth|}}}|{{#set:sdepth={{{sdepth|}}} }}|}}
 
{{#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>
 
<!--Version Control-->{{#if: {{NAMESPACE}} | | {{#ifeq: {{#show: {{removelc|{{FULLPAGENAME}}}} | ?version}} | {{#show: {{FULLPAGENAME}} | ?version}} | | {{Notice|{{Notice/OutofDateMsg{{lang}}}}}}}} }}</includeonly>
<div style="width:370px;float:right">{{#ifeq: {{lc:{{{largeship|yes}}} }}|yes|
+
<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|
 
{{componentbox
 
{{componentbox
 
|type = l
 
|type = l
Line 80: Line 146:
 
|translation = {{{translation|}}}
 
|translation = {{{translation|}}}
 
|mass = {{calculate mass|l|{{FULLPAGENAME}}}}
 
|mass = {{calculate mass|l|{{FULLPAGENAME}}}}
|integrity = {{{integrity|}}}
+
|integrity = {{calculate integrity|l|{{FULLPAGENAME}}}}
 
|dropprob = {{{dropprob|}}}
 
|dropprob = {{{dropprob|}}}
 
|buildtime = {{{lbuildtime|}}}
 
|buildtime = {{{lbuildtime|}}}
 
|disassembleratio= {{{ldisassembleratio|}}}
 
|disassembleratio= {{{ldisassembleratio|}}}
 
|deformationratio = {{{ldeformationratio|}}}
 
|deformationratio = {{{ldeformationratio|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{lmaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{lrefinespeed|}}}
 +
|resourcesourcegroup = {{{lresourcesourcegroup|}}}
 +
|resourcesinkgroup = {{{lresourcesinkgroup|}}}
 
|powerconsumption = {{{lpowerconsumption|}}}
 
|powerconsumption = {{{lpowerconsumption|}}}
 
|powerstandby = {{{lpowerstandby|}}}
 
|powerstandby = {{{lpowerstandby|}}}
Line 93: Line 161:
 
|virtualmass = {{{lvirtualmass|}}}
 
|virtualmass = {{{lvirtualmass|}}}
 
|forcemagnitude = {{{lforcemagnitude|}}}
 
|forcemagnitude = {{{lforcemagnitude|}}}
 +
|storagecapacity = {{{lstoragecapacity|}}}
 +
|maxstoredenergy = {{{lmaxstoredenergy|}}}
 +
|gascapacity = {{{lgascapacity|}}}
 +
|airtightness = {{{lairtightness|}}}
 +
|ROF = {{{lROF|}}}
 +
|shotdeviation = {{{lshotdeviation|}}}
 +
|ammo = {{{lammo|}}}
 +
|partof = {{{lpartof|}}}
 
|component1 = {{{lcomponent1|}}}
 
|component1 = {{{lcomponent1|}}}
 
|component1amt = {{{lcomponent1amt|}}}
 
|component1amt = {{{lcomponent1amt|}}}
Line 111: Line 187:
 
|component9 = {{{lcomponent9|}}}
 
|component9 = {{{lcomponent9|}}}
 
|component9amt = {{{lcomponent9amt|}}}
 
|component9amt = {{{lcomponent9amt|}}}
 +
|component10 = {{{lcomponent10|}}}
 +
|component10amt = {{{lcomponent10amt|}}}
 
|structure = {{{lcomponentstructure}}}
 
|structure = {{{lcomponentstructure}}}
 +
|property = {{{lcomponentproperty}}}
 +
|width = {{{lwidth|}}}
 
|height = {{{lheight|}}}
 
|height = {{{lheight|}}}
|width = {{{lwidth|}}}
 
 
|depth = {{{ldepth|}}}
 
|depth = {{{ldepth|}}}
 +
|pcu = {{{lpcu|}}}
 +
|fuelconverterefficiency = {{{lfuelconverterefficiency|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
}}  {{#set:lmass={{calculate mass|l|{{FULLPAGENAME}} }} }}  
+
}}  {{#set:lmass={{calculate mass|l|{{FULLPAGENAME}} }} }}
 +
{{#set:lintegrity={{calculate integrity|l|{{FULLPAGENAME}} }} }}
 
|}}{{#ifeq: {{lc:{{{smallship|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{smallship|yes}}} }}|yes|
 
{{componentbox
 
{{componentbox
Line 124: Line 206:
 
|translation = {{{translation|}}}
 
|translation = {{{translation|}}}
 
|mass = {{calculate mass|s|{{FULLPAGENAME}}}}
 
|mass = {{calculate mass|s|{{FULLPAGENAME}}}}
|integrity= {{{integrity|}}}
+
|integrity= {{calculate integrity|s|{{FULLPAGENAME}}}}
 
|dropprob = {{{dropprob|}}}
 
|dropprob = {{{dropprob|}}}
 
|buildtime = {{{sbuildtime|}}}
 
|buildtime = {{{sbuildtime|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{smaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{srefinespeed|}}}
 
|disassembleratio = {{{sdisassembleratio|}}}
 
|disassembleratio = {{{sdisassembleratio|}}}
 
|deformationratio = {{{sdeformationratio|}}}
 
|deformationratio = {{{sdeformationratio|}}}
 +
|resourcesourcegroup = {{{sresourcesourcegroup|}}}
 +
|resourcesinkgroup = {{{sresourcesinkgroup|}}}
 
|powerconsumption = {{{spowerconsumption|}}}
 
|powerconsumption = {{{spowerconsumption|}}}
 
|powerstandby = {{{spowerstandby|}}}
 
|powerstandby = {{{spowerstandby|}}}
Line 137: Line 221:
 
|forcemagnitude = {{{sforcemagnitude|}}}
 
|forcemagnitude = {{{sforcemagnitude|}}}
 
|virtualmass = {{{svirtualmass|}}}
 
|virtualmass = {{{svirtualmass|}}}
 +
|storagecapacity = {{{sstoragecapacity|}}}
 +
|maxstoredenergy = {{{smaxstoredenergy|}}}
 +
|gascapacity = {{{sgascapacity|}}}
 +
|airtightness = {{{sairtightness|}}}
 +
|ROF = {{{sROF|}}}
 +
|shotdeviation = {{{sshotdeviation|}}}
 +
|ammo = {{{sammo|}}}
 +
|partof = {{{spartof|}}}
 
|component1 = {{{scomponent1|}}}
 
|component1 = {{{scomponent1|}}}
 
|component1amt = {{{scomponent1amt|}}}
 
|component1amt = {{{scomponent1amt|}}}
Line 155: Line 247:
 
|component9 = {{{scomponent9|}}}
 
|component9 = {{{scomponent9|}}}
 
|component9amt = {{{scomponent9amt|}}}
 
|component9amt = {{{scomponent9amt|}}}
 +
|component10 = {{{scomponent10|}}}
 +
|component10amt = {{{scomponent10amt|}}}
 
|structure = {{{scomponentstructure}}}  
 
|structure = {{{scomponentstructure}}}  
 +
|property = {{{scomponentproperty}}}
 +
|width = {{{swidth|}}}
 
|height = {{{sheight|}}}
 
|height = {{{sheight|}}}
|width = {{{swidth|}}}
 
 
|depth = {{{sdepth|}}}
 
|depth = {{{sdepth|}}}
 +
|pcu = {{{spcu|}}}
 +
|fuelconverterefficiency = {{{sfuelconverterefficiency|}}}
 
|nocat = {{{nocat|}}}
 
|nocat = {{{nocat|}}}
 
}} {{#set:smass={{calculate mass|s|{{FULLPAGENAME}}}}}}
 
}} {{#set:smass={{calculate mass|s|{{FULLPAGENAME}}}}}}
 +
{{#set:sintegrity={{calculate integrity|s|{{FULLPAGENAME}} }} }}
 
|}}{{#ifeq: {{lc:{{{component|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{component|yes}}} }}|yes|
 
{{componentbox
 
{{componentbox
Line 169: Line 267:
 
|mass = {{{cmass|}}}
 
|mass = {{{cmass|}}}
 
|volume = {{{cvolume|}}}
 
|volume = {{{cvolume|}}}
|integrity= {{{integrity|}}}
+
|integrity= {{{cintegrity|}}}
 
|dropprob = {{{dropprob|}}}
 
|dropprob = {{{dropprob|}}}
 
|buildtime = {{{cbuildtime|}}}
 
|buildtime = {{{cbuildtime|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{cmaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{crefinespeed|}}}
|capacity = {{{capacity|}}}
+
|capacity = {{{ccapacity|}}}
 
|component1 = {{{ccomponent1|}}}
 
|component1 = {{{ccomponent1|}}}
 
|component1amt = {{{ccomponent1amt|}}}
 
|component1amt = {{{ccomponent1amt|}}}
Line 193: Line 291:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
 
 
|}}{{#ifeq: {{lc:{{{tool|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{tool|yes}}} }}|yes|
 
{{componentbox
 
{{componentbox
Line 204: Line 303:
 
|mass = {{{tmass|}}}
 
|mass = {{{tmass|}}}
 
|volume = {{{tvolume|}}}
 
|volume = {{{tvolume|}}}
|integrity= {{{integrity|}}}
+
|gascapacity = {{{tgascapacity|}}}
 +
|integrity= {{{tintegrity|}}}
 
|dropprob = {{{dropprob|}}}
 
|dropprob = {{{dropprob|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{tmaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{trefinespeed|}}}
 +
|ROF = {{{tROF|}}}
 +
|shotdeviation = {{{tshotdeviation|}}}
 +
|ammo = {{{tammo|}}}
 +
|speedmult = {{{tspeedmult|}}}
 +
|reachmult = {{{treachmult|}}}
 
|buildtime = {{{cbuildtime|}}}
 
|buildtime = {{{cbuildtime|}}}
 
|component1 = {{{ccomponent1|}}}
 
|component1 = {{{ccomponent1|}}}
Line 227: Line 332:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
 
 
|}}{{#ifeq: {{lc:{{{rawmaterial|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{rawmaterial|yes}}} }}|yes|
 
{{componentbox
 
{{componentbox
Line 238: Line 344:
 
|mass = {{{rmass|}}}
 
|mass = {{{rmass|}}}
 
|volume = {{{rvolume|}}}
 
|volume = {{{rvolume|}}}
|integrity= {{{integrity|}}}
+
|integrity= {{{rintegrity|}}}
 
|dropprob = {{{dropprob|}}}
 
|dropprob = {{{dropprob|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{rmaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{rrefinespeed|}}}
 
|component1 = {{{ccomponent1|}}}
 
|component1 = {{{ccomponent1|}}}
 
|component1amt = {{{ccomponent1amt|}}}
 
|component1amt = {{{ccomponent1amt|}}}
Line 260: Line 366:
 
|component9 = {{{ccomponent9|}}}
 
|component9 = {{{ccomponent9|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 
|component9amt = {{{ccomponent9amt|}}}
 +
|component10 = {{{ccomponent10|}}}
 +
|component10amt = {{{ccomponent10amt|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}
 
}}
 
 
|}}{{#ifeq: {{lc:{{{material|yes}}} }}|yes|
 
|}}{{#ifeq: {{lc:{{{material|yes}}} }}|yes|
 
{{componentbox
 
{{componentbox
Line 271: Line 378:
 
|mass = {{{mmass|}}}
 
|mass = {{{mmass|}}}
 
|volume = {{{mvolume|}}}
 
|volume = {{{mvolume|}}}
|materialefficiency = {{{materialefficiency|}}}
+
|materialefficiency = {{{mmaterialefficiency|}}}
|refinespeed = {{{refinespeed|}}}
+
|refinespeed = {{{mrefinespeed|}}}
 
|refinefrom = {{{refinefrom|}}}
 
|refinefrom = {{{refinefrom|}}}
 
|nocat= {{{nocat|}}}
 
|nocat= {{{nocat|}}}
 
}}  
 
}}  
 +
|}} }}</div><noinclude>
  
|}}</div><noinclude>
 
Itembox template
 
 
==Usage==
 
==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: 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>
 
<pre>
NOTE smass and lmass have been depreciated. Mass is now automatically calculated!
 
 
{{itembox
 
{{itembox
 
| item = Item name, use caps on each part, English only
 
| item = Item name, use caps on each part, English only
 
| description = item description, can be translated.  
 
| description = item description, can be translated.  
 
| lang = language code override defaults to language of page used on (not implemented yet)
 
| 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
 
| translation = translated item name
 
| tool = yes/no (engineer tool?)
 
| tool = yes/no (engineer tool?)
Line 297: Line 408:
 
| integrity = part integrity, refer to .sbc definition file
 
| integrity = part integrity, refer to .sbc definition file
 
| dropprob = drop probability, refer to .sbc definition file
 
| dropprob = drop probability, refer to .sbc definition file
| materialefficiency = material efficiency, refer to .sbc definition file
+
| mmaterialefficiency = material efficiency, refer to .sbc definition file
 
| refinespeed = refining speed, refer to .sbc definition file
 
| refinespeed = refining speed, refer to .sbc definition file
 
| capacity = ammo capacity
 
| capacity = ammo capacity
  
| cmass = mass of one object in kg  
+
| cmass = mass of one component in kg  
| cvolume = volume of one object in l  
+
| cvolume = volume of one component in l
| tmass = mass of one object in kg  
+
| cgascapacity = max gas capacity (for oxygen and hydrogen bottles)
| tvolume = volume of one object in l  
+
| tmass = mass of one tool in kg  
| rmass = mass of one object in kg  
+
| tvolume = volume of one tool in l  
| rvolume = volume of one object in l  
+
| rmass = mass of one raw material in kg  
| mmass = mass of one object in kg  
+
| rvolume = volume of one raw material in l  
| mvolume = volume of one object 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
 
| refinetime = time it takes to refine, get this from the data files
| refineefficiecy = percent converted to ingots
+
| rmaterialefficiency = percent converted to ingots
  
 
| cbuildtime = build time in seconds, refer to blueprints.sbc file
 
| cbuildtime = build time in seconds, refer to blueprints.sbc file
| ccomponent1 = First build component for component/tool
+
| ccomponent1 = First build material for component/tool
 
| ccomponent1amt = amount
 
| ccomponent1amt = amount
| ccomponent2 ... 9 = Second through ninth build components
+
| ccomponent2 ... 10 = Second through tenth build materials
| ccomponent2 ... 9amt = amount
+
| 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
 
| spowerconsumption = power consumed when working, small ship
 
| spowerstandby = power consumed when idle, small ship
 
| spowerstandby = power consumed when idle, small ship
Line 324: Line 438:
 
| 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.
 +
| 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
 
| sheight = height of block
 
| swidth = width of block
 
| swidth = width of block
 
| sdepth = depth 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)
 
| 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
 
| scomponent1 = First build component for small ships
 
| scomponent1amt = 1 First build component for small ships
 
| scomponent1amt = 1 First build component for small ships
| scomponent2 ... 9 = Second through ninth build components
+
| scomponent2 ... 10 = Second through tenth build components
| scomponent2 ... amt = amount
+
| 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
 
| lpowerconsumption = power consumed when working, large ship
 
| lpowerstandby = power consumed when idle, large ship
 
| lpowerstandby = power consumed when idle, large ship
Line 341: Line 466:
 
| 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.
 +
| 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
 
| lheight = height of block
 
| lwidth = width of block
 
| lwidth = width of block
 
| ldepth = depth 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)
 
| 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
 
| lcomponent1 = First build component for large ships
 
| lcomponent1amt = amount
 
| lcomponent1amt = amount
| lcomponent2 ... 9 = Second through ninth build components
+
| lcomponent2 ... 10 = Second through tenth build components
| lcomponent2 ... 9amt = amount
+
| lcomponent2 ... 10amt = amount
  
 
| refinefrom = <ore item> Item this item refines from.  
 
| refinefrom = <ore item> Item this item refines from.  

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