Actions

Template

Difference between revisions of "Construction stage"

From Unofficial Stationeers Wiki

(Add the decat and child parameters to the Infobox template call)
(Fix the column number, Make the headers subheaders)
Line 1: Line 1:
 
{{Infobox | decat = yes | child = yes
 
{{Infobox | decat = yes | child = yes
  | title   = Stage {{{number|}}}
+
  | title       = Stage {{{number|}}}
  | image   = {{{image|}}}
+
  | image       = {{{image|}}}
  
  | header1  = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | Construction }}
+
  | subheader10 = {{ #if: {{{const_with_tool|}}}{{{const_with_item|}}} | 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 }}
+
  | subheader20 = {{ #if: {{{decon_with_tool|}}}{{{item_rec|}}} | Deconstruction }}
  |  label21 = Deconstructed with
+
  |  label21   = Deconstructed with
  |  data21 = {{{decon_with_tool|}}}
+
  |  data21     = {{{decon_with_tool|}}}
  |  label22 = Item received
+
  |  label22   = Item received
  |  data22 = {{{item_rec|}}}
+
  |  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 12:53, 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        = 
}}