Difference between revisions of "Template:OrbitAltitude/Core"
From Kerbal Space Program Wiki
m (!apply correct name for factor;) |
m (*moved template;) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#expr:(((({{#if: {{{1|}}}{{#if: {{{b|}}}||1}}|{{{1}}}|{{ | + | <includeonly>{{#expr:(((({{#if: {{{1|}}}{{#if: {{{b|}}}||1}}|{{{1}}}|{{Body data|{{{b}}}|sidrot}}}}{{#if: {{{pf|}}}|*{{{pf}}}}})^2 * {{G}} * {{#if: {{{2|}}}{{#if: {{{b|}}}||1}}|{{{2}}}|{{Body data|{{{b}}}|mass}}}}/(4 * pi^2)) ^ (1/3)) - {{#if: {{{3|}}}{{#if: {{{b|}}}||1}}|{{#if: {{{3|}}}|{{{3}}}|0}}|{{Body data|{{{b}}}|radius}}}}) {{#switch: {{{f|}}} |
|k=/1000 | |k=/1000 | ||
|M=/1000000 | |M=/1000000 |
Revision as of 12:05, 27 August 2014
Calculates the orbital height without any formatting.