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

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*made category more specific;)
(+where argument;)
 
(6 intermediate revisions by 4 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:{{#expr: {{{1}}}*{{gisp}}}}|1|{{DS}}|t}}&nbsp;m/s">{{{1}}}&nbsp;s</abbr>|3={{#if: {{{2|}}}|<abbr title="{{#formatnum:{{#expr: {{{2}}}*9.81}}|1|{{DS}}|t}}&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.
+
<includeonly>{{Infobox{{#if: {{{where|}}}||/Part}}/Line|{{lang|en=[[Specific impulse|I<sub>sp</sub>]]|de=[[Terminology/de#isp|I<sub>sp</sub>]]|ja=[[Specific impulse/ja|比推力]]|ru=[[Specific impulse/ru|I<sub>пуст</sub>]]|hu=[[Specific impulse/hu|I<sub>sp</sub>]]}}|2=<abbr title="{{#formatnum:{{#expr: {{{1}}}*{{gisp}}}}|1|{{DS}}|t}}&nbsp;{{Dict|m}}/{{Dict|s}}">{{{1}}}&nbsp;{{Dict|s}}</abbr>|3={{#if: {{{2|}}}|<abbr title="{{#formatnum:{{#expr: {{{2}}}*{{gisp}}}}|1|{{DS}}|t}}&nbsp;{{Dict|m}}/{{Dict|s}}">{{{2}}}&nbsp;{{Dict|s}}</abbr>}}|type1={{#if: {{{where|}}}|{{{where|}}}}}}}</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.
  
[[Category:Infobox/Part Metatemplates]]</noinclude>
+
Alternatively {{{where}}} could be used to describe where the first value is defined.
 +
 
 +
[[Category:Calculating templates]]
 +
[[Category:Infobox/Part metatemplates]]</noinclude>

Latest revision as of 20:54, 3 December 2014

Creates one Isp entry for {{Infobox/Part}}. Has at least one parameter ({{{1}}}) for the Isp at atmospheric pressure (or if no difference exists for all situations) and could be use {{{2}}} for the Isp in vacuum.

Alternatively {{{where}}} could be used to describe where the first value is defined.