Template:Infobox/Resource/doc
From Kerbal Space Program Wiki
< Template:Infobox | Resource
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This is a documentation subpage for Template:Infobox/Resource. It contains usage information, categories and other content that is not part of the original template page. |
Infobox/Resource | ||
Density | 5000 kg/l | |
Transferable | No | |
Tweakable | Yes | |
Drainable | No | |
Flow mode | Adjacent | |
Cost | 0.8 /l | |
0 /kg | ||
Since version | 0.20 |
Infobox for resources.
Parameters
Name | Optional | Description | Default |
---|---|---|---|
name | Yes | Name of the resource. | {{BASEPAGENAME}} |
file | Yes | Image of the resource. | Not set/Hidden |
file desc | Yes | Description of the image. | Not set/Hidden |
density | No | Density of the resource in kg/{{{unit}}}. Allows 0 for None and without unit. | |
transfer | Yes | Whether the resource is transferable. Allows n for {{No}} and shows {{Yes}} for every other value. | Yes |
tweakable | Yes | Whether the resource is tweakable in the VAB/SPH. Allows n for {{No}} and shows {{Yes}} for every other value. | Yes |
drainable | Yes | Whether the resource is drainable. Allows n for {{No}} and shows {{Yes}} for every other value. | Yes |
flow | No | The flow mode of the resource. | |
cost | No | Cost per unit of the resource. Allows 0 for None and without unit. Also calculates costs per mass if density and cost are both not zero. | |
since | Yes | The introduction of this resource. If not set shows the value unknown. | Unknown |
unit | Yes | The unit of volume for the density. | l |
Flow modes
Code | Type | Description |
---|---|---|
a | Adjacent | Resources will only flow between adjacent sources and sinks, meaning that tanks can be drained unevenly. |
e | Everywhere | The resource is always available to all parts structurally connected to the vessel, and the same amount of resources is drained from every container. |
i | Internal | The resource can only be used by the part containing it. |
n | None | The resource won't be pumped automatically but can be manually transferred. |