Difference between revisions of "Template:Infobox/Part/FuelConsumption/Cell"
From Kerbal Space Program Wiki
< Template:Infobox | Part
m |
m (Remove consumption in vacuum and custom caption as they are unused) |
||
Line 1: | Line 1: | ||
− | < | + | <noinclude>{{Infobox/Part/preview| |
+ | </noinclude>{{Infobox/Line|{{Infobox/Part/Dict|Consumption}}|<abbr title{{=}}"{{#formatnum:{{#expr: {{{2<noinclude>|9.15</noinclude>}}}*{{{1<noinclude>|5000</noinclude>}}}/1000}}|{{{4|2}}}|{{DS}}|t}} {{Dict|k}}{{Dict|g}}/{{Dict|s}}">{{Formatnum|{{{2<noinclude>|9.15</noinclude>}}}|{{{4|2}}}}}</abbr> {{Unit|{{{3|{{Dict|l}}}}}}}/{{Dict|s}}}}<noinclude> | ||
+ | }} | ||
+ | |||
+ | Creates one fuel consumption entry for {{Tl|Infobox/Part}}. | ||
{{Parameter table|name=number|parameters= | {{Parameter table|name=number|parameters= | ||
{{Parameter row|1|Density in kg/m<sup>3</sup>}} | {{Parameter row|1|Density in kg/m<sup>3</sup>}} | ||
− | {{Parameter row|2|Consumption in | + | {{Parameter row|2|Consumption in l/s}} |
− | {{Parameter row|3 | + | {{Parameter row|3|Visible unit for the consumption in X/s. Will be parsed through {{Tl|Unit}}.|<tt>l</tt>}} |
− | + | {{Parameter row|4|Number of decimal places shown.|<tt>2</tt>}} | |
− | {{Parameter row| | ||
− | |||
}} | }} | ||
[[Category:Calculating templates]] | [[Category:Calculating templates]] | ||
[[Category:Infobox/Part metatemplates]]</noinclude> | [[Category:Infobox/Part metatemplates]]</noinclude> |
Revision as of 21:47, 10 September 2024
Fuel consumption | 9.15 l/s |
Creates one fuel consumption entry for {{Infobox/Part}}.
# | Optional | Description | Default |
---|---|---|---|
1 | No | Density in kg/m3 | |
2 | No | Consumption in l/s | |
3 | Yes | Visible unit for the consumption in X/s. Will be parsed through {{Unit}}. | l |
4 | Yes | Number of decimal places shown. | 2 |