Difference between revisions of "Construction stage/doc"
From Unofficial Stationeers Wiki
< Template:Construction stage
F1r3w4rr10r (talk | contribs) (Reformat blank code) |
(Add example section for autolathe build stage 1) |
||
| Line 7: | Line 7: | ||
== Parameters == | == Parameters == | ||
| − | < | + | |
| − | + | <templatedata> | |
| − | { | + | { |
| − | + | "params": { | |
| − | + | "number": { | |
| − | + | "label": "Stage number", | |
| − | + | "description": "The stage number", | |
| − | | | + | "example": "1, 2, ...", |
| − | | image | | + | "type": "number", |
| − | | | + | "required": true |
| − | | | + | }, |
| − | | | + | "image": { |
| − | | | + | "label": "Image", |
| − | | | + | "description": "Image of this stage", |
| − | | decon_with_tool | + | "type": "wiki-file-name" |
| − | + | }, | |
| − | | item_rec | + | "const_with_tool": { |
| − | + | "label": "Tool", | |
| + | "description": "Stage constructed with this tool", | ||
| + | "example": "[[Wrench]]", | ||
| + | "type": "wiki-page-name" | ||
| + | }, | ||
| + | "const_with_item": { | ||
| + | "label": "Item", | ||
| + | "description": "Item required for this stage", | ||
| + | "example": "2x [[Cable Coil]]", | ||
| + | "type": "wiki-page-name" | ||
| + | }, | ||
| + | "decon_with_tool": { | ||
| + | "label": "Deconstruction tool", | ||
| + | "description": "Tool to deconstruct this stage", | ||
| + | "example": "[[Hand Drill]]", | ||
| + | "type": "wiki-page-name" | ||
| + | }, | ||
| + | "item_rec": { | ||
| + | "label": "Deconstruction item", | ||
| + | "description": "Item received when deconstructing this stage", | ||
| + | "example": "2x [[Plastic Sheet]]", | ||
| + | "type": "wiki-page-name" | ||
| + | } | ||
| + | }, | ||
| + | "description": "Parameter regarding a construction stage of a structure." | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | == Example == | ||
| + | {{Construction stage | ||
| + | | number = 1 | ||
| + | | image = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]] | ||
| + | | const_with_tool = [[Welding Torch]] | ||
| + | | const_with_item = 2x [[Iron Sheets]] | ||
| + | | decon_with_tool = [[Angle Grinder]] | ||
| + | | item_rec = 2x [[Iron Sheets]] | ||
| + | }} | ||
| + | <pre>{{Construction stage | ||
| + | | number = 1 | ||
| + | | image = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]] | ||
| + | | const_with_tool = [[Welding Torch]] | ||
| + | | const_with_item = 2x [[Iron Sheets]] | ||
| + | | decon_with_tool = [[Angle Grinder]] | ||
| + | | item_rec = 2x [[Iron Sheets]] | ||
| + | }}</pre> | ||
== Blank == | == Blank == | ||
Revision as of 10:42, 26 November 2025
| This is a documentation subpage for Template:Construction stage. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Summary
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
Parameter regarding a construction stage of a structure.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Stage number | number | The stage number
| Number | required |
| Image | image | Image of this stage
| File | optional |
| Tool | const_with_tool | Stage constructed with this tool
| Page | optional |
| Item | const_with_item | Item required for this stage
| Page | optional |
| Deconstruction tool | decon_with_tool | Tool to deconstruct this stage
| Page | optional |
| Deconstruction item | item_rec | Item received when deconstructing this stage
| Page | optional |
Example
Stage 1<tr><td colspan="2" style="text-align:center">
</td></tr><tr><td colspan="2" style="text-align:center">
Next Stage Construction</td></tr><tr><th scope="row">Constructed with tool</th><td>
Welding Torch</td></tr><tr><th scope="row">Constructed with item</th><td>
2x Iron Sheets</td></tr><tr><td colspan="2" style="text-align:center">
Deconstruction</td></tr><tr><th scope="row">Deconstructed with</th><td>
Angle Grinder</td></tr><tr><th scope="row">Item received</th><td>
2x Iron Sheets</td></tr>
{{Construction stage
| number = 1
| image = [[File:StructureAutolathe BuildState1.png|Autolathe build state 1]]
| const_with_tool = [[Welding Torch]]
| const_with_item = 2x [[Iron Sheets]]
| decon_with_tool = [[Angle Grinder]]
| item_rec = 2x [[Iron Sheets]]
}}
Blank
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 =
}}
