Template:Legacy Installations Infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
(Categories) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude> | <noinclude>{{doc}}[[Category:Templates]][[Category:Cargo Declaration Templates]][[Category:Cargo Storage Templates]][[Category:Infobox Templates]]</noinclude> | ||
<includeonly><onlyinclude>{| class="infobox responsive-table" align="right" | <includeonly><onlyinclude>{| class="infobox responsive-table" align="right" | ||
! colspan="2" | {{{name}}} | ! colspan="2" | {{{name}}} | ||
Line 73: | Line 73: | ||
{{#if:{{{hudtint|}}}| | {{#if:{{{hudtint|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Hud Tint''' | {{!}} style="text-align:right" {{!}} '''Hud Tint''' | ||
{{!}} style="background:rgba({{#expr:{{#explode:{{{hudtint}}}|,|0}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|1}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|2}}*255}},{{#explode:{{{hudtint}}}|,|3}})"}} | {{!}} style="background:rgba({{#expr:{{#explode:{{{hudtint}}}|,|0}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|1}}*255}},{{#expr:{{#explode:{{{hudtint}}}|,|2}}*255}},{{#explode:{{{hudtint}}}|,|3}})"}} {{!}} | ||
|- | |- | ||
{{#if:{{{doortype|}}}{{{forcingtool|}}}{{{forcingtime|}}}| | {{#if:{{{doortype|}}}{{{forcingtool|}}}{{{forcingtime|}}}| | ||
Line 201: | Line 201: | ||
{{#if:{{{light1color|}}}| | {{#if:{{{light1color|}}}| | ||
{{!}} style="text-align:right" {{!}} '''Color''' | {{!}} style="text-align:right" {{!}} '''Color''' | ||
{{!}} style="background:rgba({{#expr:{{#explode:{{{light1color}}}|,|0}}*255}},{{#expr:{{#explode:{{{light1color}}}|,|1}}*255}},{{#expr:{{#explode:{{{light1color}}}|,|2}}*255}},{{#explode:{{{light1color}}}|,|3}})"}} | {{!}} style="background:rgba({{#expr:{{#explode:{{{light1color}}}|,|0}}*255}},{{#expr:{{#explode:{{{light1color}}}|,|1}}*255}},{{#expr:{{#explode:{{{light1color}}}|,|2}}*255}},{{#explode:{{{light1color}}}|,|3}})"}} {{!}} | ||
|- | |- | ||
{{#if:{{{repair1skill|}}}{{{repair1tools|}}}| | {{#if:{{{repair1skill|}}}{{{repair1tools|}}}| |
Latest revision as of 22:07, 31 March 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)