Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Still trying to fix the cite parsing error (sorry. I promise I'll be more careful next time. I just CANT GET THIS FIXED))
(Well I've wasted a total of two hours of my life on this. Please fix it without removing my work, if possible -_-)
Line 53: Line 53:
 
{{Infobox/Line|{{lang|en=[[w:Orbital_Inclination|es=[[w:es:Inclinación_orbital|Inclinación orbital]]|nl=[[w:nl:Glooiingshoek|Glooiingshoek]]|fr=[[w:fr:Inclinaison|Inclinaison Orbitale]]|pl=[[w:pl:Inklinacja|Inklinacja orbity]]|hr=[[w:hr:Inklinacija|Inklinacija]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.9D.D0.B0.D0.BA.D0.BB.D0.BE.D0.BD.D0.B5.D0.BD.D0.B8.D0.B5|Наклонение]]|de=[[w:de:Bahnneigung|Bahnneigung]]|sv=[[w:sv:Banlutning|Inklination]]|zh-cn=[[w:zh-cn:轨道倾角|轨道倾角]]|tr=[[w:tr:Yörünge Eğikliği|Yörünge Eğikliği]]|ko=[[w:ko:궤도경사|궤도경사]]|it=Inclinazione orbita|pt=[[w:pt:Inclinação|Inclinação Orbital]]}}
 
{{Infobox/Line|{{lang|en=[[w:Orbital_Inclination|es=[[w:es:Inclinación_orbital|Inclinación orbital]]|nl=[[w:nl:Glooiingshoek|Glooiingshoek]]|fr=[[w:fr:Inclinaison|Inclinaison Orbitale]]|pl=[[w:pl:Inklinacja|Inklinacja orbity]]|hr=[[w:hr:Inklinacija|Inklinacija]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.9D.D0.B0.D0.BA.D0.BB.D0.BE.D0.BD.D0.B5.D0.BD.D0.B8.D0.B5|Наклонение]]|de=[[w:de:Bahnneigung|Bahnneigung]]|sv=[[w:sv:Banlutning|Inklination]]|zh-cn=[[w:zh-cn:轨道倾角|轨道倾角]]|tr=[[w:tr:Yörünge Eğikliği|Yörünge Eğikliği]]|ko=[[w:ko:궤도경사|궤도경사]]|it=Inclinazione orbita|pt=[[w:pt:Inclinação|Inclinação Orbital]]}}
 
|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|orbinc}} °}}
 
|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|orbinc}} °}}
{{Infobox/Line|{{lang|en=[[w:Argument of periapsis|en=[[w:es:Argumento_del_periastro|Argumento del periastro]]|nl=[[w:Argument of periapsis|Argument van Perifocus]]|de=[[w:de:Argument der Periapsis|Argument der Periapsis]]|zh-cn=[[w:zh-cn:近心点幅角|近心点角]]|hr=Argument periapsisa|pl=[[w:pl:Argument_szerokości_perycentrum|Argument szerokości perycentrum]]|tr=[[w:tr:Çukur Noktası Argümanı|Çukur Noktası Argümanı]]|ko=[[w:Argument of periapsis|근점 적경]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.90.D1.80.D0.B3.D1.83.D0.BC.D0.B5.D0.BD.D1.82_.D0.BF.D0.B5.D1.80.D0.B8.D1.86.D0.B5.D0.BD.D1.82.D1.80.D0.B0|Аргумент перицентра]]|pt=[[w:pt:Argumento do periastro|Argumento do periastro]]}}
+
{{Infobox/Line|{{lang|en=[[w:Argument of periapsis]]|es=[[w:es:Argumento_del_periastro|Argumento del periastro]]|nl=[[w:Argument of periapsis|Argument van Perifocus]]|de=[[w:de:Argument der Periapsis|Argument der Periapsis]]|zh-cn=[[w:zh-cn:近心点幅角|近心点角]]|hr=Argument periapsisa|pl=[[w:pl:Argument_szerokości_perycentrum|Argument szerokości perycentrum]]|tr=[[w:tr:Çukur Noktası Argümanı|Çukur Noktası Argümanı]]|ko=[[w:Argument of periapsis|근점 적경]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.90.D1.80.D0.B3.D1.83.D0.BC.D0.B5.D0.BD.D1.82_.D0.BF.D0.B5.D1.80.D0.B8.D1.86.D0.B5.D0.BD.D1.82.D1.80.D0.B0|Аргумент перицентра]]|pt=[[w:pt:Argumento do periastro|Argumento do periastro]]}}
 
|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|pe arg}} °}}
 
|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|pe arg}} °}}
 
{{Infobox/Line|{{lang|en=[[w:Longitude of the ascending node|Longitude of the ascending node]]|es=[[w:Longitude_of_the_ascending_node|Longitud del nodo subiendo]]|de=[[w:de:Argument des Knotens|Argument des Knotens]]|hr=[[w:hr:Longituda uzlaznog čvora|Longituda uzlaznog čvora]]|zh-cn=[[w:zh-cn:轨道交点|升交点黄经]]|pl=[[w:pl:Długość_węzła_wstępującego|Długość węzła wstępującego]]|tr=[[w:tr:Yükseliş Noktası Boylamı|Yükseliş Noktası Boylamı]]|ko=[[w:ko:승교점 경도|승교점 경도]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.94.D0.BE.D0.BB.D0.B3.D0.BE.D1.82.D0.B0_.D0.B2.D0.BE.D1.81.D1.85.D0.BE.D0.B4.D1.8F.D1.89.D0.B5.D0.B3.D0.BE_.D1.83.D0.B7.D0.BB.D0.B0|Долгота восходящего узла]]|pt=[[w:pt:Longitude do nó ascendente|Longitude do nó ascendente]]}}
 
{{Infobox/Line|{{lang|en=[[w:Longitude of the ascending node|Longitude of the ascending node]]|es=[[w:Longitude_of_the_ascending_node|Longitud del nodo subiendo]]|de=[[w:de:Argument des Knotens|Argument des Knotens]]|hr=[[w:hr:Longituda uzlaznog čvora|Longituda uzlaznog čvora]]|zh-cn=[[w:zh-cn:轨道交点|升交点黄经]]|pl=[[w:pl:Długość_węzła_wstępującego|Długość węzła wstępującego]]|tr=[[w:tr:Yükseliş Noktası Boylamı|Yükseliş Noktası Boylamı]]|ko=[[w:ko:승교점 경도|승교점 경도]]|ru=[[w:ru:Кеплеровы_элементы_орбиты#.D0.94.D0.BE.D0.BB.D0.B3.D0.BE.D1.82.D0.B0_.D0.B2.D0.BE.D1.81.D1.85.D0.BE.D0.B4.D1.8F.D1.89.D0.B5.D0.B3.D0.BE_.D1.83.D0.B7.D0.BB.D0.B0|Долгота восходящего узла]]|pt=[[w:pt:Longitude do nó ascendente|Longitude do nó ascendente]]}}
Line 75: Line 75:
 
{{Infobox/Line|{{lang|en=[[w:Mass|Mass]]|es=[[w:es:Masa|Masa]]|nl=[[w:nl:Massa|Massa]]|fr=[[w:fr:Masse|Masse]]|pl=[[w:pl:Masa_(fizyka)|Masa]]|ru=[[w:ru:Масса|Масса]]|de=[[w:de:Masse (Physik)|Masse]]|sv=[[w:sv:Massa|Massa]]|zh-cn=[[w:zh-cn:质量|质量]]|hr=[[w:hr:Masa|Masa]]|tr=[[w:tr:Kütle|Kütle]]|it=Massa|ko=[[w:ko:질량|질량]]||pt=[[w:pt:Massa|Massa]]}}
 
{{Infobox/Line|{{lang|en=[[w:Mass|Mass]]|es=[[w:es:Masa|Masa]]|nl=[[w:nl:Massa|Massa]]|fr=[[w:fr:Masse|Masse]]|pl=[[w:pl:Masa_(fizyka)|Masa]]|ru=[[w:ru:Масса|Масса]]|de=[[w:de:Masse (Physik)|Masse]]|sv=[[w:sv:Massa|Massa]]|zh-cn=[[w:zh-cn:质量|质量]]|hr=[[w:hr:Masa|Masa]]|tr=[[w:tr:Kütle|Kütle]]|it=Massa|ko=[[w:ko:질량|질량]]||pt=[[w:pt:Massa|Massa]]}}
 
|{{sigfigs|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}}|8}} {{lang|en=kg|ru=кг}}}}
 
|{{sigfigs|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}}|8}} {{lang|en=kg|ru=кг}}}}
{{Infobox/Line|{{lang|en=[[w:Standard gravitational parameter|Standard gravitational parameter]]|es=[[w:es:Parámetro_gravitacional_estándar|Parámetro gravitacional estándar]]|nl=[[w:nl:Gravitatieconstante|Gravitatieconstante]]|fr=[[w:fr:Paramètre gravitationnel standard|Paramètre gravitationnel standard]]|hr=[[w:hr:Standardni gravitacijski parametar|Standardni gravitacijski parametar]]|pl=[[w:Standard_gravitational_parameter|Parametr grawitacyjny]]|ru=[[w:Standard_gravitational_parameter|Гравитационный параметр]]|de=[[w:de:Gravitationsparameter|Gravitationsparamter]]|zh-cn=[[w:zh-cn:标准重力参数|引力参数]]|tr=[[w:tr:Yerçekim Parametresi|Yerçekim parametresi]]|it=Parametri Gravitazionali|ko=[[w:Standard gravitational parameter|중력 계수]]|pt=[[w:pt:Constante gravitacional|Constante gravitacional]]}}
+
{{Infobox/Line|{{lang|en=[[w:Standard_gravitational_parameter|Standard gravitational parameter]]|es=[[w:es:Parámetro_gravitacional_estándar|Parámetro gravitacional estándar]]|nl=[[w:nl:Gravitatieconstante|Gravitatieconstante]]|fr=[[w:fr:Paramètre gravitationnel standard|Paramètre gravitationnel standard]]|hr=[[w:hr:Standardni gravitacijski parametar|Standardni gravitacijski parametar]]|pl=[[w:Standard_gravitational_parameter|Parametr grawitacyjny]]|ru=[[w:Standard_gravitational_parameter|Гравитационный параметр]]|de=[[w:de:Gravitationsparameter|Gravitationsparamter]]|zh-cn=[[w:zh-cn:标准重力参数|引力参数]]|tr=[[w:tr:Yerçekim Parametresi|Yerçekim parametresi]]|it=Parametri Gravitazionali|ko=[[w:Standard gravitational parameter|중력 계수]]|pt=[[w:pt:Constante gravitacional|Constante gravitacional]]}}
 
|{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} * {{G}}}}|8}}&nbsp;{{lang|en=m|ru=м}}<sup>3</sup>/{{lang|en=s|ru=с}}<sup>2</sup>}}
 
|{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} * {{G}}}}|8}}&nbsp;{{lang|en=m|ru=м}}<sup>3</sup>/{{lang|en=s|ru=с}}<sup>2</sup>}}
 
{{Infobox/Line|{{lang|en=[[w:Density|Density]]|es=[[w:es:Densidad|Densidad]]|nl=[[w:nl:Dichtheid (natuurkunde)|Dichtheid]]|fr=[[w:fr:Densité|Densité]]|pl=[[w:pl:Gęstość|Gęstość]]|hr=[[w:hr:Gustoća|Gustoća]]|ru=[[w:ru:Плотность|Плотность]]|de=[[w:de:Dichte|Dichte]]|sv=[[w:sv:Densitet|Medeldensitet]]|zh-cn=[[w:zh-cn:密度|密度]]|tr=[[w:tr:Yoğunluk|Yoğunluk]]|it=Densità|ko=[[w:ko:밀도|밀도]]|pt=[[w:pt:Densidade|Densidade]]}}
 
{{Infobox/Line|{{lang|en=[[w:Density|Density]]|es=[[w:es:Densidad|Densidad]]|nl=[[w:nl:Dichtheid (natuurkunde)|Dichtheid]]|fr=[[w:fr:Densité|Densité]]|pl=[[w:pl:Gęstość|Gęstość]]|hr=[[w:hr:Gustoća|Gustoća]]|ru=[[w:ru:Плотность|Плотность]]|de=[[w:de:Dichte|Dichte]]|sv=[[w:sv:Densitet|Medeldensitet]]|zh-cn=[[w:zh-cn:密度|密度]]|tr=[[w:tr:Yoğunluk|Yoğunluk]]|it=Densità|ko=[[w:ko:밀도|밀도]]|pt=[[w:pt:Densidade|Densidade]]}}

Revision as of 23:57, 25 March 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.

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, Sphere of influence
  • Apoapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity, 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
  • 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=
|#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 support following languages:

  • English: Everything supported
  • 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