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 53: | Line 53: | ||
{{#if:{{{barrelpos|}}}| | {{#if:{{{barrelpos|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Barrel Offset''' | {{!}} style="text-align:right" {{!}} '''Barrel Offset''' | ||
{{!}} {{#ifexpr:{{#explode:{{{barrelpos}}}|,|0}}<0|←|→}}, {{#ifexpr:{{#explode:{{{barrelpos}}}|,|1}}<0|↓|↑}}}} | {{!}} {{#ifexpr:{{#explode:{{{barrelpos}}}|,|0}}<0|←|→}}{{#explode:{{{barrelpos}}}|,|0}}, {{#ifexpr:{{#explode:{{{barrelpos}}}|,|1}}<0|↓|↑}}{{#explode:{{{barrelpos}}}|,|0}}}} | ||
|- | |- | ||
{{#if:{{{reload|}}}| | {{#if:{{{reload|}}}| |
Revision as of 07:19, 28 February 2023
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)