Template:Installations infobox: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
{{!}}- | {{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Categor{{#if:{{{category2|}}}{{{subcategory|}}}|ies|y}} | {{!}} style="width:45%; font-size:105%" {{!}} Categor{{#if:{{{category2|}}}{{{subcategory|}}}|ies|y}} | ||
{{!}} style="width:55%" {{!}} [[:Category:{{{category|Misc}}}|{{{category|Misc}}}]]{{#if:{{{category2|}}}|, [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if:{{{subcategory|}}}|<br>[[:Category:{{{subcategory}}}|{{{subcategory}}}]]}}}} | {{!}} style="width:55%" {{!}} [[:Category:{{{category|Misc}}}|{{{category|Misc}}}]]{{#if:{{{category2|}}}|, [[:Category:{{{category2}}}|{{{category2}}}]]}}{{#if:{{{subcategory|}}}|<br>[[:Category:{{{subcategory}}}|{{{subcategory}}}]]}}}}<!-- | ||
{{#if:{{{powerconsumption|}}}|{{!}}- | -->{{#if:{{{powerconsumption|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Power Consumption | {{!}} style="width:45%; font-size:105%" {{!}} Power Consumption | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{powerconsumption}}} kW</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{powerconsumption}}} kW</span>}}<!-- | ||
{{#if:{{{reload|}}}|{{!}}- | -->{{#if:{{{reload|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Reload Speed | {{!}} style="width:45%; font-size:105%" {{!}} Reload Speed | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{reload}}} sec</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{reload}}} sec</span>}}<!-- | ||
{{#if:{{{itemslots|}}}|{{!}}- | -->{{#if:{{{itemslots|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Item Slots | {{!}} style="width:45%; font-size:105%" {{!}} Item Slots | ||
{{!}} style="width:55%" {{!}} {{{itemslots}}}}} | {{!}} style="width:55%" {{!}} {{{itemslots}}}}}<!-- | ||
{{#if:{{{powercapacity|}}}|{{!}}- | -->{{#if:{{{powercapacity|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Power Capacity | {{!}} style="width:45%; font-size:105%" {{!}} Power Capacity | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{powercapacity}}} kW⋅min</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{powercapacity}}} kW⋅min</span>}}<!-- | ||
{{#if:{{{maxoutput|}}}|{{!}}- | -->{{#if:{{{maxoutput|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Power Output | {{!}} style="width:45%; font-size:105%" {{!}} Power Output | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxoutput}}} kW</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxoutput}}} kW</span>}}<!-- | ||
{{#if:{{{maxrechargespeed|}}}|{{!}}- | -->{{#if:{{{maxrechargespeed|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Recharge Speed | {{!}} style="width:45%; font-size:105%" {{!}} Recharge Speed | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxrechargespeed}}} kW</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxrechargespeed}}} kW</span>}}<!-- | ||
{{#if:{{{maxforce|}}}|{{!}}- | -->{{#if:{{{maxforce|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Force | {{!}} style="width:45%; font-size:105%" {{!}} Force | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxforce}}}</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxforce}}}</span>}}<!-- | ||
{{#if:{{{maxflow|}}}|{{!}}- | -->{{#if:{{{maxflow|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Pump Speed | {{!}} style="width:45%; font-size:105%" {{!}} Pump Speed | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxflow}}}</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{maxflow}}}</span>}}<!-- | ||
{{#if:{{{o2generatedamount|}}}|{{!}}- | -->{{#if:{{{o2generatedamount|}}}|{{!}}- | ||
{{!}} style="width:45%; font-size:105%" {{!}} Oxygen Generated | {{!}} style="width:45%; font-size:105%" {{!}} Oxygen Generated | ||
{{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{o2generatedamount}}}</span>}} | {{!}} style="width:55%" {{!}} <span class="explain" title="Default value. This value can be changed in the Submarine Editor and does not necessarily match the value on a particular submarine.">{{{o2generatedamount}}}</span>}}<!-- | ||
{{#if:{{{repairtype|}}}|{{!}}- | -->{{#if:{{{repairtype|}}}|{{!}}- | ||
! class="infobox3 responsive-table" colspan="2" {{!}} Repair Requirements | ! class="infobox3 responsive-table" colspan="2" {{!}} Repair Requirements | ||
{{!}}- | {{!}}- |
Revision as of 08:58, 19 August 2022
Basic
Field | Note | Example | Expected | Default |
---|---|---|---|---|
name | The name of the installation. | Fabricator | {{PAGENAME}}
| |
image | An image of the installation. | Fabricator.png | {{{name|{{PAGENAME}}}}}.png
| |
imagewidth | Forces the width of the image to the specified value. | 250 | 180 | |
identifier | Internal identifier of the item from game files (optional). | fabricator | ||
description | In-game description. | A machine capable of manufacturing a wide range of items out of basic raw materials. | ||
category | The category of the item, as defined in XML. | Machine | Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc | Misc |
category2 | The second category of the item, if applicable. | Weapon | Structure, Decorative, Machine, Medical, Weapon, Diving, Equipment, Fuel, Electrical, Material, Alien, Wrecked, Legacy, Misc | |
subcategory | The subcategory of the item, as defined in XML. | Labels | Thalamus, Abandoned Outposts, Abandoned Outpost (Human), Abandoned Outpost (Monster), Exterior submarine walls, Exterior shuttle pieces, Labels, Background wall, Outpost | |
tags | The tags of the item, as defined in XML. | fabricator,donttakeitems,dontsellitems | CSV list of the item's tags | |
nocat | Removes page categories. | yes | yes |
Statistics
Field | Note | Example | Expected | Default |
---|---|---|---|---|
powerconsumption | The power consumption of the installation (in kW). | 510 | Numeric value | |
reload | The reload time of the turret, as defined in XML. | 5 | Numeric value | |
itemslots | The number of item slots the installation has. | 6 | Numeric value | |
powercapacity | The amount of power that can be stored in the installation (in kWm). | 100 | Numeric value | |
maxoutput | The maximum amount of power that the installation can output (in kW). | 50 | Numeric value | |
maxrechargespeed | The maximum recharge speed of the installation (in kW). | 50 | Numeric value | |
maxforce | The maximum amount of thrust that the installation can produce. | 1000 | Numeric value | |
maxflow | The maximum rate of water intake/outtake that the installation can provide. | 250 | Numeric value | |
o2generatedamount | The amount of oxygen generated by the installation. | 5000 | Numeric value |
Repairable
Field | Note | Example | Expected | Default |
---|---|---|---|---|
repairtype | The type of repair the installation requires. | mechanical | Mechanical, Electrical | |
repairskill | The level of skill required for repairs. | 40 | Numeric value |
Fabricator | |||||||
---|---|---|---|---|---|---|---|
ID: fabricator A machine capable of manufacturing a wide range of items out of basic raw materials.
| |||||||
Stats | |||||||
Category | Machine|- | Power Consumption | 10 + 500 kW|- | Item Slots | 5 input slots and 1 output slot|- | Repair Requirements | |
Required Skill | 55 Mechanical Engineering | ||||||
Required Item | Wrench |
}}
The example seen to the right is defined as follows:
{{Installations infobox | name = Fabricator | imagewidth = 100 | identifier = fabricator | description = A machine capable of manufacturing a wide range of items out of basic raw materials. | category = Machine | tags = fabricator,donttakeitems,dontsellitems | nocat = yes | powerconsumption = <span class="explain" title="Lights">10</span> + <span class="explain" title="Fabrication">500</span> | itemslots = 5 input slots and 1 output slot | repairtype = Mechanical | repairskill = 55 }}
The above documentation is transcluded from Template:Installations infobox/doc. (edit | history)