Template:Legacy Installations Infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 172: | Line 172: | ||
{{!}} style="background:black;color:rgba({{#var:light1color}})" {{!}} '''{{#replace:{{{light1color}}}|,|, }}'''}} | {{!}} style="background:black;color:rgba({{#var:light1color}})" {{!}} '''{{#replace:{{{light1color}}}|,|, }}'''}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair1skill|}}}{{{repair1tools|}}}| | ||
! colspan="2" {{!}} {{{ | ! colspan="2" {{!}} {{{repair1name|Mechanical repairs}}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair1skill|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Required Skill''' | {{!}} style="text-align:right" {{!}} '''Required Skill''' | ||
{{!}} [[Skills (Legacy)#Construction|Construction]] {{{ | {{!}} {{#switch:{{#explode:{{lc:{{{repair1skill}}}}}| |0}}| | ||
| construction = [[Skills (Legacy)#Construction|Construction]] | |||
| electrical = [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{repair1skill}}}| |1}}}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair1tools|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Required Tool | {{!}} style="text-align:right" {{!}} '''Required Tool(s)''' | ||
{{!}} {{{ | {{!}} {{{repair1tools}}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair2skill|}}}{{{repair2tools|}}}| | ||
! colspan="2" {{!}} {{{ | ! colspan="2" {{!}} {{{repair2name|Electrical repairs}}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair2skill|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Required Skill''' | {{!}} style="text-align:right" {{!}} '''Required Skill''' | ||
{{!}} [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]] {{{ | {{!}} {{#switch:{{#explode:{{lc:{{{repair2skill}}}}}| |0}}| | ||
| construction = [[Skills (Legacy)#Construction|Construction]] | |||
| electrical = [[Skills (Legacy)#Electrical Engineering|Electrical Engineering]]}} {{#explode:{{{repair2skill}}}| |1}}}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{repair2tools|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Required Tool | {{!}} style="text-align:right" {{!}} '''Required Tool(s)''' | ||
{{!}} {{{ | {{!}} {{{repair2tools}}}}} | ||
|- | |- | ||
! colspan="2" | Technical | ! colspan="2" | Technical |
Revision as of 13:36, 26 November 2022
Basic
Field | Description | Example | Expected | Default |
---|---|---|---|---|
name | The name of the installation. | Fabricator | String | |
sprite | The sprite of the installation. | Legacy Fabricator.png | File name | Legacy {{{name}}}.png
|
spritesize | The size of the sprite, in px. | x64 | ##, x##, ##x## | x128 |
description | The installation's description. | Fabricates various items. | String |
Technical
Field | Description | Example | Expected | Default |
---|---|---|---|---|
category | The category of the installation. | Alien | Structure, Decorative, Machine, Medical, Weapon, Equipment, Electrical, Material, Alien, Misc | Misc |
tags | The tags of the installation. | alien,weapon | CSV list |
The above documentation is transcluded from Template:Legacy Installations Infobox/doc. (edit | history)