Template:OrbitAltitude

From Kerbal Space Program Wiki
Revision as of 14:18, 28 August 2017 by Aru (talk | contribs)
Jump to: navigation, search
(OrbitAltitude)
[[File:OrbitAltitude/Param|270x270px|center|(OrbitAltitude)]]
OrbitAltitude as seen from orbit.
[[OrbitAltitude/Param|OrbitAltitude/Param]] of [[OrbitAltitude/Param|OrbitAltitude/Param]]
Orbital Characteristics
Semi-major axis 0 m [Note 1]
Apoapsis 0 m [Note 1]
Periapsis 0 m [Note 1]
Orbital eccentricity Expression error: Unrecognized punctuation character "[".
Orbital inclination Expression error: Unrecognized punctuation character "[". °
Argument of periapsis OrbitAltitude/Param °
Longitude of the ascending node OrbitAltitude/Param °
Mean anomaly Expression error: Unrecognized punctuation character "[". rad (at 0s UT)
Sidereal orbital period 0 s
Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. Expression error: Unexpected < operator. s
Synodic orbital period 0.0 s
Orbital velocity 0 - 0 m/s
Physical Characteristics
Equatorial radius 0 m
Equatorial circumference 0 m
Surface area Expression error: Unexpected < operator. m2
Mass Expression error: Unexpected < operator. kg
Standard gravitational parameter Expression error: Unexpected < operator. m3/s2
Density Expression error: Unexpected < operator. kg/m3
Surface gravity Expression error: Unexpected < operator. m/s2 (Expression error: Unrecognized punctuation character "[". g)
Escape velocity 0.00 m/s
Sidereal rotation period Expression error: Unrecognized punctuation character "[". s
Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[". Expression error: Unrecognized punctuation character "[". s
Sidereal rotational velocity Expression error: Unexpected < operator. m/s
Synchronous orbit 0.00 km
Sphere of influence Expression error: Unexpected < operator. m [Note 1]
Atmospheric Characteristics
Atmosphere present Expression error: Unrecognized punctuation character "[".

Expression error: Unrecognized punctuation character "[".

Scientific multiplier
Surface OrbitAltitude/Param
Splashed OrbitAltitude/Param

Expression error: Unrecognized punctuation character "[".

Near space OrbitAltitude/Param
Outer space OrbitAltitude/Param
Recovery OrbitAltitude/Param

  1. 1.0 1.1 1.2 1.3 The distances are given from the body's center, not from the surface (unlike ingame)

Usage

This template don't need any parameters and instead uses only {{Body data}} to gather the data. Because of this the orbital and physical properties are stored in a subpage named Param.

To orbital information is deactivated (for example Kerbol) when {{Body data}} for the property parent returns nothing. The atmospheric information is only visible when {{Body data}} for the property pressure returns a value higher than 0.

Ingame the apsides are shown from the body surface. But because all values which depend on them needs to be from the center the values must be from the centers of the bodies.

Dependencies

Some values are calculated automatically:

  • Semi-major axis & Orbital eccentricity: Apoapsis, Periapsis, Synodic orbital period, Orbital velocity, Solar day, Sphere of influence
  • Semi-major axis (km): Sidereal orbital period
  • Radius & Surface gravity: Mass, Sidereal orbital period, Density, Synchronous orbit, Orbital velocity
  • Radius (km): Surface area
  • Surface gravity (gees): Gravitational parameter, Sphere of influence
  • Sidereal rotation period (s): Sidereal rotational velocity, Synchronous orbit, Solar day
  • Atmospheric pressure (in atm): Atmospheric pressure (in kPa)

The Synodic orbital period is not defined for Kerbin.

Template

{{Infobox/Body}}
{{#switch: {{{1}}}
|name=
|class=
|file=
|parent=
|semi-major axis=
|apoapsis=
|periapsis=
|eccentricity=
|orbinc=
|pe arg=
|an arg=
|anomaly=
|radius=
|mass=
|gravity gees=
|sidrot=
|highest=
|highest latitude=
|highest longitude=
|pressure=
|scale height=
|atmospheric height=
|min temp=
|max temp=
|oxygen=
|sci surf=
|sci lower atmo=
|sci upper atmo=
|sci near space=
|sci outer space=1
|#default={{{2|}}}
}}

Example

Example param subpage used for this page:

<noinclude>{{Data template used}}</noinclude>{{#switch: {{{1}}}
|name=Infobox
|class=Planet
|file=Image needed.svg
|parent=Gilly
|semi-major axis=1807000
|eccentricity=0.47980077476480365
|orbinc=7.4
|pe arg=4
|an arg=7
|anomaly=4.2
|radius=10000
|gravity gees=6.805667582711731
|sidrot=3600
|pressure=1
|atmospheric height=40000
|min temp=-42
|max temp=47
|oxygen=no
|sci landed surf=10
|sci splashed surf=6
|sci lower atmo=8
|sci upper atmo=8
|sci border atmo=20000
|sci near space=6
|sci outer space=6
|sci border space=100000
|sci recovery=5
|#default={{{2|}}}
}}

Translating

To translate this template see also this article.

This template supports the following languages:

  • English: Everything supported
  • Español (Spanish): Everything is supported but it needs to be proof-readed. Todo está apoyado pero necesita estar corregido.
  • Nederlands (Dutch): Everything supported
  • Français (French): Everything supported
  • Русский (Russian): Everything supported
  • Polski (Polish): Everything supported
  • German (Deutsch): Everything supported
  • Portuguese (Português) Some parameters supported
  • Swedish (Svenska): Most parameters supported
  • Thai (ไทย): Some parameters supported
  • Turkish (Türkçe): Most parameters supported
  • Italian (italiano): Some parameter supported
  • Korean (한국어) : Everything supported
  • Croatian (hrvatski) : Everything supported
  • Hungarian (magyar) : Everything supported
  • Japanese (日本語) : Everything supported