Difference between revisions of "Template:Infobox/Part/tank"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (Add eva propellant) |
|||
(14 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Infobox/Part/preview|</noinclude>{{ | + | <noinclude>{{Infobox/Part/preview| |
− | + | </noinclude>{{Infobox/Part/tank/line|lf|{{{lf|<noinclude>2880</noinclude>}}}|{{{lf-max|}}}}}{{Infobox/Part/tank/line|ox|{{#ifeq: {{{ox}}}|0||{{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|<noinclude>2880</noinclude>}}}|{{#expr: {{{lf<noinclude>|2880</noinclude>}}}/9*11}}}}}}}}|{{#ifeq: {{{ox-max}}}|0||{{#if: {{{ox-max|}}}|{{{ox-max}}}|{{#if: {{{lf-max|<noinclude>2880</noinclude>}}}{{#if: {{#ifeq: {{{ox}}}|0||1}}|{{#expr: {{{lf-max<noinclude>|2880</noinclude>}}}/9*11}}}}}}}}}}}}{{Infobox/Part/tank/line|mp|{{{mp|<noinclude>74</noinclude>}}}|{{{mp-max|}}}}}{{Infobox/Part/tank/line|sf|{{{sf|<noinclude>1337</noinclude>}}}|{{{sf-max|}}}}}{{Infobox/Part/tank/line|xg|{{{xg|<noinclude>42</noinclude>}}}|{{{xg-max|}}}}}{{Infobox/Part/tank/line|ia|{{{ia|<noinclude>4.7</noinclude>}}}|{{{ia-max|}}}}}{{Infobox/Part/tank/line|or|{{{or|<noinclude>0</noinclude>}}}|{{{or-max|<noinclude>1701</noinclude>}}}}}{{Infobox/Part/tank/line|eva|{{{eva|<noinclude>5</noinclude>}}}|{{{eva-max|}}}}}<noinclude> | |
− | + | }} | |
− | }}{{ | ||
− | }}{{ | ||
− | }}{{ | ||
− | }}<noinclude>}} | ||
− | {{Tl|Infobox/Part}} modules for fuel tanks | + | {{Tl|Infobox/Part}} modules for fuel tanks. |
− | {{Parameter | + | {{Parameter table|name=text|parameters= |
− | {{Parameter | + | {{Parameter row|lf|Amount of liquid fuel in the tank in units.|Not set/Hidden}} |
− | {{Parameter | + | {{Parameter row|lf-max|Maximum amount of liquid fuel in the tank in units.|Not set/Hidden}} |
− | {{Parameter | + | {{Parameter row|ox|Amount of oxidizer in the tank in units. Must be set to <tt>0</tt> if the tank contains liquid fuel but not oxidizer.|Not set/Hidden or set to 11/9<sup>th</sup> of the amount of liquid fuel if given}} |
− | {{Parameter | + | {{Parameter row|ox-max|Maximum amount of oxidizer in the tank in units. Must be set to <tt>0</tt> if the tank can contain liquid fuel but cannot contain oxidizer. If <code>ox</code> is set to 0, this value won't be displayed even if <code>lf-max</code> is and <code>ox-max</code> isn't.|Not set/Hidden or set to 11/9<sup>th</sup> of the maximum amount of liquid fuel if given}} |
− | {{Parameter | + | {{Parameter row|mp|Amount of monopropellant in the tank in units.|Not set/Hidden}} |
− | {{Parameter | + | {{Parameter row|mp-max|Maximum amount of monopropellant in the tank in units.|Not set/Hidden}} |
+ | {{Parameter row|sf|Amount of solid fuel in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|sf-max|Maximum amount of solid fuel in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|xg|Amount of xenon gas in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|xg-max|Maximum amount of xenon gas in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|ia|Amount of intake air in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|ia-max|Maximum amount of intake air in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|or|Amount of ore in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|or-max|Maximum amount of ore in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|eva|Amount of eva propellant in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|eva-max|Maximum amount of eva propellant in the tank in units.|Not set/Hidden}} | ||
}} | }} | ||
{{Subcategory|modules}}</noinclude> | {{Subcategory|modules}}</noinclude> |
Latest revision as of 21:10, 9 September 2024
Liquid fuel | 2 880 | |
Oxidizer | 3 520 | |
Monopropellant | 74 | |
Solid fuel | 1 337 | |
Xenon gas | 42 | |
Intake air | 5 | |
Ore | (default) | 0 |
(max) | 1 701 | |
EVA propellant | 5 |
{{Infobox/Part}} modules for fuel tanks.
Name | Optional | Description | Default |
---|---|---|---|
lf | Yes | Amount of liquid fuel in the tank in units. | Not set/Hidden |
lf-max | Yes | Maximum amount of liquid fuel in the tank in units. | Not set/Hidden |
ox | Yes | Amount of oxidizer in the tank in units. Must be set to 0 if the tank contains liquid fuel but not oxidizer. | Not set/Hidden or set to 11/9th of the amount of liquid fuel if given |
ox-max | Yes | Maximum amount of oxidizer in the tank in units. Must be set to 0 if the tank can contain liquid fuel but cannot contain oxidizer. If ox is set to 0, this value won't be displayed even if lf-max is and ox-max isn't.
|
Not set/Hidden or set to 11/9th of the maximum amount of liquid fuel if given |
mp | Yes | Amount of monopropellant in the tank in units. | Not set/Hidden |
mp-max | Yes | Maximum amount of monopropellant in the tank in units. | Not set/Hidden |
sf | Yes | Amount of solid fuel in the tank in units. | Not set/Hidden |
sf-max | Yes | Maximum amount of solid fuel in the tank in units. | Not set/Hidden |
xg | Yes | Amount of xenon gas in the tank in units. | Not set/Hidden |
xg-max | Yes | Maximum amount of xenon gas in the tank in units. | Not set/Hidden |
ia | Yes | Amount of intake air in the tank in units. | Not set/Hidden |
ia-max | Yes | Maximum amount of intake air in the tank in units. | Not set/Hidden |
or | Yes | Amount of ore in the tank in units. | Not set/Hidden |
or-max | Yes | Maximum amount of ore in the tank in units. | Not set/Hidden |
eva | Yes | Amount of eva propellant in the tank in units. | Not set/Hidden |
eva-max | Yes | Maximum amount of eva propellant in the tank in units. | Not set/Hidden |