Difference between revisions of "Template:Structure"

From Salem Wiki
Jump to: navigation, search
m (Reverted edits by Pistolshrimp (talk) to last revision by PShrimpy)
Tag: Rollback
Line 11: Line 11:
 
| colspan=2 | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=None}}
 
| colspan=2 | {{#ask: [[Category:Skills]] [[Unlocks::{{PAGENAME}}]] | ?Skills | format = ul | link=none | template=i | default=None}}
 
|-
 
|-
| '''Starter Post:'''
+
| '''Size:'''
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
+
| {{#switch: {{{Size|}}} | =''unknown'' | [[Size::{{{Size}}}]] }}
|-
 
| '''Segment:'''
 
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
 
 
|-
 
|-
| '''Corner Post:'''
+
| '''Object(s) required:'''
 
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
 
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
 
|-
 
|-
| '''Gate:'''
+
| '''Needs lighting?:'''
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }}
+
| {{#switch: {{{Needs lighting?|}}} | =No | {{{Needs lighting?}}} }}
 
|}
 
|}
 
|-
 
|-
Line 28: Line 25:
 
|
 
|
 
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
 
{| style="width:100%; border:black 2px solid; background:#4c4c4c; padding-left:0.2em;"
| style="width:100px" |'''Hit points:'''
+
| style="width:100px" |'''Liftable?:'''
 +
| {{#switch: {{{Liftable?|}}} | =''No?'' | {{{Liftable?}}} }}
 +
|-
 +
|'''Hit points:'''
 
| {{#switch: {{{Hit points|}}} | =''unknown'' | [[Has health::{{{Hit points}}}]]
 
| {{#switch: {{{Hit points|}}} | =''unknown'' | [[Has health::{{{Hit points}}}]]
 
}}
 
}}
Line 35: Line 35:
 
| {{#switch: {{{Soak value|}}} | =''unknown'' | [[Has soak::{{{Soak value}}}]] }}
 
| {{#switch: {{{Soak value|}}} | =''unknown'' | [[Has soak::{{{Soak value}}}]] }}
 
|-
 
|-
|'''Repair wall:'''
+
|'''Repaired with:'''
| {{#switch: {{{Objects required|}}} | =''unknown'' | {{T4|{{{Objects required}}} }} }}
+
| {{#switch: {{{Repaired with|}}} | =''unknown'' | none='''Can't be Repaired''' | [[Repaired With::{{{Repaired with}}}]] }}
|-
 
|'''Repair gate:'''
 
| {{#switch: {{{Objects required|}}} | =''unknown'' | {{T4|{{{Objects required}}} }} }}
 
 
|}
 
|}
 
|-
 
|-
Line 102: Line 99:
 
|
 
|
 
<pre>{{Structure
 
<pre>{{Structure
| Starter Post=
+
| Size=
| Segment=
+
| Objects required=
| Corner Post=
+
| Needs lighting?=
 +
| Liftable?=
 
| Hit points=
 
| Hit points=
 
| Soak value=
 
| Soak value=
| Repair wall=
+
| Repaired with=
| Repair gate=
 
 
}}</pre>
 
}}</pre>
 
|}</noinclude>
 
|}</noinclude>

Revision as of 20:38, 12 December 2021

Unknown Item icon.png Structure
Skill(s) required: None
Size: unknown
Object(s) required: None
Needs lighting?: No
Move/Destroy:
Liftable?: No?
Hit points: unknown
Soak value: unknown
Repaired with: unknown
Required by:
Required by: None

When to use this template:

To add a new structure to the wiki (a structure is anything found in the build menu and submenus).


How to use this template:

Breakdown of parameters:

Size
List the number of tiles X x Y taken by the structure
For example: Size=3x3
Objects required
List any objects required such as materials and tools. Each object must be entered with an amount and each separate item should be separated with a comma.
For example: Objects required=Board;10, Woodblock;20, Hay;15
Needs lighting?
Enter 'Yes' if the structure requires lighting by Tinder Drill, Flint & Steel or Torch. Otherwise enter 'No' or leave blank (defaults to 'No').
For example: Needs lighting?=Yes
Liftable?
If the structure can be lifted at any time enter 'Yes'. If the structure can only be lifted when empty then enter 'Only when empty'. If the structure can never be lifted enter 'No' or leave blank (defaults to 'No').
For example: Liftable?=Only when empty
Hit points
Enter the amount of hit points the structure has. Leave blank if unknown and use the structures talk page to work with the community to figure out the hit point value.
For example: Hit points=100
Soak value
Enter the soak value of the structure. Leave blank if unknown and use the structures talk page to work with the community to figure out the soak value.
For example: Soak value=50
Repaired with
Enter the object that is used to repair the structure. Leave blank if unknown
For example: Repaired with=Woodblock

Blank code to copy+paste:

{{Structure
| Size=
| Objects required=
| Needs lighting?=
| Liftable?=
| Hit points=
| Soak value=
| Repaired with=
}}