Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Hide atmosphere information if no atmosphere is present.)
m (Calculate surface gravity on the fly.)
Line 48: Line 48:
 
|-
 
|-
 
| [[w:Surface_gravity|Surface Gravity]]
 
| [[w:Surface_gravity|Surface Gravity]]
| {{{gravityv|??}}} m/s<sup>2</sup>
+
| {{sigfigs|{{#expr: {{{mass}}} * {{G}} / ({{{radius}}}^2)}}|3}} m/s<sup>2</sup>
 
{{PlanetBoxRow|[[w:Escape_velocity|Escape Velocity]]                  <!--
 
{{PlanetBoxRow|[[w:Escape_velocity|Escape Velocity]]                  <!--
 
-->    |{{#expr: (2 * {{G}} * {{{mass|0}}} / {{{radius|1}}})^0.5 round2 }}|m/s}}
 
-->    |{{#expr: (2 * {{G}} * {{{mass|0}}} / {{{radius|1}}})^0.5 round2 }}|m/s}}

Revision as of 23:15, 12 January 2013

Infobox/Body
Planet image
Infobox/Body as seen from orbit.
??
Orbital Characteristics

Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow

Physical Characteristics
Equatorial Radius ?? m
Surface Area 12.566371 m2
Mass ?? kg
Gravitational Parameter ?? m3/s2
Density 0.23873241 kg/m3
Surface Gravity Expression error: Unexpected < operator. m/s2

Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow

Sphere of Influence ?? m
Atmospheric Characteristics

Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow


Template

{{Planetbox
|Class=??
|File=??
|Parent=??
|smaxis=??
|apoap=??
|periap=??
|orbecc=??
|orbinc=??
|anomaly=??
|orbps=??
|orbph=??
|orbv=??
|radius=??
|surfarea=??
|mass=??
|gravPar=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}