Difference between revisions of "Template:Infobox/Part/tank"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (*renamed Parameter Table to Parameter table;) |
(+show maximum and default value; +) |
||
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}}}}}}}}|{{{ox-max|}}}}}{{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>}}}}}<noinclude>}} |
− | |||
− | |||
− | }}{{ | ||
− | }}{{ | ||
− | }}{{ | ||
− | }}<noinclude>}} | ||
{{Tl|Infobox/Part}} modules for fuel tanks. | {{Tl|Infobox/Part}} modules for fuel tanks. | ||
+ | |||
+ | ''TODO:'' What happens with maximum oxidizer amount by default? | ||
{{Parameter table|name=text|parameters= | {{Parameter table|name=text|parameters= | ||
{{Parameter row|lf|Amount of liquid fuel in the tank in units.|Not set/Hidden}} | {{Parameter row|lf|Amount of liquid fuel in the tank in units.|Not set/Hidden}} | ||
+ | {{Parameter row|lf-max|Maximum amount of liquid fuel in the tank in units.|Not set/Hidden}} | ||
{{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 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 row|ox-max|Maximum amount of oxidizer in the tank in units.}} | ||
{{Parameter row|mp|Amount of monopropellant in the tank in units.|Not set/Hidden}} | {{Parameter row|mp|Amount of monopropellant in the tank in units.|Not set/Hidden}} | ||
+ | {{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|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|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|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 or in the tank in units.|Not set/Hidden}} | ||
}} | }} | ||
{{Subcategory|modules}}</noinclude> | {{Subcategory|modules}}</noinclude> |
Revision as of 16:01, 3 May 2015
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 |
{{Infobox/Part}} modules for fuel tanks.
TODO: What happens with maximum oxidizer amount by default?
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 | No | Maximum amount of oxidizer in the tank in units. | |
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 or in the tank in units. | Not set/Hidden |