Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (!solar day only for planets;)
Line 89: Line 89:
 
{{Infobox/Line|{{lang|en=[[w:Rotation_period|Sidereal rotation period]]|es=[[w:es:Periodo_de_rotación|sidéreo periodo de rotación]]|nl=[[w:nl:Rotatieperiode|Rotatieperiode]]|fr=[[w:fr:Période de Rotation|Période de Rotation]]|pl=[[w:pl:Okres_obrotu|Okres obrotu]]|hr=[[w:hr:Siderički dan|Siderički dan]]|ru=[[w:ru:Период_вращения|Период вращения]]|de=[[w:de:Siderischer Tag|Siderischer Tag]]|sv=[[w:sv:Rotationsperiod|Rotationstid]]|zh-cn=[[w:zh-cn:自转周期|自转周期]]|tr=[[w:tr:Kendi Eksenini Tamamlama Süresi|Kendi Eksenini Tamamlama Süresi]]|it=Periodo rotazione siderale|ko=[[w:ko:자전_주기|자전 주기]]|pt=[[w:pt:Período rotacional|Período rotacional]]|hu=[[w:Rotation_period|Forgási idő]]|ja=[[w:ja:自転周期|自転周期]]}}
 
{{Infobox/Line|{{lang|en=[[w:Rotation_period|Sidereal rotation period]]|es=[[w:es:Periodo_de_rotación|sidéreo periodo de rotación]]|nl=[[w:nl:Rotatieperiode|Rotatieperiode]]|fr=[[w:fr:Période de Rotation|Période de Rotation]]|pl=[[w:pl:Okres_obrotu|Okres obrotu]]|hr=[[w:hr:Siderički dan|Siderički dan]]|ru=[[w:ru:Период_вращения|Период вращения]]|de=[[w:de:Siderischer Tag|Siderischer Tag]]|sv=[[w:sv:Rotationsperiod|Rotationstid]]|zh-cn=[[w:zh-cn:自转周期|自转周期]]|tr=[[w:tr:Kendi Eksenini Tamamlama Süresi|Kendi Eksenini Tamamlama Süresi]]|it=Periodo rotazione siderale|ko=[[w:ko:자전_주기|자전 주기]]|pt=[[w:pt:Período rotacional|Período rotacional]]|hu=[[w:Rotation_period|Forgási idő]]|ja=[[w:ja:自転周期|自転周期]]}}
 
|{{sigfigs|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|8}} {{lang|en=s|ru=с}}
 
|{{sigfigs|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|8}} {{lang|en=s|ru=с}}
|<small>{{ExpandTime|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}</small>}}{{if|eq|{{{name|{{BASEPAGENAME}}}}}|Kerbol||
+
|<small>{{ExpandTime|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}</small>}}{{if|eq|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol||
 
{{Infobox/Line|{{lang|en=[[w:Solar time|Solar day]]|de=[[w:de:Synodische Periode|Sonnentag]]|hu=[[w:Solar time|Nap hossza]]|ja=[[w:ja:太陽時|太陽日]]}}|{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/(1-{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}})}}|8}}&nbsp;{{lang|en=s|ru=с}}|<small>{{ExpandTime|({{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/(1-{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}))}}</small>}}}}
 
{{Infobox/Line|{{lang|en=[[w:Solar time|Solar day]]|de=[[w:de:Synodische Periode|Sonnentag]]|hu=[[w:Solar time|Nap hossza]]|ja=[[w:ja:太陽時|太陽日]]}}|{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/(1-{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}})}}|8}}&nbsp;{{lang|en=s|ru=с}}|<small>{{ExpandTime|({{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/(1-{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sidrot}}/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}))}}</small>}}}}
 
{{Infobox/Line|{{lang|en=[[w:Sidereal_time|Sidereal rotational velocity]]|es=[[w:es:Tiempo_sidéreo|sidéreo velocidad rotacional]]|nl=[[w:Sidereal_time|Sterrenomloop snelheid]]|fr=[[w:fr:Temps Sidéral|Temps Sidéral]]|pl=[[w:pl:Czas_gwiazdowy|Gwiazdowa prędkość obrotowa]]|hr=Brzina sideričke rotacije|ru=[[w:ru:Звёздное_время|Экваториальная скорость вращения]]|de=[[w:Sidereal time|Rotations&shy;geschwindig&shy;keit]]|sv=[[w:sv:Vinkelhastighet|Rotationshastighet]]|zh-cn=[[w:zh-cn:恒星时|赤道线速度]]|tr=[[w:tr:Yıldız Zamanı|Yıldız Zamanı]]|it=Velocità rotazione siderale|ko=자전 속도|pt=[[w:pt:Tempo sideral|Velocidade de rotação sideral]]|hu=[[w:Sidereal_time|Forgási sebesség]]|ja=[[w:ja:恒星時|恒星回転速度]]}}
 
{{Infobox/Line|{{lang|en=[[w:Sidereal_time|Sidereal rotational velocity]]|es=[[w:es:Tiempo_sidéreo|sidéreo velocidad rotacional]]|nl=[[w:Sidereal_time|Sterrenomloop snelheid]]|fr=[[w:fr:Temps Sidéral|Temps Sidéral]]|pl=[[w:pl:Czas_gwiazdowy|Gwiazdowa prędkość obrotowa]]|hr=Brzina sideričke rotacije|ru=[[w:ru:Звёздное_время|Экваториальная скорость вращения]]|de=[[w:Sidereal time|Rotations&shy;geschwindig&shy;keit]]|sv=[[w:sv:Vinkelhastighet|Rotationshastighet]]|zh-cn=[[w:zh-cn:恒星时|赤道线速度]]|tr=[[w:tr:Yıldız Zamanı|Yıldız Zamanı]]|it=Velocità rotazione siderale|ko=자전 속도|pt=[[w:pt:Tempo sideral|Velocidade de rotação sideral]]|hu=[[w:Sidereal_time|Forgási sebesség]]|ja=[[w:ja:恒星時|恒星回転速度]]}}

Revision as of 23:47, 17 April 2014

Infobox
Infobox
Infobox as seen from orbit.
Planet of Gilly
Orbital Characteristics
Semi-major axis 1 807 000 m [Note 1]
Apoapsis 2 674 000 m [Note 1]
Periapsis 940 000 m [Note 1]
Orbital eccentricity 0.48
Orbital inclination 7.4 °
Argument of periapsis 4 °
Longitude of the ascending node 7 °
Mean anomaly 4.2 rad (at 0s UT)
Sidereal orbital period 5 300 957 s
245 d 2 h 29 m 16.5 s
Synodic orbital period 419 326.1 s
Orbital velocity 1 - 4 m/s
Physical Characteristics
Equatorial radius 10 000 m
Equatorial circumference 62 832 m
Surface area 1.2566371×109 m2
Mass 1.0000000×1020 kg
Standard gravitational parameter 6.6740800×109 m3/s2
Density 23 873 241 kg/m3
Surface gravity 66.7 m/s2 (6.806 g)
Escape velocity 1 155.34 m/s
Sidereal rotation period 3 600.0000 s
1 h 0 m 0 s
Sidereal rotational velocity 17.453 m/s
Synchronous orbit 119.88 km
Sphere of influence 26 260 587 m [Note 1]
Atmospheric Characteristics
Atmosphere present Yes
Atmospheric pressure 101.325 kPa
1 atm
Atmospheric height 40 000 m
1.0×10-6 atm
Temperaturemin -42 °C 231.15 K
Temperaturemax 47 °C 320.15 K
Oxygen present No
Scientific multiplier
Surface 10
Splashed 6
Lower atmosphere 8
Upper atmosphere 8
Near space 6
Outer space 6
Recovery 5

  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 {{BodyData}} 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 {{BodyData}} for the property parent returns nothing. The atmospheric information is only visible when {{BodyData}} for the property pressure returns a value higher than 0. The infobox does only display the science multiplier for low space and atmospheric flights, because the multiplier for the high space and atmosphere are identical. But the entries are still named sci near space and sci lower atmo.

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:

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

The Synodic orbital period is not defined for Kerbin.

Template

{{Infobox/Body}}
{{#switch: {{{1}}}
|name=
|class=
|file=
|parent=
|apoapsis=
|periapsis=
|orbinc=
|pe arg=
|an arg=
|anomaly=
|radius=
|mass=
|sidrot=
|highest=
|highest latitude=
|highest longitude=
|pressure=
|scale 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): Subsections (like “Orbital Characteristics”) and most of the columns are supported
  • Français (French): Subsections (like “Orbital Characteristics”) and most of the columns are supported
  • Русский (Russian): Everything supported
  • Polski (Polish): Everything supported
  • German (Deutsch): Everything supported
  • Portuguese (Português) Some parameters supported
  • Swedish (Svenska): Most 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