Actions

Template

Difference between revisions of "Structurebox"

From Unofficial Stationeers Wiki

m (Adjusted numbering to accommodate start from 0. Maybe slots are the same on all items and this should be under MIPS instead?)
(adding parameters volume|convection|radiation|solar_heating|rocket_mass_contribution)
 
(15 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Infobox
 
  | name    = Structurebox
 
  | name    = Structurebox
  
Line 5: Line 5:
 
  | image1  = {{{image|}}}
 
  | image1  = {{{image|}}}
 
  | data2    = {{{other|}}}
 
  | data2    = {{{other|}}}
 +
| label4 = Paintable
 +
| data4  = {{{paintable|}}}
 +
| label5 = Constructable in Rockets
 +
| data5  = {{{constructable_in_rockets|}}}
 +
| label6 = Rocket Mass Contribution
 +
| data6  = {{{rocket_mass_contribution|}}}
  
  | header10 = {{ #if: {{{power_usage|}}}{{{burst_pressure|}}} | Operation }}
+
  | header10 = {{ #if: {{{power_usage|}}}{{{burst_pressure|volume|convection|radiation|solar_heating}}} | Operation }}
  | label11 = Power Usage
+
  | label11 = Power Usage
  | data11  = {{{power_usage|}}}
+
  | data11  = {{{power_usage|}}}
  | label12 = Burst Pressure
+
  | label12 = Burst Pressure
  | data12  = {{{burst_pressure|}}}
+
  | data12  = {{{burst_pressure|}}}
 +
| label13 = Volume
 +
| data13  = {{{volume|}}}
 +
| label14 = Thermal Convection
 +
| data14  = {{{convection|}}}
 +
| label15 = Thermal Radiation
 +
| data15  = {{{radiation|}}}
 +
| label16 = Solar Heating
 +
| data16  = {{{solar_heating|}}}
 +
| label17 = Prefab Hash
 +
| data17 = {{#if: {{{prefab_hash|}}} | <span style="font-family: monospace;">{{{prefab_hash|}}}</span>}}
 +
| label18 = Prefab Name
 +
| data18 = {{#if: {{{prefab_name|}}} | <span style="font-family: monospace;">{{{prefab_name|}}}</span>}}
  
 
  | header20 = Construction
 
  | header20 = Construction
Line 17: Line 35:
 
  |  label22 = Placed on
 
  |  label22 = Placed on
 
  |  data22  = {{{placed_on_grid}}}
 
  |  data22  = {{{placed_on_grid}}}
 +
|  label23 = Paintable
 +
|  data23 = {{{paintable|}}}
  
 
  | header30 = {{ #if: {{{slot_1|}}}{{{slot_2|}}} | Slots }}
 
  | header30 = {{ #if: {{{slot_1|}}}{{{slot_2|}}} | Slots }}
Line 60: Line 80:
 
                 }}
 
                 }}
 
               }}
 
               }}
}}<includeonly>[[Category:Structures]]</includeonly><noinclude>
+
 
{{Documentation}}
+
| header70 = {{ #if: {{{stage_image4|}}}{{{const_with_tool4|}}}{{{const_with_item4|}}}{{{decon_with_tool4|}}}{{{item_rec4|}}}
 +
              | {{Construction stage
 +
                  | number          = 4
 +
                  | image          = {{{stage_image4|}}}
 +
                  | const_with_tool = {{{const_with_tool4|}}}
 +
                  | const_with_item = {{{const_with_item4|}}}
 +
                  | decon_with_tool = {{{decon_with_tool4|}}}
 +
                  | item_rec        = {{{item_rec4|}}}
 +
                }}
 +
              }}
 +
 
 +
| header80 = {{ #if: {{{stage_image5|}}}{{{const_with_tool5|}}}{{{const_with_item5|}}}{{{decon_with_tool5|}}}{{{item_rec5|}}}
 +
              | {{Construction stage
 +
                  | number          = 5
 +
                  | image          = {{{stage_image5|}}}
 +
                  | const_with_tool = {{{const_with_tool5|}}}
 +
                  | const_with_item = {{{const_with_item5|}}}
 +
                  | decon_with_tool = {{{decon_with_tool5|}}}
 +
                  | item_rec        = {{{item_rec5|}}}
 +
                }}
 +
              }}
 +
| header90 = {{ #if: {{{stage_image6|}}}{{{const_with_tool6|}}}{{{const_with_item6|}}}{{{decon_with_tool6|}}}{{{item_rec6|}}}
 +
              | {{Construction stage
 +
                  | number          = 6
 +
                  | image          = {{{stage_image6|}}}
 +
                  | const_with_tool = {{{const_with_tool6|}}}
 +
                  | const_with_item = {{{const_with_item6|}}}
 +
                  | decon_with_tool = {{{decon_with_tool6|}}}
 +
                  | item_rec        = {{{item_rec6|}}}
 +
                }}
 +
              }}
 +
}} [[Category:Structures]] {{ #if: {{{prefab_hash|}}} | | [[Category:Infobox without prefab data]] }} {{ #if: {{{prefab_name|}}} | | [[Category:Infobox without prefab data]] }} </includeonly>
 +
<noinclude>{{Documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 03:48, 27 November 2025

Template documentation[view] [edit] [history] [purge]

Summary[edit]

This template should be used for placed structures.

It will create an Infobox on the right hand side, at the top of the article. It has some parameters, that are useful for documenting the most important features of a Structure.

When included, it will also add the page, it is included in, to Category:Structures.

Template data[edit]

Data valid for the Structurebox template

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the structure

Default
empty
Example
Active Vent
Auto value
empty
Stringoptional
Imageimage

An image of the completely built structure.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Otherother

Any other remarks, that can be placed before the subsections.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Paintablepaintable

Whether the structure is paitable.

Default
empty
Example
Yes, No
Auto value
empty
Booleanoptional
Constructable in rocketsconstructable_in_rockets

Whether the structure can be constructed inside a rocket.

Default
empty
Example
Yes, No
Auto value
empty
Booleanoptional
Rocket Mass Contributionrocket_mass_contribution

Mass in kg added to the Rocket

Default
empty
Example
30 kg
Auto value
empty
Stringoptional
Power usagepower_usage

The power required to operate the structure.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Burst pressureburst_pressure

The maximum pressure the structure can withstand before breaking.

Default
empty
Example
empty
Auto value
empty
Stringoptional
Volumevolume

Volume of the Container.

Default
empty
Example
250L
Auto value
empty
Stringoptional
Thermal Convectionconvection

Thermal Convection Factor

Default
empty
Example
0.625
Auto value
empty
Numberoptional
Thermal Radiationradiation

Thermal Radiation Factor

Default
empty
Example
0.025
Auto value
empty
Numberoptional
Solar Heatingsolar_heating

Solar Heating Factor

Default
empty
Example
1.25
Auto value
empty
Numberoptional
Prefab Hashprefab_hash

The prefab hash for the structure

Default
empty
Example
empty
Auto value
empty
Stringoptional
Prefab nameprefab_name

The prefab name for the structure

Default
empty
Example
empty
Auto value
empty
Stringoptional
Place with itemplaced_with_item

The item that is used to place the initial stage of the structure.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Place on gridplaced_on_grid

The grid size, the structure is placed on. This should be either "Small Grid", "Large Grid" or "Dynamic".

Default
empty
Example
Small Grid, Large Grid, Dynamic
Auto value
empty
Stringoptional
Slot_0slot_0

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Slot_1slot_1

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Slot_2slot_2

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Slot_3slot_3

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Stage 1 imagestage_image1

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 1 toolconst_with_tool1

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 1 itemconst_with_item1

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 1 deconstruction tooldecon_with_tool1

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 1 deconstruction itemitem_rec1

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 2 imagestage_image2

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 2 toolconst_with_tool2

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 2 itemconst_with_item2

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 2 deconstruction tooldecon_with_tool2

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 2 deconstruction itemitem_rec2

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 3 imagestage_image3

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 3 toolconst_with_tool3

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 3 itemconst_with_item3

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 3 deconstruction tooldecon_with_tool3

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 3 deconstruction itemitem_rec3

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 4 imagestage_image4

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 4 toolconst_with_tool4

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 4 itemconst_with_item4

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 4 deconstruction tooldecon_with_tool4

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 4 deconstruction itemitem_rec4

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 5 imagestage_image5

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 5 toolconst_with_tool5

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 5 itemconst_with_item5

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 5 deconstruction tooldecon_with_tool5

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 5 deconstruction itemitem_rec5

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 6 imagestage_image6

The image for the construction stage.

Default
empty
Example
empty
Auto value
empty
Fileoptional
Stage 6 toolconst_with_tool6

The tool which the stage is constructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 6 itemconst_with_item6

The item required to construct this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 6 deconstruction tooldecon_with_tool6

The tool which this stage is deconstructed with.

Default
empty
Example
empty
Auto value
empty
Pageoptional
Stage 6 deconstruction itemitem_rec6

The item that the player receives when deconstructing this stage.

Default
empty
Example
empty
Auto value
empty
Pageoptional

Editing[edit]

Most of the template can be edited on the Template:Structurebox page.

The stage sections need to be edited on the Template:Construction stage page.

Blank[edit]

This is the blank template code, that can be copy-pasted into a page to use it there.

{{Structurebox
| name                     = 
| image                    = 
| prefab_hash              = 
| prefab_name              = 
| other                    = 
| power_usage              = 
| burst_pressure           = 
| volume                   = 
| convection               = 
| radiation                = 
| solar_heating            = 
| placed_with_item         = 
| placed_on_grid           = 
| paintable                = 
| constructable_in_rockets = 
| rocket_mass_contribution = 
| stage_image1             = 
| const_with_tool1         = 
| const_with_item1         = 
| decon_with_tool1         = 
| item_rec1                = 
| stage_image2             = 
| const_with_tool2         = 
| const_with_item2         = 
| decon_with_tool2         = 
| item_rec2                = 
| stage_image3             = 
| const_with_tool3         = 
| const_with_item3         = 
| decon_with_tool3         = 
| item_rec4                = 
| stage_image4             = 
| const_with_tool4         = 
| const_with_item4         = 
| decon_with_tool4         = 
| item_rec4                = 
| stage_image5             = 
| const_with_tool5         = 
| const_with_item5         = 
| decon_with_tool5         = 
| item_rec5                = 
| stage_image6             = 
| const_with_tool6         = 
| const_with_item6         = 
| decon_with_tool6         = 
| item_rec6                = 
}}