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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*link to specific impulse article; *use gisp to convert between m/s and seconds;)
m (Second param is optional)
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox/Part/Line|{{lang|en=[[Specific impulse|I<sub>sp</sub>]]|de=[[Terminology/de#isp|I<sub>sp</sub>]]}}|2=<abbr title="{{Formatnum/Core|{{#expr: {{{1}}}*{{gisp}}}}|1}}&nbsp;m/s">{{{1}}}&nbsp;s</abbr>|3={{#if: {{{2|}}}|<abbr title="{{Formatnum/Core|{{#expr: {{{2}}}*9.81}}|1}}&nbsp;m/s">{{{2}}}&nbsp;s</abbr>}}}}</includeonly><noinclude>Creates one I<sub>sp</sub> entry for {{Tl|Infobox/Part}}. Has at least one parameter ({{{1}}}) for the I<sub>sp</sub> at atmospheric pressure (or if no difference exists for all situations) and could be use {{{2}}} for the I<sub>sp</sub> in vacuum.
+
<noinclude>{{Infobox/Part/preview|
 +
</noinclude>{{Infobox{{#if: {{{where|}}}||/Part}}/Line|{{Infobox/Part/Dict|Isp}}|2=<abbr title="{{#formatnum:{{#expr: {{{1<noinclude>|388</noinclude>}}}*{{gisp}}}}|1|{{DS}}|t}}&nbsp;{{Dict|m}}/{{Dict|s}}">{{{1<noinclude>|388</noinclude>}}}&nbsp;{{Dict|s}}</abbr>|3={{#if: {{{2|<noinclude>390</noinclude>}}}|<abbr title="{{#formatnum:{{#expr: {{{2<noinclude>|390</noinclude>}}}*{{gisp}}}}|1|{{DS}}|t}}&nbsp;{{Dict|m}}/{{Dict|s}}">{{{2<noinclude>|390</noinclude>}}}&nbsp;{{Dict|s}}</abbr>}}|type1={{#if: {{{where|}}}|{{{where|}}}}}}}<noinclude>
 +
}}
  
[[Category:Templates]]</noinclude>
+
Creates one I<sub>sp</sub> entry for {{Tl|Infobox/Part}}.
 +
 
 +
{{Parameter table|name=number|parameters=
 +
{{Parameter row|1|I<sub>sp</sub> in seconds in an atmosphere.}}
 +
{{Parameter row|2|I<sub>sp</sub> in seconds in a vacuum.|Not set}}
 +
{{Parameter row|where|Describes where the first value is defined.|Not set}}
 +
}}
 +
 
 +
[[Category:Calculating templates]]
 +
[[Category:Infobox/Part metatemplates]]</noinclude>

Latest revision as of 13:56, 11 September 2024

Isp (1 atm) 388 s
(vacuum) 390 s

Creates one Isp entry for {{Infobox/Part}}.

# Optional Description Default
1 No Isp in seconds in an atmosphere.
2 Yes Isp in seconds in a vacuum. Not set
where Yes Describes where the first value is defined. Not set