Difference between revisions of "Template:Infobox/Part/Thrust"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
m (+deactivate;)
Line 1: Line 1:
<includeonly>{{Infobox/Part/Line|{{Infobox/Part/Dict|Maximum thrust}}|{{Formatnum|{{#if: {{{3|}}}|{{#expr: {{{2}}}/{{{3}}}*{{{1}}}}}|{{{1}}}}}|2}}&nbsp;kN|{{#if: {{{3|}}}|{{Formatnum|{{{1}}}|2}}&nbsp;kN}}}}</includeonly><noinclude>Creates one thrust entry for {{Tl|Infobox/Part}}. Has at least two parameters for the vacuum (?) thrust in kN and I<sub>sp</sub> in seconds.
+
<includeonly>{{Infobox/Part/Line|{{Infobox/Part/Dict|Maximum thrust}}|{{Formatnum|{{#if:<!-- CHECK IF {{{3|}}} SET TO ACTIVATE -->|{{#expr: {{{2}}}/{{{3}}}*{{{1}}}}}|{{{1}}}}}|2}}&nbsp;kN|{{#if:<!-- CHECK IF {{{3|}}} SET TO ACTIVATE -->|{{Formatnum|{{{1}}}|2}}&nbsp;kN}}}}</includeonly><noinclude>Creates one thrust entry for {{Tl|Infobox/Part}}. Has at least two parameters for the vacuum (?) thrust in kN and I<sub>sp</sub> in seconds.
  
 
<div style="border: 1px solid #000;background: #E0E0E0;padding:0.5em 1em;border-bottom:0;text-align:center;font-weight:bold;">Template usage</div>
 
<div style="border: 1px solid #000;background: #E0E0E0;padding:0.5em 1em;border-bottom:0;text-align:center;font-weight:bold;">Template usage</div>
Line 14: Line 14:
 
This template calculates the thrust range and then creates the entry for a {{Tl|Infobox/Part}}.
 
This template calculates the thrust range and then creates the entry for a {{Tl|Infobox/Part}}.
  
<nowiki>[[Category:Templates]]</nowiki></noinclude>
+
[[Category:Templates]]</noinclude>

Revision as of 15:39, 12 July 2013

Creates one thrust entry for {{Infobox/Part}}. Has at least two parameters for the vacuum (?) thrust in kN and Isp in seconds.

Template usage
When in a future version the thrust depends on the Isp. With 0.19.1 the fuel consumption is changing, but in future version the fuel consumption is constant and the thrust varies. To support this change, all engine subtemplates should use this template so if the update occurs only this template needs to be changed.

Template:Parameter Table

This template calculates the thrust range and then creates the entry for a {{Infobox/Part}}.