Difference between revisions of "Template:Infobox/Part/FuelConsumption"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!convert L to m³;) |
m (*rewrote to depend on Isp instead of seperate values;) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{Partbox/ | + | <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. |
+ | |||
+ | {| class="wikitable" | ||
+ | ! # | ||
+ | ! Optional | ||
+ | ! Description | ||
+ | {{ParameterRow|1|Density in kg/m<sup>3</sup>}} | ||
+ | {{ParameterRow|2|Thrust in kN}} | ||
+ | {{ParameterRow|3|I<sub>sp</sub> in seconds}} | ||
+ | {{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}}. | ||
[[Category:Templates|Partbox/FuelConsumption]]</noinclude> | [[Category:Templates|Partbox/FuelConsumption]]</noinclude> |
Revision as of 17:54, 15 April 2013
Creates one fuel consumption entry for {{Partbox}}. 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.
# | Optional | Description
Template:ParameterRow Template:ParameterRow Template:ParameterRow Template:ParameterRow |
---|
This template uses {{FuelConsumption}} to calculate the consumption and then passes it to {{Partbox/FuelConsumption/Cell}} which creates the entry for a {{Partbox}}.