Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Fix synchronous orbit calculation.)
(Round mass and sidrot so they can be specified with more precision (for calculations) without looking unsightly.)
Line 39: Line 39:
 
|-
 
|-
 
| [[w:Mass|Mass]]
 
| [[w:Mass|Mass]]
|{{{mass|??}}} kg
+
|{{#if {{{mass|}}}|{{#expr: {{{mass}}} round2}}|??}} kg
 
|-
 
|-
 
| [[w:Density|Density]]
 
| [[w:Density|Density]]
Line 46: Line 46:
 
{{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}}
{{PlanetBoxRow|[[w:Rotation_period|Sidereal Rotation Period]]        |{{{sidrot|??}}}|s}}
+
{{PlanetBoxRow|[[w:Rotation_period|Sidereal Rotation Period]]        ||{{#if {{{sidrot|}}}|{{#expr: {{{sidrot}}} round2}}|??}} kg|s}}
 
{{PlanetBoxRow|[[w:Sidereal_time|Sidereal Rotational Velocity]]      |{{{sidv|??}}}|m/s}}
 
{{PlanetBoxRow|[[w:Sidereal_time|Sidereal Rotational Velocity]]      |{{{sidv|??}}}|m/s}}
 
{{PlanetBoxRow|[[w:Synchronous_orbit|Synchronous Orbit]]              |<!--
 
{{PlanetBoxRow|[[w:Synchronous_orbit|Synchronous Orbit]]              |<!--

Revision as of 23:59, 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 0 m2
Mass Expression error: Unrecognized punctuation character "{".|??}} kg
Density 0 kg/m3

Template:PlanetBoxRow 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=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}