Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
(Calculate surface area and density instead of requiring them to be parameters.)
Line 36: Line 36:
 
|-
 
|-
 
| [[w:Surface Area|Surface Area]]
 
| [[w:Surface Area|Surface Area]]
|{{{surfarea|??}}} m<sup>2</sup>
+
| {{#expr: 4 * pi * {{{0}}} round2 }} m<sup>2</sup>
 
|-
 
|-
 
| [[w:Mass|Mass]]
 
| [[w:Mass|Mass]]
Line 42: Line 42:
 
|-
 
|-
 
| [[w:Density|Density]]
 
| [[w:Density|Density]]
|{{{density|??}}} kg/m<sup>3</sup>
+
| {{#expr: {{{mass|0}}} / (4 * pi * {{{radius|1}}}^3 / 3) round2 }} kg/m<sup>3</sup>
 
|-
 
|-
 
| [[w:Surface_gravity|Surface Gravity]]
 
| [[w:Surface_gravity|Surface Gravity]]

Revision as of 22:52, 17 October 2012

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 Expression error: Unrecognized punctuation character "{". m2
Mass ?? kg
Density 0 kg/m3
Surface Gravity ?? m/s2
Escape velocity ?? m/s
Sidereal Rotation Period ?? s
Sidereal Rotational Velocity ?? m/s
Synchronous Orbit ?? m
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=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}