Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Calculate the gravitational parameter on the fly.)
(removing the pagename field from synchronous orbit, it's confusing, stupid, unnecessary, and syntactically incorrect.)
Line 51: Line 51:
 
{{PlanetBoxRow|[[w:Rotation_period|Sidereal Rotation Period]]        |{{#if: {{{sidrot|}}}|{{sigfigs|{{{sidrot}}}|8}}|??}}|s}}
 
{{PlanetBoxRow|[[w:Rotation_period|Sidereal Rotation Period]]        |{{#if: {{{sidrot|}}}|{{sigfigs|{{{sidrot}}}|8}}|??}}|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|{{PAGENAME}}synchronous Orbit]]              |{{#ifeq: {{{SoI}}}|N/A|N/A|<!--
+
{{PlanetBoxRow|[[w:Synchronous_orbit|synchronous Orbit]]              |{{#ifeq: {{{SoI}}}|N/A|N/A|<!--
 
--> {{#ifexpr:    {{OrbitAltitude | radius_m={{{radius|1}}} | mass_kg={{{mass|9999999}}} | period_s={{{sidrot|9999999}}} | suffix= }} < {{{SoI|0}}} <!--
 
--> {{#ifexpr:    {{OrbitAltitude | radius_m={{{radius|1}}} | mass_kg={{{mass|9999999}}} | period_s={{{sidrot|9999999}}} | suffix= }} < {{{SoI|0}}} <!--
 
-->    |{{sigfigs|{{OrbitAltitude | radius_m={{{radius|1}}} | mass_kg={{{mass|9999999}}} | period_s={{{sidrot|9999999}}} | suffix= }}|8}} <!--
 
-->    |{{sigfigs|{{OrbitAltitude | radius_m={{{radius|1}}} | mass_kg={{{mass|9999999}}} | period_s={{{sidrot|9999999}}} | suffix= }}|8}} <!--

Revision as of 19:15, 7 December 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 12.566371 m2
Mass ?? kg
Gravitational Parameter ?? m3/s2
Density 0.23873241 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=??
|gravPar=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}