Difference between revisions of "Template:Infobox/Part/FuelConsumption"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m (!cat name;) |
m (*replace 'Parameter Row' and 'ParameterRow' by 'Parameter row';) |
||
Line 2: | Line 2: | ||
{{Parameter Table|name=number|parameters= | {{Parameter Table|name=number|parameters= | ||
− | {{Parameter | + | {{Parameter row|1|Density in kg/m<sup>3</sup>}} |
− | {{Parameter | + | {{Parameter row|2|Thrust in kN}} |
− | {{Parameter | + | {{Parameter row|3|I<sub>sp</sub> in seconds}} |
− | {{Parameter | + | {{Parameter row|4|I<sub>sp</sub> in seconds in vacuum (3rd parameter is then for atmosphere).|Not set}} |
− | {{Parameter | + | {{Parameter row|5|Visible unit for the consumption in X/s.|<tt>l</tt>}} |
− | {{Parameter | + | {{Parameter row|6|Number of decimal places shown.|<tt>2</tt>}} |
− | {{Parameter | + | {{Parameter row|7|Caption shown by the cell.|Not set (automatically translated <tt>Fuel consumption</tt> by {{Tl|Infobox/Part/Dict}})}} |
}} | }} | ||
Revision as of 20:51, 26 November 2014
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.
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}}.