Actions

Template

Difference between revisions of "Structurebox/doc"

From Unofficial Stationeers Wiki

< Template:Structurebox
(Improve documentation: replace data table with TemplateData)
(added rocket weight contribution to the template.)
Line 41: Line 41:
 
"example": "Yes, No",
 
"example": "Yes, No",
 
"type": "boolean"
 
"type": "boolean"
 +
},
 +
"rocket_mass_contribution": {
 +
"label": "Rocket Mass Contribution",
 +
"description": "Mass in kg added to the Rocket",
 +
"example": "30 kg",
 +
"type": "string"
 
},
 
},
 
"power_usage": {
 
"power_usage": {
Line 73: Line 79:
 
"type": "string"
 
"type": "string"
 
},
 
},
 +
"slot_0": {},
 
"slot_1": {},
 
"slot_1": {},
 
"slot_2": {},
 
"slot_2": {},
"slot_0": {},
 
 
"slot_3": {},
 
"slot_3": {},
 
"stage_image1": {
 
"stage_image1": {
Line 241: Line 247:
 
This is the blank template code, that can be copy-pasted into a page to use it there.
 
This is the blank template code, that can be copy-pasted into a page to use it there.
 
<pre style="overflow: auto;" pad="yes">{{Structurebox
 
<pre style="overflow: auto;" pad="yes">{{Structurebox
| name             =  
+
| name                     =  
| image           =  
+
| image                   =  
| other           =  
+
| other                   =  
| power_usage     =  
+
| power_usage             =  
| burst_pressure   =
+
| burst_pressure           =  
| prefab_hash     =
+
| prefab_hash             =  
| prefab_name     =
+
| prefab_name             =  
| placed_with_item =  
+
| placed_with_item         =  
| placed_on_grid   =  
+
| placed_on_grid           =  
| paintable       =  
+
| paintable               =  
 
| constructable_in_rockets =  
 
| constructable_in_rockets =  
| stage_image1     =  
+
| rocket_mass_contribution =
| const_with_tool1 =  
+
| stage_image1             =  
| const_with_item1 =  
+
| const_with_tool1         =  
| decon_with_tool1 =  
+
| const_with_item1         =  
| item_rec1       =  
+
| decon_with_tool1         =  
| stage_image2     =  
+
| item_rec1               =  
| const_with_tool2 =  
+
| stage_image2             =  
| const_with_item2 =  
+
| const_with_tool2         =  
| decon_with_tool2 =  
+
| const_with_item2         =  
| item_rec2       =  
+
| decon_with_tool2         =  
| stage_image3     =  
+
| item_rec2               =  
| const_with_tool3 =  
+
| stage_image3             =  
| const_with_item3 =  
+
| const_with_tool3         =  
| decon_with_tool3 =  
+
| const_with_item3         =  
| item_rec4       =  
+
| decon_with_tool3         =  
| stage_image4     =  
+
| item_rec4               =  
| const_with_tool4 =  
+
| stage_image4             =  
| const_with_item4 =  
+
| const_with_tool4         =  
| decon_with_tool4 =  
+
| const_with_item4         =  
| item_rec4       =  
+
| decon_with_tool4         =  
| stage_image5     =  
+
| item_rec4               =  
| const_with_tool5 =  
+
| stage_image5             =  
| const_with_item5 =  
+
| const_with_tool5         =  
| decon_with_tool5 =  
+
| const_with_item5         =  
| item_rec5       =  
+
| decon_with_tool5         =  
| stage_image6     =  
+
| item_rec5               =  
| const_with_tool6 =  
+
| stage_image6             =  
| const_with_item6 =  
+
| const_with_tool6         =  
| decon_with_tool6 =  
+
| const_with_item6         =  
| item_rec6       =  
+
| decon_with_tool6         =  
 +
| item_rec6               =  
 
}}</pre>
 
}}</pre>
  

Revision as of 02:48, 27 November 2025

Summary

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

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

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

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

{{Structurebox
| name                     = 
| image                    = 
| other                    = 
| power_usage              = 
| burst_pressure           = 
| prefab_hash              = 
| prefab_name              = 
| 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                = 
}}