Template:Installations infobox/doc: Difference between revisions
From Official Barotrauma Wiki
(Added documentation for installation infoboxes) |
(Updated) |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
{{Installations infobox | {{Installations infobox | ||
| name = | | name = Installation's name (override) | ||
| image = image.png | | image = image.png | ||
| imagewidth = | | imagewidth = Image width | ||
| caption = | | caption = Caption under the image | ||
| powerconsumption = | | category = Installation's ingame category | ||
| repair = | | powerconsumption = Power consumption of installation | ||
| repairitems = | | itemslots = How many item slots an installation has | ||
| construction = | | powercapacity = How much power (kW) can be stored in a battery | ||
| mechanical items = | | maxoutput = Maximum power (kW) that can be outputted out of a battery | ||
| electrical engineering = | | maxrechargespeed = Maximum recharge speed of a battery | ||
| electrical items = | | maxforce = Maximum thrust generated by the engine (specific) | ||
| maxflow = Empty/fill rate of pumps (specific) | |||
| o2generatedamount = How much oxygen is generated by the o2 gen (specific) | |||
| repair = What kind of repair does the installation need when broken (electrical/mechanical/both) | |||
| repairitems = Items needed for repair (used if only one kind of repair is needed) | |||
| construction = Construction level needed for repair | |||
| mechanical items = Items needed for mechanical repairs (welding tool, wrench) | |||
| electrical engineering = Electrical level needed for repair | |||
| electrical items = Items needed for electrical repairs (screwdriver, wire) | |||
| nocat = (no category) Doesn't include the [[:Category:Installations|Installations Category]] | |||
| nostats = (no stats) Removes the Stats section | |||
}} | }} | ||
</pre> | </pre> | ||
{{doc/end}} | {{doc/end}} |
Revision as of 16:24, 9 December 2018
{{Installations infobox | name = Installation's name (override) | image = image.png | imagewidth = Image width | caption = Caption under the image | category = Installation's ingame category | powerconsumption = Power consumption of installation | itemslots = How many item slots an installation has | powercapacity = How much power (kW) can be stored in a battery | maxoutput = Maximum power (kW) that can be outputted out of a battery | maxrechargespeed = Maximum recharge speed of a battery | maxforce = Maximum thrust generated by the engine (specific) | maxflow = Empty/fill rate of pumps (specific) | o2generatedamount = How much oxygen is generated by the o2 gen (specific) | repair = What kind of repair does the installation need when broken (electrical/mechanical/both) | repairitems = Items needed for repair (used if only one kind of repair is needed) | construction = Construction level needed for repair | mechanical items = Items needed for mechanical repairs (welding tool, wrench) | electrical engineering = Electrical level needed for repair | electrical items = Items needed for electrical repairs (screwdriver, wire) | nocat = (no category) Doesn't include the [[:Category:Installations|Installations Category]] | nostats = (no stats) Removes the Stats section }}
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.