Actions

Template

Difference between revisions of "Construction stage"

From Unofficial Stationeers Wiki

(Add the decat and child parameters to the Infobox template call)
(Change the headers to data rows)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox | decat = yes | child = yes
 
{{Infobox | decat = yes | child = yes
 
  | title    = Stage {{{number|}}}
 
  | title    = Stage {{{number|}}}
  | image    = {{{image|}}}
+
  | image1  = {{{image|}}}
  
  | header1  = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Construction }}
+
  | data10  = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Next Stage Construction }}
  |  label1  = Constructed with tool
+
  |  label11 = Constructed with tool
  |  data1  = {{{const_with_tool|}}}
+
  |  data11  = {{{const_with_tool|}}}
  |  label2  = Constructed with item
+
  |  label12 = Constructed with item
  |  data2  = {{{const_with_item|}}}
+
  |  data12  = {{{const_with_item|}}}
  
  | header2  = {{ #if: {{{decon_with_tool|}}}{{{item_rec|}}} | Deconstruction }}
+
  | data20  = {{ #if: {{{decon_with_tool|}}}{{{item_rec|}}} | Deconstruction }}
 
  |  label21 = Deconstructed with
 
  |  label21 = Deconstructed with
 
  |  data21  = {{{decon_with_tool|}}}
 
  |  data21  = {{{decon_with_tool|}}}

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