Difference between revisions of "Template:Infobox/Part/tank"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!don't show oxidizer if set to 0;) |
(hungarian added) |
||
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}} {{{unit|L}}}}} | + | <noinclude>{{Infobox/Part/preview|</noinclude>{{if||{{{lf|<noinclude>2880</noinclude>}}}|{{Infobox/Line|{{if lang link|Liquid fuel|de=Flüssigtreibstoff|hu=Folyékony üzemanyag}}|{{formatnum|{{{lf<noinclude>|2880</noinclude>}}}|3}} {{{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}} {{{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|hu=Oxidálószer}}|{{formatnum|{{#if: {{{ox|}}}|{{{ox}}}|{{#expr: {{{lf<noinclude>|2880</noinclude>}}}/9*11}}}}|3}} {{{unit|L}}}}} |
− | }}{{if||{{{mp|<noinclude>74</noinclude>}}}|{{Infobox/Line|{{if lang link|Monopropellant}}|{{formatnum|{{{mp<noinclude>|74</noinclude>}}}|3}} {{{unit|L}}}}} | + | }}{{if||{{{mp|<noinclude>74</noinclude>}}}|{{Infobox/Line|{{if lang link|Monopropellant|hu=Egykomponensű hajtóanyag}}|{{formatnum|{{{mp<noinclude>|74</noinclude>}}}|3}} {{{unit|L}}}}} |
− | }}{{if||{{{sf|<noinclude>1337</noinclude>}}}|{{Infobox/Line|{{if lang link|Solid fuel|de=Festtreibstoff}}|{{formatnum|{{{sf<noinclude>|1337</noinclude>}}}|3}} {{{unit|L}}}}} | + | }}{{if||{{{sf|<noinclude>1337</noinclude>}}}|{{Infobox/Line|{{if lang link|Solid fuel|de=Festtreibstoff|hu=Szilárd hajtóanyag}}|{{formatnum|{{{sf<noinclude>|1337</noinclude>}}}|3}} {{{unit|L}}}}} |
− | }}{{if||{{{xg|<noinclude>42</noinclude>}}}|{{Infobox/Line|{{if lang link|Xenon gas|de=Xenon Gas}}|{{formatnum|{{{xg<noinclude>|42</noinclude>}}}|3}} {{lang|en=units|de=Einheiten}}}} | + | }}{{if||{{{xg|<noinclude>42</noinclude>}}}|{{Infobox/Line|{{if lang link|Xenon gas|de=Xenon Gas|hu=Xenon}}|{{formatnum|{{{xg<noinclude>|42</noinclude>}}}|3}} {{lang|en=units|de=Einheiten|hu=egység}}}} |
− | }}{{if||{{{ia|<noinclude>4.7</noinclude>}}}|{{Infobox/Line|{{if lang link|Intake air|de=Ansaugluft}}|{{formatnum|{{{ia<noinclude>|4.7</noinclude>}}}|3}} {{{unit|L}}}}} | + | }}{{if||{{{ia|<noinclude>4.7</noinclude>}}}|{{Infobox/Line|{{if lang link|Intake air|de=Ansaugluft|hu=Beszívott evegő}}|{{formatnum|{{{ia<noinclude>|4.7</noinclude>}}}|3}} {{{unit|L}}}}} |
}}<noinclude>}} | }}<noinclude>}} | ||
Revision as of 20:43, 20 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.