Difference between revisions of "Template:Structure"
From Salem Wiki
Pistolshrimp (talk | contribs) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ApplyLegacy}} | ||
<!-- Template START --> | <!-- Template START --> | ||
{| style="float:left; margin-right:25px" | {| style="float:left; margin-right:25px" | ||
Line 5: | Line 6: | ||
{| style="min-width:320px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri;" | {| style="min-width:320px; padding:0.1em; border:black 2px solid; border-radius:0.4em; background:#71583b; font-family:Calibri;" | ||
! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}} | ! style="color:white; font-size:1.4em"|{{i|{{PAGENAME}}}} | ||
+ | |- | ||
+ | | style="color:white; font-size:1.2em; text-align:center"|{{CheckNamespace}} | ||
|- | |- | ||
| | | | ||
Line 11: | Line 14: | ||
| 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}} | ||
|- | |- | ||
− | | ''' | + | | '''Size:''' |
− | | {{#switch: {{{ | + | | {{#switch: {{{Size|}}} | =''unknown'' | [[Size::{{{Size}}}]] }} |
|- | |- | ||
− | | ''' | + | | '''Object(s) required:''' |
| {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }} | | {{#switch: {{{Objects required|}}} | =None | {{T4|{{{Objects required}}} }} }} | ||
|- | |- | ||
− | | ''' | + | | '''Needs lighting?:''' |
− | | {{#switch: {{{ | + | | {{#switch: {{{Needs lighting?|}}} | =No | {{{Needs lighting?}}} }} |
− | |||
− | |||
− | |||
|} | |} | ||
|- | |- | ||
Line 28: | Line 28: | ||
| | | | ||
{| 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" |''' | + | | style="width:100px" |'''Liftable?:''' |
− | | {{#switch: {{{ | + | | {{#switch: {{{Liftable?|}}} | =''No?'' | {{{Liftable?}}} }} |
− | }} | ||
|- | |- | ||
− | |''' | + | |'''Repaired with:''' |
− | | {{#switch: {{{ | + | | {{#switch: {{{Repaired with|}}} | =''unknown'' | none='''Can't be Repaired''' | [[Repaired With::{{{Repaired with}}}]] }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
|- | |- | ||
Line 53: | Line 46: | ||
<!-- Infobox END --> | <!-- Infobox END --> | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- Template END --> | <!-- Template END --> | ||
{{#ifeq: {{PAGENAME}} | {{#ifeq: {{PAGENAME}} | ||
Line 102: | Line 89: | ||
| | | | ||
<pre>{{Structure | <pre>{{Structure | ||
− | | | + | | Size= |
− | | | + | | Objects required= |
− | | | + | | Needs lighting?= |
+ | | Liftable?= | ||
| Hit points= | | Hit points= | ||
| Soak value= | | Soak value= | ||
− | | | + | | Repaired with= |
− | |||
}}</pre> | }}</pre> | ||
|}</noinclude> | |}</noinclude> |
Latest revision as of 03:58, 5 July 2024
|
When to use this template:
How to use this template:Breakdown of parameters:
Blank code to copy+paste: |
{{Structure | Size= | Objects required= | Needs lighting?= | Liftable?= | Hit points= | Soak value= | Repaired with= }} |