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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Try to remove extra line)
m (Undo revision 91604 by ArnePeirs (talk))
Line 1: Line 1:
<includeonly>{{Infobox/Part/Line|{{#if: {{{6|}}}|{{{6}}}|{{Infobox/Part/Dict|Consumption}}}}|2=<abbr title="{{#formatnum:{{#expr: {{{2}}}*{{{1}}}/1000}}|{{{5|2}}}|{{DS}}|t}}&nbsp;{{Dict|k}}{{Dict|g}}/{{Dict|s}}">{{Formatnum|{{{2}}}|{{{5|2}}}}}</abbr>&nbsp;{{Unit|{{{4|{{Dict|l}}}}}}}/{{Dict|s}}|{{#if: {{{3|}}}|3=<abbr title="{{#formatnum:{{#expr: {{{3}}}*{{{1}}}/1000}}|{{{5|2}}}|{{DS}}|t}}&nbsp;{{Dict|k}}{{Dict|g}}/{{Dict|s}}">{{Formatnum|{{{3}}}|{{{5|2}}}}}</abbr>&nbsp;{{Unit|{{{4|{{Dict|l}}}}}}}/{{Dict|s}}}}}}</includeonly><noinclude>Creates one fuel consumption entry for {{Tl|Infobox/Part}}.
+
<includeonly>{{Infobox/Part/Line|{{#if: {{{6|}}}|{{{6}}}|{{Infobox/Part/Dict|Consumption}}}}|2=<abbr title="{{#formatnum:{{#expr: {{{2}}}*{{{1}}}/1000}}|{{{5|2}}}|{{DS}}|t}}&nbsp;{{Dict|k}}{{Dict|g}}/{{Dict|s}}">{{Formatnum|{{{2}}}|{{{5|2}}}}}</abbr>&nbsp;{{Unit|{{{4|{{Dict|l}}}}}}}/{{Dict|s}}|3={{#if: {{{3|}}}|<abbr title="{{#formatnum:{{#expr: {{{3}}}*{{{1}}}/1000}}|{{{5|2}}}|{{DS}}|t}}&nbsp;{{Dict|k}}{{Dict|g}}/{{Dict|s}}">{{Formatnum|{{{3}}}|{{{5|2}}}}}</abbr>&nbsp;{{Unit|{{{4|{{Dict|l}}}}}}}/{{Dict|s}}}}}}</includeonly><noinclude>Creates one fuel consumption entry for {{Tl|Infobox/Part}}.
  
 
{{Parameter table|name=number|parameters=
 
{{Parameter table|name=number|parameters=

Revision as of 09:27, 17 August 2018

Creates one fuel consumption entry for {{Infobox/Part}}.

# Optional Description Default
1 No Density in kg/m3
2 No Consumption in L/s at atmospheric pressure (or if no difference exists for all situations)
3 Yes Consumption in L/s in vacuum (2rd parameter is then for atmosphere). Not set
4 Yes Visible unit for the consumption in X/s. Will be parsed through {{Unit}}. l
5 Yes Number of decimal places shown. 2
6 Yes Caption shown by the cell. Not set (automatically translated Fuel consumption by {{Infobox/Part/Dict}})