Template:Installations infobox/doc: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
(Added documentation for installation infoboxes)
(Updated)
Line 2: Line 2:
<pre>
<pre>
{{Installations infobox
{{Installations infobox
| name = installation's name
| name = Installation's name (override)
| image = image.png
| image = image.png
| imagewidth = image width
| imagewidth = Image width
| caption = caption under the image
| caption = Caption under the image
| powerconsumption = power consumption of installation
| category = Installation's ingame category
| repair = what kind of repair does the installation need when broken (electrical/mechanical/both)
| powerconsumption = Power consumption of installation
| repairitems = items needed for repair (can be used instead of "mechanical items" and "electrical items" if only one kind of repair is needed)
| itemslots = How many item slots an installation has
| construction = construction level needed for repair
| powercapacity = How much power (kW) can be stored in a battery
| mechanical items = items needed for mechanical repairs (welding tool, wrench)
| maxoutput = Maximum power (kW) that can be outputted out of a battery
| electrical engineering = electrical level needed for repair
| maxrechargespeed = Maximum recharge speed of a battery
| electrical items = items needed for electrical repairs (screwdriver, wire)
| 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

Documentation
{{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.