Difference between revisions of "Template:Infobox/Part/tank"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+support all resources;)
m (!don't show oxidizer if set to 0;)
Line 1: Line 1:
 
<noinclude>{{Infobox/Part/preview|</noinclude>{{if||{{{lf|<noinclude>2880</noinclude>}}}|{{Infobox/Line|{{if lang link|Liquid fuel|de=Flüssigtreibstoff}}|{{formatnum|{{{lf<noinclude>|2880</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
 
<noinclude>{{Infobox/Part/preview|</noinclude>{{if||{{{lf|<noinclude>2880</noinclude>}}}|{{Infobox/Line|{{if lang link|Liquid fuel|de=Flüssigtreibstoff}}|{{formatnum|{{{lf<noinclude>|2880</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
}}{{if||{{{ox|}}}{{Booland|{{{lf|<noinclude>2880</noinclude>}}}|{{#ifeq: {{{ox}}}|0||1}}|1}}|{{Infobox/Line|{{if lang link|Oxidizer|de=Oxidator}}|{{formatnum|{{#if: {{{ox|}}}|{{{ox}}}|{{#expr: {{{lf<noinclude>|2880</noinclude>}}}/9*11}}}}|3}}&nbsp;{{{unit|L}}}}}
+
}}{{if||{{#ifeq: {{{ox}}}|0||{{{ox|}}}}}{{Booland|{{{lf|<noinclude>2880</noinclude>}}}|{{#ifeq: {{{ox}}}|0||1}}|1}}|{{Infobox/Line|{{if lang link|Oxidizer|de=Oxidator}}|{{formatnum|{{#if: {{{ox|}}}|{{{ox}}}|{{#expr: {{{lf<noinclude>|2880</noinclude>}}}/9*11}}}}|3}}&nbsp;{{{unit|L}}}}}
 
}}{{if||{{{mp|<noinclude>74</noinclude>}}}|{{Infobox/Line|{{if lang link|Monopropellant}}|{{formatnum|{{{mp<noinclude>|74</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
 
}}{{if||{{{mp|<noinclude>74</noinclude>}}}|{{Infobox/Line|{{if lang link|Monopropellant}}|{{formatnum|{{{mp<noinclude>|74</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
 
}}{{if||{{{sf|<noinclude>1337</noinclude>}}}|{{Infobox/Line|{{if lang link|Solid fuel|de=Festtreibstoff}}|{{formatnum|{{{sf<noinclude>|1337</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
 
}}{{if||{{{sf|<noinclude>1337</noinclude>}}}|{{Infobox/Line|{{if lang link|Solid fuel|de=Festtreibstoff}}|{{formatnum|{{{sf<noinclude>|1337</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}

Revision as of 19:32, 18 July 2014

Liquid fuel 2 880.000 L
Oxidizer 3 520.000 L
Monopropellant 74.000 L
Solid fuel 1 337.000 L
Xenon gas 42.000 units
Intake air 4.700 L

{{Infobox/Part}} modules for fuel tanks. Currently only liquid fuel and oxidizer are supported. Future versions of this template most likely support additional fuel types.

Template:Parameter Table