Difference between revisions of "Template:Infobox/Body"
From Kerbal Space Program Wiki
(+temperatures in kelvin; +parameter to deactive orbital information (e.g. for Kerbol);) |
|||
Line 15: | Line 15: | ||
|#default=Orbital Characteristics | |#default=Orbital Characteristics | ||
}}''' | }}''' | ||
− | {{PlanetBoxRow|[[w:Semi-major axis|Semi-Major Axis]] |{{{ | + | {{PlanetBoxRow|[[w:Semi-major axis|Semi-Major Axis]] |{{#if: {{{apoap|}}}|{{#if: {{{periap|}}}|{{#expr: ({{{apoap}}} + {{{periap}}})/2|??}}|??}} |m}} |
{{PlanetBoxRow|[[w:Apoapsis|Apoapsis]] |{{{apoap|??}}} |m}} | {{PlanetBoxRow|[[w:Apoapsis|Apoapsis]] |{{{apoap|??}}} |m}} | ||
{{PlanetBoxRow|[[w:Periapsis|Periapsis]] |{{{periap|??}}} |m}} | {{PlanetBoxRow|[[w:Periapsis|Periapsis]] |{{{periap|??}}} |m}} | ||
Line 87: | Line 87: | ||
== Dependencies == | == Dependencies == | ||
Some values are calculated automatically: | Some values are calculated automatically: | ||
+ | * Periapsis: Semi-major axis | ||
+ | * Apoapsis: Semi-major axis | ||
* Radius: Surface Area, Density, Surface Gravity, Synchronous Orbit | * Radius: Surface Area, Density, Surface Gravity, Synchronous Orbit | ||
* Mass: Gravitational Parameter, Density, Surface Gravity, Synchronous Orbit | * Mass: Gravitational Parameter, Density, Surface Gravity, Synchronous Orbit | ||
Line 94: | Line 96: | ||
It will also calculate the Atmospheric Pressure from '''atm''' to '''kPa''' and vice versa. | It will also calculate the Atmospheric Pressure from '''atm''' to '''kPa''' and vice versa. | ||
− | To deactivate orbital information (for example [[Kerbol]]) set <tt><nowiki>{{{orbityorn}}}</nowiki></tt> to <tt>no</tt>. | + | To deactivate orbital information (for example [[Kerbol]]) set <tt><nowiki>{{{orbityorn}}}</nowiki></tt> to <tt>no</tt>. The atmospheric information can be hidden when <tt><nowiki>{{{atmosyorn}}}</nowiki></tt> is set to <tt>no</tt>. On all other values it will show the atmospheric entries. |
== Template == | == Template == | ||
Line 102: | Line 104: | ||
|Parent=?? | |Parent=?? | ||
|orbityorn=?? | |orbityorn=?? | ||
− | |||
|apoap=?? | |apoap=?? | ||
|periap=?? | |periap=?? |
Revision as of 09:47, 16 February 2013
Infobox/Body
Infobox/Body as seen from orbit. | |
?? | |
Orbital Characteristics | |
Physical Characteristics | |
Equatorial Radius | ?? m |
Surface Area | ?? m2 |
Mass | ?? kg |
Gravitational Parameter | ?? m3/s2 |
Density | ?? kg/m3 |
Surface Gravity | ?? m/s2
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:PlanetBoxRow Template:PlanetBoxRow |
Dependencies
Some values are calculated automatically:
- Periapsis: Semi-major axis
- Apoapsis: Semi-major axis
- Radius: Surface Area, Density, Surface Gravity, Synchronous Orbit
- Mass: Gravitational Parameter, Density, Surface Gravity, Synchronous Orbit
- Sidereal Rotation Period: Sidereal Rotational Velocity, Synchronous Orbit
- Scale Height: Atmospheric Height
It will also calculate the Atmospheric Pressure from atm to kPa and vice versa.
To deactivate orbital information (for example Kerbol) set {{{orbityorn}}} to no. The atmospheric information can be hidden when {{{atmosyorn}}} is set to no. On all other values it will show the atmospheric entries.
Template
{{Planetbox |Class=?? |File=?? |Parent=?? |orbityorn=?? |apoap=?? |periap=?? |orbecc=?? |orbinc=?? |anomaly=?? |orbps=?? |orbv=?? |radius=?? |mass=?? |sidrot=?? |SoI=?? |atmosyorn=?? |atmoskPa=?? |atmosatm=?? |atmossh=?? |T-minC=?? |T-maxC=?? |O2yorn=?? }}