Actions

Template

Difference between revisions of "Construction stage/doc"

From Unofficial Stationeers Wiki

< Template:Construction stage
(Add example section for autolathe build stage 1)
(Fix example section)
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
{{Structurebox
 +
| name            = Example
 +
| placed_with_item = 1x [[Kit (Autolathe)]]
 +
| placed_on_grid  = Small Grid
 +
| stage_image1    = [[File:StructureAutolathe BuildState0.png|Autolathe build state 0]]
 +
| const_with_tool1 = [[Welding Torch]]
 +
| const_with_item1 = 2x [[Iron Sheets]]
 +
| decon_with_tool1 = [[Wrench]]
 +
| item_rec2        = 1x [[Kit (Autolathe)]]
 +
| stage_image2    = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
 +
| const_with_item2 = 4x [[Cable Coil]]
 +
| decon_with_tool2 = [[Angle Grinder]]
 +
| item_rec2        = 2x [[Iron Sheets]]
 +
}}
 
== Summary ==
 
== Summary ==
 
This template is meant to be used as a child template in the [[Template:Structurebox]].
 
This template is meant to be used as a child template in the [[Template:Structurebox]].
Line 53: Line 67:
  
 
== Example ==
 
== Example ==
{{Construction stage
+
The structurebox on the right side is obtained with the following code:
| number          = 1
+
 
| image          = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
+
<pre>{{Structurebox
| const_with_tool = [[Welding Torch]]
+
| name            = Example
| const_with_item = 2x [[Iron Sheets]]
+
| placed_with_item = 1x [[Kit (Autolathe)]]
| decon_with_tool = [[Angle Grinder]]
+
| placed_on_grid  = Small Grid
| item_rec       = 2x [[Iron Sheets]]
+
| stage_image1    = [[File:StructureAutolathe BuildState0.png|Autolathe build state 0]]
}}
+
| const_with_tool1 = [[Welding Torch]]
<pre>{{Construction stage
+
| const_with_item1 = 2x [[Iron Sheets]]
| number          = 1
+
| decon_with_tool1 = [[Wrench]]
| image          = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
+
| item_rec2       = 1x [[Kit (Autolathe)]]
| const_with_tool = [[Welding Torch]]
+
| stage_image2    = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
| const_with_item = 2x [[Iron Sheets]]
+
| const_with_item2 = 4x [[Cable Coil]]
| decon_with_tool = [[Angle Grinder]]
+
| decon_with_tool2 = [[Angle Grinder]]
| item_rec       = 2x [[Iron Sheets]]
+
| item_rec2       = 2x [[Iron Sheets]]
 
}}</pre>
 
}}</pre>
 +
  
 
== Blank ==
 
== Blank ==

Latest revision as of 11:03, 26 November 2025

Example
Operation
Construction
Placed with 1x Kit (Autolathe)
Placed on Small Grid
Stage 1
Autolathe build state 0
Next Stage Construction
Constructed with tool Welding Torch
Constructed with item 2x Iron Sheets
Deconstruction
Deconstructed with Wrench
Stage 2
Autolathe build state 1
Next Stage Construction
Constructed with item 4x Cable Coil
Deconstruction
Deconstructed with Angle Grinder
Item received 2x Iron Sheets

Summary[edit]

This template is meant to be used as a child template in the Template:Structurebox.

One instance can be used to represent a build stage of a Structure.

Parameters[edit]

Parameter regarding a construction stage of a structure.

Template parameters

ParameterDescriptionTypeStatus
Stage numbernumber

The stage number

Default
empty
Example
1, 2, ...
Auto value
empty
Numberrequired
Imageimage

Image of this stage

Default
empty
Example
empty
Auto value
empty
Fileoptional
Toolconst_with_tool

Stage constructed with this tool

Default
empty
Example
[[Wrench]]
Auto value
empty
Pageoptional
Itemconst_with_item

Item required for this stage

Default
empty
Example
2x [[Cable Coil]]
Auto value
empty
Pageoptional
Deconstruction tooldecon_with_tool

Tool to deconstruct this stage

Default
empty
Example
[[Hand Drill]]
Auto value
empty
Pageoptional
Deconstruction itemitem_rec

Item received when deconstructing this stage

Default
empty
Example
2x [[Plastic Sheet]]
Auto value
empty
Pageoptional

Example[edit]

The structurebox on the right side is obtained with the following code:

{{Structurebox
| name             = Example
| placed_with_item = 1x [[Kit (Autolathe)]]
| placed_on_grid   = Small Grid
| stage_image1     = [[File:StructureAutolathe BuildState0.png|Autolathe build state 0]]
| const_with_tool1 = [[Welding Torch]]
| const_with_item1 = 2x [[Iron Sheets]]
| decon_with_tool1 = [[Wrench]]
| item_rec2        = 1x [[Kit (Autolathe)]]
| stage_image2     = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
| const_with_item2 = 4x [[Cable Coil]]
| decon_with_tool2 = [[Angle Grinder]]
| item_rec2        = 2x [[Iron Sheets]]
}}


Blank[edit]

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

{{Construction stage
| number          = 
| image           = 
| const_with_tool = 
| const_with_item = 
| decon_with_tool = 
| item_rec        = 
}}