Difference between revisions of "Construction stage"
From Unofficial Stationeers Wiki
F1r3w4rr10r (talk | contribs) (Create the Construction stage template) |
F1r3w4rr10r (talk | contribs) (Rename the parameters to snake case and add item parameters) |
||
Line 3: | Line 3: | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
− | | header1 = {{ #if: {{{ | + | | header1 = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Construction }} |
− | | label1 = Constructed with | + | | label1 = Constructed with tool |
− | | data1 = {{{ | + | | data1 = {{{const_with_tool|}}} |
+ | | label2 = Constructed with item | ||
+ | | data2 = {{{const_with_item|}}} | ||
− | | header2 = {{ #if: {{{ | + | | header2 = {{ #if: {{{decon_with_tool|}}}{{{item_rec|}}} | Deconstruction }} |
| label21 = Deconstructed with | | label21 = Deconstructed with | ||
− | | data21 = {{{ | + | | data21 = {{{decon_with_tool|}}} |
+ | | label22 = Item received | ||
+ | | data22 = {{{item_rec|}}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{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> |
Revision as of 10:54, 1 July 2018
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
The following, optional parameters can be supplied:
Parameter Name | Description |
---|---|
number | The stage number, that will be used in the title of the box. |
image | An image of the build stage. |
const_with_tool | The tool, that the next stage is constructed with. |
const_with_item | The item, that the next stage is constructed with. |
decon_with_tool | The tool, that the stage is deconstructed with. |
item_rec | The item, that the player receives, on stage deconstruction. |
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 = }}
The above documentation is transcluded from Template:Construction stage/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |