Difference between revisions of "Template:OrbitAltitude"
From Kerbal Space Program Wiki
m (Fix #if.) |
m (Fix comment.) |
||
Line 23: | Line 23: | ||
--> {{{round|}}} <!-- | --> {{{round|}}} <!-- | ||
-->}} {{{suffix|m}}}<!-- | -->}} {{{suffix|m}}}<!-- | ||
− | -->}} | + | -->}}<noinclude> |
− | <noinclude> | ||
{| class="wikitable" | {| class="wikitable" |
Revision as of 23:33, 17 October 2012
Expression error: Unrecognized punctuation character "{". m
Usage | Produces |
---|---|
{{OrbitAltitude | period_s=64980 | mass_kg=4.515e21 | radius_km=320}} |
0.00 m |
{{OrbitAltitude | period_s=64980 | mass_kg=4.515e21 | radius_m=320000}} |
0.00 m |
This template calculates the altitude of an orbit, given the mass of the planet (in kg), the planet's radius (in km), and the period of the orbit (in seconds).