Template:Installations infobox/doc: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
Jade Harley (talk | contribs) mNo edit summary |
||
Line 64: | Line 64: | ||
{{Installations infobox | {{Installations infobox | ||
| name = Fabricator | | name = Fabricator | ||
| imagewidth = 100 | | imagewidth = 100 | ||
| identifier = fabricator | | identifier = fabricator | ||
Line 71: | Line 70: | ||
| tags = fabricator,donttakeitems,dontsellitems | | tags = fabricator,donttakeitems,dontsellitems | ||
| powerconsumption = 510 | | powerconsumption = 510 | ||
| itemslots = 5 input, 1 output | | itemslots = 5 input slots, 1 output slot | ||
| repair = Mechanical | | repair = Mechanical | ||
| mechanical engineering = 55 | | mechanical engineering = 55 | ||
Line 80: | Line 79: | ||
{{Installations infobox | {{Installations infobox | ||
| name = Fabricator | | name = Fabricator | ||
| imagewidth = 100 | | imagewidth = 100 | ||
| identifier = fabricator | | identifier = fabricator | ||
Line 87: | Line 85: | ||
| tags = fabricator,donttakeitems,dontsellitems | | tags = fabricator,donttakeitems,dontsellitems | ||
| powerconsumption = 510 | | powerconsumption = 510 | ||
| itemslots = 5 input, 1 output | | itemslots = 5 input slots, 1 output slot | ||
| repair = Mechanical | | repair = Mechanical | ||
| mechanical engineering = 55 | | mechanical engineering = 55 |
Revision as of 07:48, 19 August 2022
Basic
Field | Note | Example | 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 |
caption | Captions the installation's image | Base | |
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. |
Stats
Field | Note | Example | Expected | Default |
---|---|---|---|---|
category | The category of the item, as defined in XML. | Machine | Structure, Decorative, Machine, Medical, Weapon, Diving, Electrical, Alien, Wrecked, Legacy, Misc | Misc |
category2 | The second category of the item, if applicable. | Weapon | Structure, Decorative, Machine, Medical, Weapon, Diving, Electrical, 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 | |
powerconsumption | The power consumption of the installation (in kW). | 510 | 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 | |
repair | The type of repair the installation requires. | mechanical | Mechanical, Electrical, Both | |
repairitems | The items required to repair the installation. (only if one kind of repair is needed) | Wrench | Wrench, Screwdriver, etc. | |
mechanical engineering | The level of mechanical engineering skill required for repairs. | 40 | Numeric value | |
mechanical items | The items needed for mechanical repairs. | Wrench | Wrench, Welding Tool, etc. | |
electrical engineering | The level of electrical engineering skill required for repairs. | 40 | Numeric value | |
electrical items | The items needed for electrical repairs. | Screwdriver | Screwdriver, Wire, etc. | |
nocat | Removes the page categories | yes | yes | |
nostats | Removes the "Stats" section | yes | yes |
Fabricator | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
'A machine capable of manufacturing a wide range of items out of basic raw materials.' | ||||||||||
Statistics* | ||||||||||
Power Consumption | 510 kW | |||||||||
Item Slots | 5 input slots, 1 output slot | |||||||||
|
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 | powerconsumption = 510 | itemslots = 5 input slots, 1 output slot | repair = Mechanical | mechanical engineering = 55 | repairitems = Wrench }}
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.