Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Fix brackets.)
(+automatic conversion from kPa ←→ atm;)
Line 73: Line 73:
 
{{#switch:{{{atmosyorn|??}}}
 
{{#switch:{{{atmosyorn|??}}}
 
|#default=
 
|#default=
{{PlanetBoxRow|[[w:Atmospheric_pressure|Atmospheric Pressure]]        |{{{atmoskPa|??}}} |kPa}}
+
{{PlanetBoxRow|[[w:Atmospheric_pressure|Atmospheric Pressure]]        |{{#if: {{{atmoskPa|}}}|{{{atmoskPa|}}}|{{#if: {{{atmosatm|}}}|{{sigfigs|{{#expr: {{{atmosatm|}}} * 101.327}}|3}}|??}} |kPa}}
{{PlanetBoxRow|                                                      |{{{atmosatm|??}}} |atm}}
+
{{PlanetBoxRow|                                                      |{{#if: {{{atmosatm|}}}|{{{atmosatm|}}}|{{#if: {{{atmoskPa|}}}|{{sigfigs|{{#expr: {{{atmoskPa|}}} / 101.327}}|3}}|??}} |atm}}
 
{{PlanetBoxRow|[[w:Scale_height|Scale Height]]                        |{{{atmossh|??}}}  |m}}
 
{{PlanetBoxRow|[[w:Scale_height|Scale Height]]                        |{{{atmossh|??}}}  |m}}
 
{{PlanetBoxRow|[[w:Atmospheric_height|Atmospheric Height]]            |{{#if: {{{atmossh|}}}|{{sigfigs|{{#expr: ln1e-6 * -{{{atmossh|}}}}}|8}}|??}}  |m}}
 
{{PlanetBoxRow|[[w:Atmospheric_height|Atmospheric Height]]            |{{#if: {{{atmossh|}}}|{{sigfigs|{{#expr: ln1e-6 * -{{{atmossh|}}}}}|8}}|??}}  |m}}

Revision as of 11:25, 7 February 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 {{#switch:??

#default=

{{PlanetBoxRow|Atmospheric Pressure |?? 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=??
|atmosatm=??
|atmossh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}