Actions

Template

Difference between revisions of "Construction stage"

From Unofficial Stationeers Wiki

(Create the Construction stage template)
 
(Rename the parameters to snake case and add item parameters)
Line 3: Line 3:
 
  | image    = {{{image|}}}
 
  | image    = {{{image|}}}
  
  | header1  = {{ #if: {{{constwith|}}} | Construction }}
+
  | header1  = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Construction }}
  |  label1  = Constructed with
+
  |  label1  = Constructed with tool
  |  data1  = {{{constwith|}}}
+
  |  data1  = {{{const_with_tool|}}}
 +
|  label2  = Constructed with item
 +
|  data2  = {{{const_with_item|}}}
  
  | header2  = {{ #if: {{{dectool|}}} | Deconstruction }}
+
  | header2  = {{ #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>

Revision as of 10:54, 1 July 2018

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

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