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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*updated to new name;)
Line 1: Line 1:
<includeonly>{{Partbox/FuelConsumption/Cell|{{{1}}}|{{FuelConsumption|{{{3}}}|{{{2}}}|{{{1}}}}}|{{#if: {{{4|}}}|{{FuelConsumption|{{{4}}}|{{{2}}}|{{{1}}}}}}}}}</includeonly><noinclude>Creates one fuel consumption entry for {{Tl|Partbox}}. Has at least three parameters ({{{1}}}) for the density in kg/m<sup>3</sup> ({{{1}}}) and the fuel consumption in L/s at atmospheric pressure ({{{2}}}) (or if no difference exists for all situations) and could be use {{{3}}} for the fuel consumption in L/s in vacuum.
+
<includeonly>{{Infobox/Part/FuelConsumption/Cell|{{{1}}}|{{FuelConsumption|{{{3}}}|{{{2}}}|{{{1}}}}}|{{#if: {{{4|}}}|{{FuelConsumption|{{{4}}}|{{{2}}}|{{{1}}}}}}}}}</includeonly><noinclude>Creates one fuel consumption entry for {{Tl|Infobox/Part}}. Has at least three parameters ({{{1}}}) for the density in kg/m<sup>3</sup> ({{{1}}}) and the fuel consumption in L/s at atmospheric pressure ({{{2}}}) (or if no difference exists for all situations) and could be use {{{3}}} for the fuel consumption in L/s in vacuum.
  
{| class="wikitable"
+
{{Parameter Table|name=number|parameters=
! #
 
! Optional
 
! Description
 
 
{{ParameterRow|1|Density in kg/m<sup>3</sup>}}
 
{{ParameterRow|1|Density in kg/m<sup>3</sup>}}
 
{{ParameterRow|2|Thrust in kN}}
 
{{ParameterRow|2|Thrust in kN}}
 
{{ParameterRow|3|I<sub>sp</sub> in seconds}}
 
{{ParameterRow|3|I<sub>sp</sub> in seconds}}
 
{{ParameterRow|4|I<sub>sp</sub> in seconds.|Not set}}
 
{{ParameterRow|4|I<sub>sp</sub> in seconds.|Not set}}
|}
+
}}
  
This template uses {{Tl|FuelConsumption}} to calculate the consumption and then passes it to {{Tl|Partbox/FuelConsumption/Cell}} which creates the entry for a {{Tl|Partbox}}.
+
This template uses {{Tl|FuelConsumption}} to calculate the consumption and then passes it to {{Tl|Infobox/Part/FuelConsumption/Cell}} which creates the entry for a {{Tl|Infobox/Part}}.
  
[[Category:Templates|Partbox/FuelConsumption]]</noinclude>
+
[[Category:Templates]]</noinclude>

Revision as of 21:18, 28 June 2013

Creates one fuel consumption entry for {{Infobox/Part}}. Has at least three parameters ({{{1}}}) for the density in kg/m3 ({{{1}}}) and the fuel consumption in L/s at atmospheric pressure ({{{2}}}) (or if no difference exists for all situations) and could be use {{{3}}} for the fuel consumption in L/s in vacuum.

Template:Parameter Table

This template uses {{FuelConsumption}} to calculate the consumption and then passes it to {{Infobox/Part/FuelConsumption/Cell}} which creates the entry for a {{Infobox/Part}}.