Difference between revisions of "Template:Infobox/Part/ion engine"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Use the same template as reaction engine)
(Update infobox to match in-game)
 
Line 1: Line 1:
<noinclude>{{Infobox/Part/preview|</noinclude>{{Infobox/Part/Thrust|{{{thrust<noinclude>|0.5</noinclude>}}}}}
+
<noinclude>{{Infobox/Part/preview|
{{Infobox/Part/ISP|{{{isp<noinclude>|4200</noinclude>}}}}}
+
</noinclude>{{Infobox/Part/Thrust|{{{thrust<noinclude>|2</noinclude>}}}|{{{isp-atm<noinclude>|100</noinclude>}}}|{{{isp-vac|<noinclude>4200</noinclude>}}}}}
{{Infobox/Part/consumption|100|{{{thrust<noinclude>|0.5</noinclude>}}}|{{{isp<noinclude>|4200</noinclude>}}}|{{mark|lgu}}|3}}{{Infobox/Part/Line|{{Infobox/Part/Dict|ele-req}}|<abbr title{{=}}"{{#formatnum:{{{ele-req<noinclude>|120</noinclude>}}}|0|{{DS}}|t}}&nbsp;{{mark|echu}}/x">{{Formatnum|{{FuelConsumption|{{{isp-atm<noinclude>|4200</noinclude>}}}|{{{thrust<noinclude>|0.5</noinclude>}}}*{{{ele-req<noinclude>|120</noinclude>}}}|100}}|3}}</abbr>&nbsp;{{mark|echu}}/{{Dict|s}}|{{#if: {{{isp-vac|}}}|<abbr title{{=}}"{{#formatnum:{{#expr: {{{isp-atm<noinclude>|4200</noinclude>}}}/{{{isp-vac}}}*{{{ele-req<noinclude>|120</noinclude>}}}}}|0|{{DS}}|t}}&nbsp;{{mark|echu}}/x">{{Formatnum|{{FuelConsumption|{{{isp-vac}}}|{{{thrust<noinclude>|0.5</noinclude>}}}*{{{ele-req<noinclude>|120</noinclude>}}}|100}}|3}}</abbr>&nbsp;{{mark|echu}}/{{Dict|s}}}}}}<noinclude>}}
+
{{Infobox/Part/ISP|{{{isp-atm<noinclude>|100</noinclude>}}}|{{{isp-vac|<noinclude>4200</noinclude>}}}}}
 +
{{Infobox/Part/consumption|100|{{{thrust<noinclude>|2</noinclude>}}}|{{#if: {{{isp-vac|<noinclude>4200</noinclude>}}}|{{{isp-vac<noinclude>|4200</noinclude>}}}|{{{isp-atm<noinclude>|100</noinclude>}}}}}|{{mark|lgu}}|3}}
 +
{{Infobox/Part/Line|{{Infobox/Part/Dict|ele-req}}|<abbr title{{=}}"{{#formatnum:{{{ele-req<noinclude>|1.8</noinclude>}}}|2|{{DS}}|t}}&nbsp;{{mark|echu}}/x">{{Formatnum|{{FuelConsumption|{{#if: {{{isp-vac|<noinclude>4200</noinclude>}}}|{{{isp-vac<noinclude>|4200</noinclude>}}}|{{{isp-atm<noinclude>|100</noinclude>}}}}}|{{{thrust<noinclude>|2</noinclude>}}}*{{{ele-req<noinclude>|1.8</noinclude>}}}|10}}|2}}</abbr>&nbsp;{{mark|echu}}/{{Dict|s}}}}<noinclude>
 +
}}
  
{{Tl|Infobox/Part}} modules for [[ion engine]]s. It uses {{Tl|Infobox/Part/reaction engine}} and {{Tl|FuelConsumption}}. Other engine types:
+
{{Tl|Infobox/Part}} modules for [[ion engine]]s. It uses {{Tl|Infobox/Part/Thrust}}, {{Tl|Infobox/Part/ISP}}, {{Tl|Infobox/Part/consumption}} and {{Tl|FuelConsumption}}. Other engine types:
 
* [[Liquid fuel engine]]s: {{Tl|Infobox/Part/reaction engine}}
 
* [[Liquid fuel engine]]s: {{Tl|Infobox/Part/reaction engine}}
 
* [[Solid rocket booster]]s: {{Tl|Infobox/Part/solid fuel engine}} (uses reaction engine template)
 
* [[Solid rocket booster]]s: {{Tl|Infobox/Part/solid fuel engine}} (uses reaction engine template)
Line 12: Line 15:
 
{{Parameter row|isp-atm|Specific impulse in seconds at Kerbin's sea level (1 atm)}}
 
{{Parameter row|isp-atm|Specific impulse in seconds at Kerbin's sea level (1 atm)}}
 
{{Parameter row|isp-vac|Specific impulse in seconds in vacuum.|Atmospheric I<sub>sp</sub>}}
 
{{Parameter row|isp-vac|Specific impulse in seconds in vacuum.|Atmospheric I<sub>sp</sub>}}
{{Parameter row|ele-req|Electricity required to use 1 unit of xenon}}}}
+
{{Parameter row|ele-req|Electricity required to use 1 unit of xenon}}
 +
}}
 
{{Subcategory|modules}}</noinclude>
 
{{Subcategory|modules}}</noinclude>

Latest revision as of 16:20, 11 September 2024

Maximum thrust (1 atm) 0.05 kN
(vacuum) 2.00 kN
Isp (1 atm) 100 s
(vacuum) 4200 s
Fuel consumption 0.486 Xenon unit/s
Electricity required 8.74 ⚡/s

{{Infobox/Part}} modules for ion engines. It uses {{Infobox/Part/Thrust}}, {{Infobox/Part/ISP}}, {{Infobox/Part/consumption}} and {{FuelConsumption}}. Other engine types:

Name Optional Description Default
thrust No Maximum thrust in kN
isp-atm No Specific impulse in seconds at Kerbin's sea level (1 atm)
isp-vac Yes Specific impulse in seconds in vacuum. Atmospheric Isp
ele-req No Electricity required to use 1 unit of xenon