Actions

Template

Difference between revisions of "Construction stage"

From Unofficial Stationeers Wiki

(Create the Construction stage template)
 
(Change the headers to data rows)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
{{Infobox | decat = yes | child = yes
 
  | title    = Stage {{{number|}}}
 
  | title    = Stage {{{number|}}}
  | image    = {{{image|}}}
+
  | image1  = {{{image|}}}
  
  | header1  = {{ #if: {{{constwith|}}} | Construction }}
+
  | data10  = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Next Stage Construction }}
  |  label1 = Constructed with
+
  |  label11 = Constructed with tool
  |  data1  = {{{constwith|}}}
+
|  data11 = {{{const_with_tool|}}}
 +
|  label12 = Constructed with item
 +
  |  data12  = {{{const_with_item|}}}
  
  | header2  = {{ #if: {{{dectool|}}} | Deconstruction }}
+
  | data20  = {{ #if: {{{decon_with_tool|}}}{{{item_rec|}}} | Deconstruction }}
 
  |  label21 = Deconstructed with
 
  |  label21 = Deconstructed with
  |  data21  = {{{dectool|}}}
+
  |  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>

Latest revision as of 12:20, 1 July 2018

Stage

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

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]

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[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        = 
}}