Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Don't make the headers smaller than the rest of the table.)
m (Don't use sigfigs if orbps is "N/A" or undefined.)
Line 20: Line 20:
 
{{PlanetBoxRow|[[w:Orbital_Inclination|Orbital Inclination]]  |{{{orbinc|??}}} |°}}
 
{{PlanetBoxRow|[[w:Orbital_Inclination|Orbital Inclination]]  |{{{orbinc|??}}} |°}}
 
{{PlanetBoxRow|[[w:Mean_Anomaly|Mean Anomaly]]                |{{{anomaly|??}}}|°}}
 
{{PlanetBoxRow|[[w:Mean_Anomaly|Mean Anomaly]]                |{{{anomaly|??}}}|°}}
{{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]]            |{{#if: {{{orbps|}}}|{{sigfigs|        {{{orbps}}}        |8}}|??}} |s}}
+
{{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]]            |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs|        {{{orbps}}}        |8}}}} |s}}
{{PlanetBoxRow|                                              |{{#if: {{{orbps|}}}|{{sigfigs|{{#expr: {{{orbps}}} / 3600}}|8}}|??}} |hours}}
+
{{PlanetBoxRow|                                              |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs|{{#expr: {{{orbps}}} / 3600}}|8}}}} |hours}}
 
{{PlanetBoxRow|[[w:Orbital_Velocity|Orbital Velocity]]        |{{{orbv|??}}}  |m/s}}
 
{{PlanetBoxRow|[[w:Orbital_Velocity|Orbital Velocity]]        |{{{orbv|??}}}  |m/s}}
 
|-
 
|-

Revision as of 16:31, 25 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 12.566371 m2
Mass ?? kg
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=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}