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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<noinclude>{{Infobox/Part/preview|</noinclude>{{if||{{{lf|<noinclude>2880</noinclude>}}}|{{Infobox/Line|{{lang|en=Liquid fuel|de=Flüssigtreibstoff}}|{{formatnum|{{{lf<noinclu...")
 
(+support all resources;)
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{if||{{{lf|<noinclude>2880</noinclude>}}}|{{Infobox/Line|{{lang|en=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|{{lang|en=Oxidizer|de=Oxidator}}|{{formatnum|{{#if: {{{ox|}}}|{{{ox}}}|{{#expr: {{{lf<noinclude>|2880</noinclude>}}}/9*11}}}}|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||{{{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||{{{xg|<noinclude>42</noinclude>}}}|{{Infobox/Line|{{if lang link|Xenon gas|de=Xenon Gas}}|{{formatnum|{{{xg<noinclude>|42</noinclude>}}}|3}}&nbsp;{{lang|en=units|de=Einheiten}}}}
 +
}}{{if||{{{ia|<noinclude>4.7</noinclude>}}}|{{Infobox/Line|{{if lang link|Intake air|de=Ansaugluft}}|{{formatnum|{{{ia<noinclude>|4.7</noinclude>}}}|3}}&nbsp;{{{unit|L}}}}}
 
}}<noinclude>}}
 
}}<noinclude>}}
  
Line 8: Line 12:
 
{{Parameter Row|lf|Amount of liquid fuel in the tank in liters.|Not set/Hidden}}
 
{{Parameter Row|lf|Amount of liquid fuel in the tank in liters.|Not set/Hidden}}
 
{{Parameter Row|ox|Amount of oxidizer in the tank in liters. 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 liters. 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|mp|Amount of monopropellant in the tank in liters.|Not set/Hidden}}
 +
{{Parameter Row|sf|Amount of solid fuel in the tank in liters.|Not set/Hidden}}
 +
{{Parameter Row|xg|Amount of xenon gas in the tank in liters.|Not set/Hidden}}
 +
{{Parameter Row|ia|Amount of intake air in the tank in liters.|Not set/Hidden}}
 
}}
 
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Revision as of 11:06, 28 March 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