Difference between revisions of "Template:Infobox/Body"
From Kerbal Space Program Wiki
(!parent info; !remove unit if GSO > SoI; +link to parent;) |
(+temperatures in kelvin; +parameter to deactive orbital information (e.g. for Kerbol);) |
||
Line 3: | Line 3: | ||
<div style="background: #000">[[File:{{{File|Image-needed.png}}}|280px|Planet image]]</div> | <div style="background: #000">[[File:{{{File|Image-needed.png}}}|280px|Planet image]]</div> | ||
{| style="padding: 0.5em; font-size: 90%" | {| style="padding: 0.5em; font-size: 90%" | ||
− | | colspan="2" style="text-align: center;" | <small>{{{Name|{{PAGENAME}}}}} as seen from orbit.</small> | + | | colspan="2" style="text-align: center; width: 100%;" | <small>{{{Name|{{PAGENAME}}}}} as seen from orbit.</small> |
|- | |- | ||
− | | colspan="2" style="text-align: center;" | | + | | colspan="2" style="text-align: center;" | [[{{{Class|??}}}]] {{#if: {{{Parent|}}}|of [[{{{Parent}}}]]}} |
|- | |- | ||
− | | colspan="2" | + | {{#ifeq: {{{orbityorn|yes}}}|no|| |
+ | {{!}} colspan="2" {{!}} '''{{#switch:{{{1}}} | ||
|=Orbital Characteristics | |=Orbital Characteristics | ||
|ru=Орбитальные характеристики | |ru=Орбитальные характеристики | ||
Line 22: | Line 23: | ||
{{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]] |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs| {{{orbps}}} |8}}}} |s}} | {{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]] |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs| {{{orbps}}} |8}}}} |s}} | ||
{{PlanetBoxRow| |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs|{{#expr: {{{orbps}}} / 3600}}|8}}}} |hours}} | {{PlanetBoxRow| |{{#ifeq: {{{orbps|N/A}}}|N/A|{{{orbps}}}|{{sigfigs|{{#expr: {{{orbps}}} / 3600}}|8}}}} |hours}} | ||
− | {{PlanetBoxRow|[[w:Orbital_speed|Orbital Velocity]] |{{{orbv|??}}} |m/s}} | + | {{PlanetBoxRow|[[w:Orbital_speed|Orbital Velocity]] |{{{orbv|??}}} |m/s}}| |
+ | }} | ||
|- | |- | ||
| colspan="2" | '''{{#switch:{{{1}}} | | colspan="2" | '''{{#switch:{{{1}}} | ||
Line 76: | Line 78: | ||
{{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}} | ||
− | {{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|{{{T-minC|??}}} | + | {{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|{{{T-minC|??}}} °C <small>{{#if: {{{T-minC|}}}|{{#expr: {{{T-minC}}} + 273.15}}|??}} K</small>|}} |
− | {{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>max</sub>]]|{{{T-maxC|??}}} | + | {{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>max</sub>]]|{{{T-maxC|??}}} °C <small>{{#if: {{{T-maxC|}}}|{{#expr: {{{T-maxC}}} + 273.15}}|??}} K</small>|}} |
{{PlanetBoxRow|[[w:Oxygen|Oxygen Present]] |{{{O2yorn|??}}} |}} | {{PlanetBoxRow|[[w:Oxygen|Oxygen Present]] |{{{O2yorn|??}}} |}} | ||
|No= | |No= | ||
Line 91: | Line 93: | ||
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>. | ||
== Template == | == Template == | ||
Line 97: | Line 101: | ||
|File=?? | |File=?? | ||
|Parent=?? | |Parent=?? | ||
+ | |orbityorn=?? | ||
|smaxis=?? | |smaxis=?? | ||
|apoap=?? | |apoap=?? |
Revision as of 01:11, 16 February 2013
Infobox/Body
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 | ?? 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:
- 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.
Template
{{Planetbox |Class=?? |File=?? |Parent=?? |orbityorn=?? |smaxis=?? |apoap=?? |periap=?? |orbecc=?? |orbinc=?? |anomaly=?? |orbps=?? |orbv=?? |radius=?? |mass=?? |sidrot=?? |SoI=?? |atmosyorn=?? |atmoskPa=?? |atmosatm=?? |atmossh=?? |T-minC=?? |T-maxC=?? |O2yorn=?? }}