Actions

Template

Editing Structurebox/doc

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Summary ==
 
== Summary ==
This template should be used for placed structures.
+
This template should be used for places structures. It will create an Infobox on the right hand side at the top of the article.
 
 
It will create an Infobox on the right hand side, at the top of the article.
 
 
It has some parameters, that are useful for documenting the most important features of a [[:Category:Structures|Structure]].
 
It has some parameters, that are useful for documenting the most important features of a [[:Category:Structures|Structure]].
  
When included, it will also add the page, it is included in, to [[:Category:Structures]].
+
== Usage ==
 
 
== Parameters ==
 
<!-- Replace this, once we have the "Parameters" Mediawiki module installed -->
 
The following, optional parameters can be supplied:
 
{| class="wikitable"
 
|-
 
! Parameter Name  !! Description
 
|-
 
| name            || The name of the structure.
 
|-
 
| image            || An image of the completely built structure.
 
|-
 
| other            || Any other remarks, that can be placed before the subsections.
 
|-
 
| power_usage      || The power required to operate the structure.
 
|-
 
| burst_pressure  || The maximum pressure the structure can withstand before breaking.
 
|-
 
| prefab_hash      || The prefab hash for the structure
 
|-
 
| prefab_name      || The prefab name for the structure
 
|-
 
| placed_with_item || The item, that is used to place the initial stage of the structure.
 
|-
 
| placed_on_grid  || The grid size, the structure is placed on. This should be either "Small Grid", "Large Grid" or "Dynamic".
 
|-
 
| stage_image1    || The image for the first construction stage.
 
|-
 
| const_with_tool1 || The tool, that the next stage is constructed with, from the first stage.
 
|-
 
| const_with_item1 || The item, that the next stage is constructed with, from the first stage.
 
|-
 
| decon_with_tool1 || The tool, that the first stage is deconstructed with.
 
|-
 
| item_rec1        || The item, that the player receives, on deconstructing the first stage.
 
|-
 
| stage_image2    || The image for the second construction stage.
 
|-
 
| const_with_tool2 || The tool, that the next stage is constructed with, from the second stage.
 
|-
 
| const_with_item2 || The item, that the next stage is constructed with, from the second stage.
 
|-
 
| decon_with_tool2 || The tool, that the second stage is deconstructed with.
 
|-
 
| item_rec2        || The item, that the player receives, on deconstructing the second stage.
 
|-
 
| stage_image3    || The image for the third construction stage.
 
|-
 
| const_with_tool3 || The tool, that the next stage is constructed with, from the third stage.
 
|-
 
| const_with_item3 || The item, that the next stage is constructed with, from the third stage.
 
|-
 
| decon_with_tool3 || The tool, that the third stage is deconstructed with.
 
|-
 
| item_rec3        || The item, that the player receives, on deconstructing the third stage.
 
|}
 
 
 
== Editing ==
 
 
 
Most of the template can be edited on the [[Template:Structurebox]] page.
 
 
 
The stage sections need to be edited on the [[Template:Construction stage]] page.
 
 
 
== Blank ==
 
This is the blank template code, that can be copy-pasted into a page to use it there.
 
<pre style="overflow: auto;" pad="yes">{{Structurebox
 
| name            =
 
| image            =
 
| other            =
 
| power_usage      =
 
| burst_pressure  =
 
| prefab_hash      =
 
| prefab_name      =
 
| placed_with_item =
 
| placed_on_grid  =
 
| stage_image1    =
 
| const_with_tool1 =
 
| const_with_item1 =
 
| decon_with_tool1 =
 
| item_rec1        =
 
| stage_image2    =
 
| const_with_tool2 =
 
| const_with_item2 =
 
| decon_with_tool2 =
 
| item_rec2        =
 
| stage_image3    =
 
| const_with_tool3 =
 
| const_with_item3 =
 
| decon_with_tool3 =
 
| item_rec3        =
 
}}</pre>
 
  
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>{{sandbox other||
+
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
  
 
}}</includeonly>
 
}}</includeonly>

Please note that all contributions to Unofficial Stationeers Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Unofficial Stationeers Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)