Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*new template name; *lowercase name parameter;)
(Fixed bug: All bodies show synchronous orbit, even when it is outside SOI)
 
(221 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<includeonly><div style="background: #f6f6f6; border: 1px solid #ccc; float: {{if rtl|left|right}}; width: 280px; margin-left: 1em">
+
<includeonly>{{Infobox|width=280
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{{transcription|{{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}}}} {{#if: {{{transcription|}}}{{#ifeq: {{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}|{{{name|{{BASEPAGENAME}}}}}||1}}|({{{name|{{BASEPAGENAME}}}}})}}</div>
+
|name={{{transcription|{{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}}}}}
<div style="background: #000">[[File:{{{File|Image-needed.png}}}|280px|Planet image]]</div>
+
{{#if: {{{transcription|}}}{{#ifeq: {{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}}|{{{name|{{BASEPAGENAME}}}}}||1}}|({{{name|{{BASEPAGENAME}}}}})}}
{| style="padding: 0.5em; font-size: 90%" valign="top"
+
|file={{Body data|{{{name|{{BASEPAGENAME}}}}}|file}}
| colspan="2" style="text-align: center; width: 100%;" | <small>{{lang
+
|file style=background:black
 +
|notes={{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|<references group="Note">
 +
<ref name="centered">{{Infobox/Body/Dict|note}}</ref></references>}}
 +
|lines=
 +
{{Infobox/Line|{{lang
 
|en={{{name|{{BASEPAGENAME}}}}} as seen from orbit.
 
|en={{{name|{{BASEPAGENAME}}}}} as seen from orbit.
 
|de={{{name|{{BASEPAGENAME}}}}} vom Orbit aus gesehen.
 
|de={{{name|{{BASEPAGENAME}}}}} vom Orbit aus gesehen.
 +
|es={{{name|{{BASEPAGENAME}}}}} como se ve desde la órbita.
 
|fr=La planète {{{name|{{BASEPAGENAME}}}}} vue depuis l'orbite.
 
|fr=La planète {{{name|{{BASEPAGENAME}}}}} vue depuis l'orbite.
 +
|hr=Pogled na {{{name|{{BASEPAGENAME}}}}} iz orbite.
 +
|hu={{{name|{{BASEPAGENAME}}}}} a pályáról nézve
 
|it={{{name|{{BASEPAGENAME}}}}} visto dall'orbita
 
|it={{{name|{{BASEPAGENAME}}}}} visto dall'orbita
 +
|ja=軌道からみた{{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}}
 +
|ko={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} 을 궤도에서 바라본 모습이다.
 
|nl={{{name|{{BASEPAGENAME}}}}} gezien vanuit de ruimte.
 
|nl={{{name|{{BASEPAGENAME}}}}} gezien vanuit de ruimte.
|ko={{{name|{{BASEPAGENAME}}}}}
 
 
|pl={{{name|{{BASEPAGENAME}}}}} widok z orbity.
 
|pl={{{name|{{BASEPAGENAME}}}}} widok z orbity.
|ru={{{name|{{BASEPAGENAME}}}}} с орбиты.
+
|pt={{{name|{{BASEPAGENAME}}}}} visto de uma órbita
|sv={{{name|{{BASEPAGENAME}}}}} sedd från rymden.
+
|ru={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} - вид с орбиты.
 
|tr=Uzaydan görünen haliyle {{{name|{{BASEPAGENAME}}}}}
 
|tr=Uzaydan görünen haliyle {{{name|{{BASEPAGENAME}}}}}
 
|zh-cn=从轨道上看{{{name|{{BASEPAGENAME}}}}}。
 
|zh-cn=从轨道上看{{{name|{{BASEPAGENAME}}}}}。
}}</small>
+
}}|style=text-align: center; font-size:smaller;}}
|-
+
{{Infobox/Line|[[{{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}{{if lang}}|{{#switch: {{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}
| colspan="2" style="text-align: center;" | [[{{{Class}}}{{if lang}}|{{#switch: {{{Class}}}
+
|Star={{Celestial/Dict|Star}}
|Star={{lang|en=Star|cs=Hvězda|nl=Ster|pl=Gwiazda|ru=Звезда|de=Stern|pt=Estrela|sv=Stjärna|zh-cn=恒星|tr=Yıldız}}
+
|Planet={{Celestial/Dict|Planet}}
|Planet={{lang|en=Planet|nl=Planeet|pl=Planeta|ru=Планета|de=Planet|pt=Planeta|sv=Planet|zh-cn=行星|tr=Gezegen}}
+
|Dwarf planet={{Celestial/Dict|Dwarf}}
|Dwarf planet={{lang|en=Dwarf planet|nl=Dwergplaneet|pl=Planeta Karłowata|ru=Карликовая планета|de=Zwergplanet|pt=Planeta anão|sv=Dvärgplanet|zh-cn=矮行星|tr=Cüce Gezegen}}
+
|Moon={{Celestial/Dict|Moon}}
|Moon={{lang|en=Moon|nl=Maan|pl=Księżyc|ru=Спутник|de=Mond|it=Satellite|pt=Lua|sv=Måne|zh-cn=卫星|tr=Uydu|ko=별}}
+
|#default={{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}[[Category:Infobox/Body with unrecognized class]]
|#default={{{Class}}}
+
}}]] {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|{{Infobox/Body/Dict|of}} [[{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}{{if lang}}|{{Celestial/Dict|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}]]
}}]] {{#if: {{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}|{{lang
+
}}|style=text-align: center;}}
|en=of [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|
|de=von [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/de|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{Infobox/Line|'''{{Infobox/Body/Dict|orbital}}'''}}
|it=di [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/it|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{Infobox/Line|{{Infobox/Body/Dict|sma}}
|ko=의 [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/ko|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
|2=<span style="white-space:nowrap;">{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
|pl=obiega [[{{BodyData/Parent|{{name|{{BASEPAGENAME}}}}}}}/pl|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{Infobox/Line|{{Infobox/Body/Dict|apo}}
|ru=системы [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/ru|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
|sv=till [[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/sv|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{Infobox/Line|{{Infobox/Body/Dict|per}}
|tr=yörüngesinde[[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/tr|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
|zh-cn=绕转于[[{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}/zh-cn|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}]]
+
{{Infobox/Line|{{Infobox/Body/Dict|ecc}}
}}}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}} round 3}}}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|inc}}
{{#if: {{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}|
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|orbinc}} round 3 }}&nbsp;°}}
{{!}} colspan="2" {{!}} '''{{lang|en=Orbital Characteristics|ru=Орбитальные характеристики|nl=Baan Eigenschappen|fr=Caractéristiques Orbitales|pl=Charakterystyka Orbity|de=Orbitaleigenschaften|pt=Características orbitais|sv=Omloppsbana|zh-cn=轨道参数|tr=Yörünge Özellikleri|ko=궤도특성|it=Caratteristiche dell'orbita}}'''
+
{{Infobox/Line|{{Infobox/Body/Dict|pe arg}}
{{!}}- valign="top"
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pe arg}}&nbsp;°}}
{{!}} {{lang|en=[[w:Semi-major axis|Semi-major axis]]|nl=Halve lange as|fr=[[w:fr:Demi-grand axe|Demi-grand axe]]|pl=[[w:pl:Półoś_wielka|Półoś wielka]]|ru=[[w:ru:Большая полуось|Большая полуось]]|de=[[w:de:Große Halbachse|Große Halbachse]]|sv=[[w:sv:Halv_storaxel|Halv storaxel]]|zh-cn=[[w:zh-cn:半长轴|半长轴]]|tr=[[w:tr:Yarı Ana Eksen|Yarı Ana Eksen]]|ko=[[w:ko:긴반지름|반장축]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|an arg}}
{{!}} {{formatnum|{{#expr: ({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})/2}}}}&nbsp;m <sup id="i-sma">([[#i-dis|1]])</sup>
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|an arg}}&nbsp;°}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|anomaly}}
{{!}} {{lang|en=[[w:Apoapsis|Apoapsis]]|nl=[[w:nl:Apofocus en perifocus|Apofocus]]|fr=[[w:fr:Apoapside|Apoapside]]|pl=[[w:pl:Apocentrum|Apocentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Апоцентр]]|de=[[w:de:Apoapsis|Apoapsis]]|sv=[[w:sv:Apsis|Apoapsis]]|zh-cn=[[w:zh-cn:拱点|远点高度]]|tr=[[w:tr:Tepe Noktası|Tepe Noktası]]|ko=[[w:Apoapsis|궤도최원점]]|it=Apogeo}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|anomaly}} round 3}}&nbsp;{{Dict|rad}} <small>({{Infobox/Body/Dict|at}})</small>}}
{{!}} {{formatnum|{{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-ap">([[#i-dis|1]])</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|period}}
{{!}}- valign="top"
+
|{{formatnum|{{#expr: {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1 }}}}&nbsp;{{Dict|s}}
{{!}} {{lang|en=[[w:Periapsis|Periapsis]]|nl=[[w:nl:Apofocus en perifocus|Perifocus]]|fr=[[w:fr:Periapside|Periapside]]|pl=[[w:pl:Perycentrum|Perycentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Перицентр]]|de=[[w:de:Periapsis|Periapsis]]|sv=[[w:sv:Apsis|Periapsis]]|zh-cn=[[w:zh-cn:拱点|近点高度]]|pt=Periastro|tr=[[w:tr:Çukur Noktası|Çukur Noktası]]|ko=[[w:Periapsis|근점]]|it=Perigeo}}
+
|<small>{{ExpandTime|{{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}}}</small>}}
{{!}} {{formatnum|{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-pe">([[#i-dis|1]])</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|synodic}}
{{!}}- valign="top"
+
|{{#ifeq: {{{name|{{BASEPAGENAME}}}}}|Kerbin|''{{Infobox/Body/Dict|undefined}}''|{{formatnum|{{#expr: {{OrbitSynodicPeriod|{{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}|{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol|{{Body data/Sidereal orbit|Kerbin}}|{{Body data/Sidereal orbit|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}}}}} round 1 }}|1}}&nbsp;{{Dict|s}}
{{!}} {{lang|en=[[w:Orbital_eccentricity|Orbital eccentricity]]|nl=[[w:nl:Eccentriciteit|Excentriciteit (astronomie)]]|fr=[[w:fr:Excentricité orbitale|Excentricité Orbitale]]|pl=[[w:Orbital_eccentricity|Ekscentryczność orbity]]|ru=[[w:ru:Эксцентриситет|Эксцентриситет]]|de=[[w:de:Exzentrizität (Astronomie)|Orbitale Exzentrizität]]|sv=[[w:sv:Excentricitet|Excentricitet]]|zh-cn=[[w:zh-cn:离心率|离心率]]|tr=[[w:tr:Yörünge Merkez Kayması|Yörünge Merkez Kayması]]|ko=[[w:ko:궤도이심률|궤도이심률]]|it=Eccentricità}}
+
|<small>{{#ifeq: {{{name|{{BASEPAGENAME}}}}}|Kerbin||{{ExpandTime|{{OrbitSynodicPeriod|{{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}|{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol|{{Body data/Sidereal orbit|Kerbin}}|{{Body data/Sidereal orbit|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}}}}}}}</small>}}}}}}
{{!}} {{#expr: 1-2/({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}+1) round 2}}
+
{{Infobox/Line|{{Infobox/Body/Dict|velocity}}
{{!}}- valign="top"
+
|{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}}|0|{{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}} / {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1 }}}}|{{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}} / {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} * ((1 - {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}}) / (1 + {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}}))^(0.5) round 1 }}}} - {{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}} / {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} * ((1 + {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}}) / (1 - {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}}))^(0.5) round 1 }}}}}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
{{!}} {{lang|en=[[w:Orbital_Inclination|Orbital inclination]]|nl=[[w:nl:Glooiingshoek|Glooiingshoek]]|fr=[[w:fr:Inclinaison|Inclinaison Orbitale]]|pl=[[w:pl:Inklinacja|Inklinacja orbity]]|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}}
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}|Moon|{{Infobox/Line|{{Infobox/Body/Dict|eclipsed}}
{{!}} {{{orbinc}}}&nbsp;°
+
|{{formatnum|{{#expr: ceil(((2 * (({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}) / 2) * (({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} * {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})^0.5)) / ((((2 * {{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} * {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}) / ({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})) * ({{G}} * {{Body data/Mass|{{{name|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}}}}))^0.5)) * ((asin({{Body data|{{{name|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}}|radius}} / (({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} * {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})^0.5))) + (((({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} - {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}) / ({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})) * {{Body data|{{{name|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}}|radius}}) / (({{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} * {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})^0.5))))}}}}&nbsp;{{Dict|s}}}}}}}}
{{!}}- valign="top"
+
{{Infobox/Line|'''{{Infobox/Body/Dict|physical}}'''}}
{{!}} {{lang|en=[[w:Argument of periapsis|Argument of periapsis]]|nl=[[w:Argument of periapsis|Argument van Perifocus]]|de=[[w:de:Argument der Periapsis|Argument der Periapsis]]|zh-cn=[[w:zh-cn:近心点幅角|近心点角]]|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|근점 적경]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|radius}}
{{!}} {{{pe arg}}}&nbsp;°
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}&nbsp;{{Dict|m}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|circumference}}
{{!}} {{lang|en=[[w:Longitude of the ascending node|Longitude of the ascending node]]|de=[[w:de:Argument des Knotens|Argument des Knotens]]|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:승교점 경도|승교점 경도]]}}
+
|{{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}}}&nbsp;{{Dict|m}}}}
{{!}} {{{an arg}}}&nbsp;°
+
{{Infobox/Line|{{Infobox/Body/Dict|area}}
{{!}}- valign="top"
+
|{{sigfigs|{{#expr: 4 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}^2}}|8}}&nbsp;{{Dict|m}}<sup>2</sup>}}
{{!}} {{lang|en=[[w:Mean_Anomaly|Mean anomaly]]|de=[[w:de:Mittlere Anomalie|Mittlere Anomalie]]|fr=[[w:fr:Anomalie Moyenne|Anomalie Moyenne]]|pl=[[w:pl:Anomalia_średnia|Anomalia średnia]]|ru=[[w:ru:Элементы_орбиты#.D0.90.D0.BD.D0.BE.D0.BC.D0.B0.D0.BB.D0.B8.D0.B8|Средняя аномалия]]|sv=[[w:sv:Medelanomali|Medelanomali]]|zh-cn=[[w:zh-cn:平近点角|平近点角]]|tr=[[w:tr:Ortalama Anomali|Ortalama Anomali]]|ko=[[w:Mean_Anomaly|평균 근점 이각]]|it=Anomalia media}}
+
{{Infobox/Line|{{Infobox/Body/Dict|mass}}
{{!}} {{{anomaly}}}&nbsp;rad <small>({{lang|en=at|de=um|pl=przy}} 0s UT)</small>
+
|{{sigfigs|{{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{Dict|k}}{{Dict|g}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|gravpar}}
{{!}} rowspan="2" {{!}} {{lang|en=[[w:Orbital_Period|Sidereal orbital period]]|nl=[[w:nl:Omlooptijd (astronomie)|Omlooptijd]]|fr=[[w:fr:Période Orbitale|Période Orbitale]]|pl=[[w:pl:Okres_orbitalny|Okres orbitalny]]|ru=[[w:ru:Сидерический_период|Сидерический период]]|de=[[w:de:Umlaufzeit|Siderische Umlaufzeit]]|sv=[[w:sv:Siderisk_omloppstid|Omloppstid]]|zh-cn=[[w:zh-cn:公转周期|公转周期]]|tr=[[w:tr:Yörünge Periyodu|Yörünge Periyodu]]|ko=[[w:Orbital_Period|궤도 주기]]|it=Periodo siderale}}
+
|{{sigfigs|{{#expr: {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}}&nbsp;{{Dict|m}}<sup>3</sup>/{{Dict|s}}<sup>2</sup>}}
{{!}} {{formatnum|{{#expr: {{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1 }}}}&nbsp;s
+
{{Infobox/Line|{{Infobox/Body/Dict|density}}
{{!}}- valign="top"
+
|{{sigfigs|{{#expr: {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} / (4 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}^3 / 3)}}|8}}&nbsp;{{Dict|k}}{{Dict|g}}/{{Dict|m}}<sup>3</sup>}}
{{!}} style="font-size:smaller;" {{!}} {{ExpandTime|{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}}}
+
{{Infobox/Line|{{Infobox/Body/Dict|gravity}}
{{!}}- valign="top"
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|gravity gees}} * 9.80665}}|3}}&nbsp;{{Dict|m}}/{{Dict|s}}<sup>2</sup> <small>({{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|gravity gees}} round 3 }}&nbsp;''{{Dict|g}}'')</small>}}
{{!}} {{#ifeq: {{{name|{{BASEPAGENAME}}}}}|Kerbin||rowspan="2"}} {{!}} {{lang|en=Synodic orbital period|pl=Synodyczny okres orbitalny|de=Synodische Umlaufzeit|zh-cn=会合周期|it=Periodo sinodico}}
+
{{Infobox/Line|{{Infobox/Body/Dict|escape}}
{{!}} {{#ifeq: {{{name|{{BASEPAGENAME}}}}}|Kerbin|{{lang|en=''Not defined''|pl=''Nie określony''|de=''Nicht definiert''|zh-cn=''未定义''}}|{{formatnum|{{#expr: {{OrbitSynodicPeriod|{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}|{{#ifeq: {{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}|Kerbol|{{BodyData/Sidereal orbit|Kerbin}}|{{BodyData/Sidereal orbit|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}}}}}}} round 1 }}}}&nbsp;s
+
|{{formatnum|{{#expr: (2 * {{G}} * {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} / {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}})^0.5}}|2}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|rotation}}
{{!}} style="font-size:smaller;" {{!}} {{ExpandTime|{{OrbitSynodicPeriod|{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}|{{#ifeq: {{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}|Kerbol|{{BodyData/Sidereal orbit|Kerbin}}|{{BodyData/Sidereal orbit|{{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}}}}}}}}}}}
+
|{{sigfigs|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|8}}&nbsp;{{Dict|s}}
{{!}}- valign="top"
+
|<small>{{ExpandTime|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}</small>}}
{{!}} {{lang|en=[[w:Orbital_speed|Orbital Velocity]]|nl=[[w:nl:Omloopsnelheid (astronomie)|Omloopsnelheid]]|fr=[[w:Orbital_Velocity|Vélocité Orbitale]]|pl=[[w:pl:Prędkość_orbitalna|Prędkość orbitalna]]|ru=[[w:ru:Орбитальная_скорость|Орбитальная скорость]]|de=[[w:de:Bahngeschwindigkeit (Astronomie)|Bahngeschwindigkeit]]|sv=[[w:sv:Omloppshastighet|Medelhastighet]]|zh-cn=[[w:zh-cn:轨道速度|轨道速度]]|tr=[[Yörünge Hızı|Yörünge Hızı]]|it=Velocità orbita}}
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol|
{{!}} {{#ifeq: {{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}|{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}|{{#expr: 2*pi*{{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1}}|{{formatnum|{{#expr: pi*({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}+{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}*({{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}})^(0.5) round 1}}}} to {{formatnum|{{#expr: pi*({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}+{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})/{{BodyData/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}*({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})^(0.5) round 1}}}}}}&nbsp;m/s
+
{{Infobox/Line|{{Infobox/Body/Dict|solar}}
}}
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}} / (1 - {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}} / {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}})}}|8}}&nbsp;{{Dict|s}}|<small>{{ExpandTime|({{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}} / (1 - {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}} / {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}))}}</small>}}}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|sidereal}}
| colspan="2" | '''{{lang|en=Physical Characteristics|nl=Fysieke Eigenschappen|fr=Caractéristiques Physiques|pl=Charakterystyka fizyczna|ru=Физические характеристики|de=Physikalische Eigenschaften|sv=Fysikaliska data|zh-cn=物理特征|pt= Características físicas|tr=Fiziksel Özellikler|it=Caratteristiche Fisiche}}'''
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} * 2 * pi / {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}|5}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|sync}}
| {{lang|en=[[w:Radius|Equatorial radius]]|nl=[[w:nl:Radius|Equatoriale Radius]]|fr=[[w:Radius|Rayon à l'Equateur]]|pl=[[w:pl:Promień_(geometria)|Promień równika]]|ru=[[w:ru:Радиус|Экваториальный радиус]]|de=[[w:de:Radius|Äquatorialradius]]|sv=[[w:sv:Ekvator|Ekvatorradie]]|zh-cn=[[w:zh-cn:赤道半径|赤道半径]]|tr=[[w:tr:Yarıçap|Ekvatoral Yarıçap]]|it=Raggio equatoriale}}
+
|{{#if: {{#ifexpr: {{OrbitAltitude/Core|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|{{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}} < {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|1}}|{{OrbitAltitude | radius={{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} | mass={{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} | period={{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|factor=k}}|{{Infobox/Body/Dict|outside}}}}}}
| {{formatnum|{{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m
+
{{Infobox/Line|{{Infobox/Body/Dict|soi}}
|- valign="top"
+
|{{#if: {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|<span style="white-space:nowrap;">{{sigfigs|{{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>|∞}}}}
| {{lang|en=[[w:Surface Area|Surface area]]|nl=[[w:nl:Oppervlakte|Oppervlakte]]|fr=[[w:fr:Surface Area|Surface]]|pl=[[w:pl:Pole_powierzchni|Pole powierzchni]]|ru=[[w:ru:Площадь_поверхности|Площадь поверхности]]|de=[[w:de:Flächeninhalt|Oberfläche]]|sv=[[w:sv:Area|Area]]|zh-cn=[[w:zh-cn:表面积|表面积]]|tr=[[w:tr:Yüzey Alanı|Yüzey Alanı]]|it=Superfice}}
+
{{Infobox/Line|'''{{Infobox/Body/Dict|atmospheric}}'''}}
| {{sigfigs|{{#expr: 4 * pi * {{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}}^2}}|8}} m<sup>2</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|atmo}}
|- valign="top"
+
|{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|{{Yes}}|{{No}}}}}}
| {{lang|en=[[w:Mass|Mass]]|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:质量|质量]]|tr=[[w:tr:Kütle|Kütle]]|it=Massa}}
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
| {{sigfigs|{{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;kg
+
{{Infobox/Line|{{Infobox/Body/Dict|pressure}}
|- valign="top"
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} * 101.325}}|6}}&nbsp;{{Dict|k}}{{Dict|Pa}}
| {{lang|en=[[w:Standard gravitational parameter|Gravitational parameter]]|nl=[[w:nl:Gravitatieconstante|Gravitatieconstante]]|fr=[[w:fr:Paramètre gravitationnel standard|Paramètre gravitationnel standard]]|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}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} round 6 }}&nbsp;{{Dict|atm}}}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}}&nbsp;m<sup>3</sup>/s<sup>2</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|height}}
|- valign="top"
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|atmospheric height}}}}&nbsp;{{Dict|m}}
| {{lang|en=[[w:Density|Density]]|nl=[[w:nl:Dichtheid (natuurkunde)|Dichtheid]]|fr=[[w:fr:Densité|Densité]]|pl=[[w:pl:Gęstość|Gęstość]]|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à}}
+
|<small>{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} * 1e-6}}|2}}&nbsp;{{Dict|atm}}</small>}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}} / (4 * pi * {{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}}^3 / 3)}}|8}}&nbsp;kg/m<sup>3</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|temp-min}}
|- valign="top"
+
|{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|min temp}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|min temp}}&nbsp;°C <small>{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|min temp}} + 273.15}}&nbsp;{{Dict|K}}</small>|{{Dict|Unknown}}}}}}
| {{lang|en=[[w:Surface_gravity|Surface gravity]]|nl=[[w:Surface_gravity|Oppervlaktezwaartekracht]]|fr=[[w:fr:Gravité de surface|Gravité de surface]]|pl=[[w:Surface_gravity|Grawitacja na powierzchni]]|ru=[[w:Ускорение_свободного_падения|Ускорение свободного падения]]|de=[[w:Surface gravity|Ober&shy;flächen&shy;schwer&shy;kraft]]|sv=[[w:sv:Ytgravitation|Ytgravitation]]|zh-cn=[[w:zh-cn:重力加速度|表面重力加速度]]|tr=[[w:tr:Yüzey Yerçekimi|Yüzey Yerçekimi]]|it=Gravità}}
+
{{Infobox/Line|{{Infobox/Body/Dict|temp-max}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}} * {{G}} / ({{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}}^2)}}|3}}&nbsp;m/s<sup>2</sup>
+
|{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|max temp}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|max temp}}&nbsp;°C <small>{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|max temp}} + 273.15}}&nbsp;{{Dict|K}}</small>|{{Dict|Unknown}}}}}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|oxygen}}
| {{lang|en=[[w:Escape_velocity|Escape velocity]]|nl=[[w:nl:Ontsnappingssnelheid|Ontsnappingssnelheid]]|fr=[[w:fr:Vitesse de Libération|Vitesse de Libération]]|pl=[[w:pl:Prędkość_ucieczki|Prędkość ucieczki]]|ru=[[w:ru:Вторая_космическая_скорость|Вторая космическая скорость]]|de=[[w:de:Fluchtgeschwindigkeit|Fluchtgeschwindigkeit]]|sv=[[w:sv:Flykthastighet|Flykthastighet]]|zh-cn=[[w:zh-cn:逃逸速度|逃逸速度]]|tr=[[w:tr:Kaçış  Hızı|Kaçış Hızı]]|it=Velocità di fuga}}
+
|{{#ifeq: {{uc:{{Body data|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}}
| {{formatnum|{{#expr: (2 * {{G}} * {{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}} / {{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}})^0.5}}|2}}&nbsp;m/s
+
{{Infobox/Line|'''{{Infobox/Body/Dict|sci}}'''}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|surface}}
| rowspan="2" | {{lang|en=[[w:Rotation_period|Sidereal rotation period]]|nl=[[w:nl:Rotatieperiode|Rotatieperiode]]|fr=[[w:fr:Période de Rotation|Période de Rotation]]|pl=[[w:pl:Okres_obrotu|Okres obrotu]]|ru=[[w:ru:Период_вращения|Период вращения]]|de=[[w:de:Rotationsperiode|Rotationsperiode]]|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}}
+
|{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci landed surf}}|{{#if: {{#ifexpr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci landed surf}} > 0|1}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci landed surf}}|''N/A''}}|''N/A''}}}}
| {{sigfigs|{{{sidrot}}}|8}}&nbsp;s
+
{{Infobox/Line|{{Infobox/Body/Dict|splashed}}
|- valign="top"
+
|{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci splashed surf}}|{{#if: {{#ifexpr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci splashed surf}} > 0|1}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci splashed surf}}|''N/A''}}|''N/A''}}}}
| style="font-size:smaller;" | {{ExpandTime|{{{sidrot}}}}}
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|low-atmo}}
| {{lang|en=[[w:Sidereal_time|Sidereal rotational velocity]]|nl=[[w:Sidereal_time|Sterrenomloop snelheid]]|fr=[[w:fr:Temps Sidéral|Temps Sidéral]]|pl=[[w:pl:Czas_gwiazdowy|Gwiazdowa prędkość obrotowa]]|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}}
+
|{{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|{{#if: {{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|''N/A''}}|''N/A''}}}}
| {{sigfigs|{{#expr: {{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}} * 2 * pi / {{{sidrot}}}}}|5}}&nbsp;m/s
+
{{Infobox/Line|{{Infobox/Body/Dict|up-atmo}}
|- valign="top"
+
|{{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|{{#if: {{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|''N/A''}}|''N/A''}}}}}}
| {{lang|en=[[w:Synchronous_orbit|Synchronous orbit]]|nl=[[w:Synchronous_orbit|Synchrone omloop]]|fr=[[w:fr:Orbite Synchrone|Orbite Synchrone]]|pl=[[w:Synchronous_orbit|Orbita synchroniczna]]|ru=[[w:ru:Синхронная_орбита|Синхронная орбита]]|de=[[w:de:Geosynchrone Umlaufbahn|Synchrone Umlaufbahn]]|sv=[[w:sv:Geostationär_omloppsbana|Stationär bana]]|zh-cn=[[w:zh-cn:同步轨道|同步轨道高度]]|tr=[[w:tr:Eşzamanlı Yörünge|Eşzamanlı Yörünge]]|it=Orbita sincrona}}
+
{{Infobox/Line|{{Infobox/Body/Dict|near}}
| {{#if: {{#ifeq: {{{SoI}}}|∞|1}}{{#ifexpr: {{OrbitAltitude/Core|{{{sidrot}}}|{{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}}|{{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}}}} < {{{SoI}}}|1}}|{{OrbitAltitude | radius={{BodyData/Radius|{{{name|{{BASEPAGENAME}}}}}}} | mass={{BodyData/Mass|{{{name|{{BASEPAGENAME}}}}}}} | period={{{sidrot}}}|factor=k}}|{{lang|en=Outside sphere of influence|pl=Poza sferą wpływów|ru=За пределами сферы влияния|de=Außerhalb der Sphere of Influence|sv=Ej möjlig|it=Fuori dalla sfera di influenza}}}}
+
|{{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|{{#if: {{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|''N/A''}}|''N/A''}}}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|outer}}
| {{lang|en=[[w:Sphere_of_influence_(astrodynamics)|Sphere of influence]]|nl=[[w:nl:Invloedssfeer van een hemellichaam|Invloedssfeer]]|fr=[[w:Sphere_of_Influence_(astrodynamics)|Sphère d'Influence]]|pl=[[w:Sphere_of_influence_(astrodynamics)|Sfera wpływów]]|ru=[[w:Sphere_of_influence_(astrodynamics)|Сфера влияния]]|de=[[w:de:Sphere of Influence|Sphere of Influence]]|sv=[[w:sv:Hillsfär|Område]]|zh-cn=[[w:Sphere_of_influence_(astrodynamics)|作用范围]]|tr=[[w:tr:Etki Alanı|Etki Alanı]]|it=Sfera di influenza}}
+
|{{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|{{#if: {{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|''N/A''}}|''N/A''}}}}
| {{#ifeq: {{{SoI|}}}|∞|∞|{{sigfigs|{{{SoI}}}|8}}&nbsp;m}}
+
{{Infobox/Line|{{Infobox/Body/Dict|recovery}}
|- valign="top"
+
|{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci recovery}}|{{#if: {{#ifexpr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci recovery}} > 0|1}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci recovery}}|''N/A''}}|''N/A''}}}}
{{#if: {{{highest|}}}|{{!}} {{lang|en=Highest elevation|pl=Najwyższe wzniesienie|ru=Наивысшая точка|de=Höchste Erhebung|sv=Högsta punkt|zh-cn=最高海拔高度|tr=Yüzeydeki Tepe İrtifa|it=Altitudine maggiore}} {{!}}{{!}} {{{highest}}}&nbsp;m}}
+
}}</includeonly><noinclude>{{Infobox/Body}}
|-
 
| colspan="2" | '''{{lang|en=Atmospheric Characteristics|nl=Atmosferische Eigenschappen|fr=Caractéristiques Atmosphériques|pl=Charakterystyka atmosfery|ru=Атмосферные характеристики|de=Atmosphärische Eigenschaften|sv=Atmosfäriska data|zh-cn=大气特征|tr=Atmosfer Özellikleri|it=Caratteristiche Atmosferiche}}'''
 
|- valign="top"
 
| {{lang|en=[[w:atmosphere|Atmosphere present]]|nl=[[w:nl:Atmosfeer (astronomie)|Atmosfeer aanwezig]]|fr=[[w:atmosphere|Présence d'Atmosphère]]|pl=[[w:pl:Atmosfera|Atmosfera obecna]]|ru=[[w:ru:Атмосфера|Наличие атмосферы]]|de=[[w:de:Atmosphäre (Astronomie)|Atmosphäre vorhanden]]|sv=[[w:sv:Atmosfär|Atmosfär]]|zh-cn=[[w:zh-cn:大气层|存在大气层]]|tr=[[w:tr:Atmosfer|Atmosfer Varlığı]]|it=Presenza Atmosfera}}
 
| {{#ifexpr: {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}}>0|{{Dict|Yes}}
 
{{!}}- valign="top"
 
{{!}} rowspan="2" {{!}} {{lang|en=[[w:Atmospheric_pressure|Atmospheric pressure]]|nl=[[w:nl:Luchtdruk|Atmosferische druk]]|fr=[[w:fr:Pression Atmosphérique|Pression Atmosphérique]]|pl=[[w:pl:Ciśnienie atmosferyczne|Ciśnienie atmosferyczne]]|ru=[[w:ru:Атмосферное_давление|Атмосферное давление]]|de=[[w:de:Druck (Physik)|Atmosphärischer Druck]]|sv=[[w:sv:Lufttryck|Tryck vid ytan]]|zh-cn=[[w:zh-cn:气压|海平面大气压强]]|tr=[[w:tr:Atmosfer Basıncı|Atmosfer Basıncı]]}}
 
{{!}} {{sigfigs|{{#expr: {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}} * 101.327}}|3}}&nbsp;kPa
 
{{!}}- valign="top"
 
{{!}} {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}}&nbsp;atm
 
{{!}}- valign="top"
 
{{!}} {{lang|en=[[w:Scale_height|Scale height]]|fr=[[w:fr:Hauteur_d'échelle|Hauteur_d'échelle]]|pl=[[w:Scale_height|Wysokość skali]]|ru=[[w:Scale_height|Шкала высоты]]|de=[[w:de:Skalenhöhe|Skalenhöhe]]|sv=[[w:sv:Skalhöjd|Skalhöjd]]|zh-cn=[[w:zh-cn:大气标高|大气标高]]|tr=[[w:tr:Ölçek Yüksekliği|Ölçek Yüksekliği]]}}
 
{{!}} {{BodyData/ScaleHeight|{{{name|{{BASEPAGENAME}}}}}}}&nbsp;m
 
{{!}}- valign="top"
 
{{!}} rowspan="2" {{!}} {{lang|en=Atmospheric height|nl=Atmosferische hoogte|fr=Hauteur de l'Atmoshère|pl=Wysokość atmosfery|ru=Высота атмосферы|de=Atmosphärische Höhe|sv=Atmosfärshöjd|zh-cn=大气上限高度|tr=Atmosfer Kalınlığı}}
 
{{!}} {{sigfigs|{{#expr: ln(1e-6) * -{{BodyData/ScaleHeight|{{{name|{{BASEPAGENAME}}}}}}}}}|8}}&nbsp;m
 
{{!}}- valign="top"
 
{{!}} style="font-size:smaller;" {{!}} {{sigfigs|{{#expr: {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}}*1e-6}}|2}}&nbsp;atm
 
{{!}}- valign="top"
 
{{!}} {{lang|en=[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|nl=[[w:Atmospheric_temperature|Temperatuur<sub>min</sub>]]|fr=[[w:Atmospheric_temperature|Température<sub>min</sub>]]|pl=[[w:pl:Temperatura|Temperatura<sub>min</sub>]]|ru=[[w:Atmospheric_temperature|Температура<sub>min</sub>]]|de=[[w:de:Lufttemperatur|Lufttemperatur<sub>min</sub>]]|sv=[[w:sv:Temperatur|Temperatur<sub>min</sub>]]|zh-cn=[[w:zh-cn:温度|大气温度(最低)]]|tr=[[w:tr:Atmosfer Sıcaklığı|Atmosfer Sıcaklığı]]}}
 
{{!}} {{#if: {{{T-minC}}}|{{{T-minC}}}&nbsp;°C <small>{{#expr: {{{T-minC}}} + 273.15}}&nbsp;K</small>|Unknown}}
 
{{!}}- valign="top"
 
{{!}} {{lang|en=Temperature<sub>max</sub>|nl=Temperatuur<sub>max</sub>|fr=Température<sub>max</sub>|pl=Temperatura<sub>max</sub>|ru=Температура<sub>max</sub>|de=Lufttemperatur<sub>max</sub>|sv=Temperatur<sub>max</sub>|zh-cn=大气温度(最高)}}
 
{{!}} {{#if: {{{T-maxC}}}|{{{T-maxC}}}&nbsp;°C <small>{{#expr: {{{T-maxC}}} + 273.15}}&nbsp;K</small>|Unknown}}
 
{{!}}- valign="top"
 
{{!}} {{lang|en=[[w:Oxygen|Oxygen present]]|nl=[[w:nl:Zuurstof|Zuurstof aanwezig]]|fr=[[w:fr:Oxygène|Présence d'Oxygène]]|pl=[[w:pl:Tlen|Tlen Obecny]]|ru=[[w:ru:Кислород|Наличие кислорода]]|de=[[w:de:Sauerstoff|Sauerstoff]]|sv=[[w:sv:Syre|Syre]]|zh-cn=[[w:zh-cn:氧气|存在氧气]]|tr=[[w:tr:Oksijen|Oksijen Varlığı]]}}
 
{{!}} {{#ifeq: {{{O2yorn}}}|Yes|{{Dict|Yes}}|{{Dict|No}}}}
 
|{{Dict|No}}}}
 
{{#if: {{BodyData/Parent|{{{name|{{BASEPAGENAME}}}}}}}|
 
{{!}}-
 
{{!}} colspan="2" style="font-size:smaller;" {{!}}
 
----
 
<ol><li><span id="i-dis">↑ <sup style="font-style:italic;">[[#i-sma|a]] [[#i-ap|b]] [[#i-pe|c]]</sup> {{lang|en=The distances are given from the bodies center not surface (unlike ingame)|de=Die Entfernungen sind von den Zentren der Himmelskörper angeben (im Gegensatz zum Spiel)|pl=Dystans jest podawany z centrum planety a nie jej powierzchni (w przeciwieństwie do gry)|zh-cn=这是到天体中心而非表面的距离(不同于在游戏中)|it=Le distanze sono da riferirsi dal centro e no dalla superficie (a differenza del gioco)}}</span></li></ol>
 
}}
 
|}
 
</div></includeonly><noinclude>
 
{{Infobox/Body
 
|name=Infobox
 
|Class=Planet
 
|File=Image-needed.png
 
|Parent=Gilly
 
|apoap=1337000
 
|periap=470000
 
|orbinc=7.4
 
|pe arg=4
 
|an arg=7
 
|anomaly=4.2
 
|sidrot=3600
 
|SoI=200000
 
|highest=2357
 
|T-minC=-42
 
|T-maxC=47
 
|O2yorn=no
 
}}
 
  
 
== Usage ==
 
== Usage ==
{{Data Template|Data|Duna}}
+
This template don't need any parameters and instead uses only {{Tl|Body data}} to gather the data. Because of this the orbital and physical properties are stored in a subpage named Param.
  
== Parameters ==
+
To orbital information is deactivated (for example [[Kerbol]]) when <nowiki>{{Body data}}</nowiki> for the property <tt>parent</tt> returns nothing. The atmospheric information is only visible when <nowiki>{{Body data}}</nowiki> for the property <tt>pressure</tt> returns a value higher than 0.
{| class="wikitable mw-datatable"
 
! Name
 
! Optional
 
! Description
 
|-
 
| <tt>name</tt>
 
| Yes
 
| Name of celestial body. Used to determine mass. Default: <nowiki>{{BASEPAGENAME}}</nowiki>
 
{{Parameter Row|transcription|Transcribed name for the celestial body.|{{Tlx|BodyData/Name|{{{name}}}}}}}
 
|-
 
| <tt>Class</tt>
 
| No
 
| Class of celestial body. This will be translated!
 
|-
 
| <tt>File</tt>
 
| No
 
| Filename to image of the celestial object
 
|-
 
| <tt>Parent</tt>
 
| Yes
 
| Object which this object does orbit. If net set it hides the orbital information. Default: Not set
 
|-
 
| style="padding-left:2em" | <tt>orbinc</tt>
 
| No
 
| Orbital inclination in degrees.
 
|-
 
| style="padding-left:2em" | <tt>pe arg</tt>
 
| No
 
| Argument of periapsis
 
|-
 
| style="padding-left:2em" | <tt>an arg</tt>
 
| No
 
| Longitude of the ascending node
 
|-
 
| style="padding-left:2em" | <tt>anomaly</tt>
 
| No
 
| Mean anomaly in radians for UT 0s
 
|-
 
| <tt>sidrot</tt>
 
| No
 
| Sidereal period in seconds
 
|-
 
| <tt>SoI</tt>
 
| No
 
| Sphere of influence in meters. Special value: ∞
 
|-
 
| <tt>highest</tt>
 
| Yes
 
| Highest elevation in meters. Default: Not set
 
|-
 
| colspan="3" | ''Atmospheric data are only needed if it has an atmosphere''
 
|-
 
| style="padding-left:2em" | <tt>T-minC</tt>
 
| No
 
| Lowest temperature in degrees celsius
 
|-
 
| style="padding-left:2em" | <tt>T-maxC</tt>
 
| No
 
| Highest temperature in degrees celsius
 
|-
 
| style="padding-left:2em" | <tt>O2yorn</tt>
 
| No
 
| Is oxygen present? (Yes/No)
 
|}
 
  
To orbital information is deactivated (for example [[Kerbol]]) when {{Tl|BodyData/Parent}} returns nothing. The atmospheric information is only visible when {{Tl|BodyData/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.
 
 
For the apsides, parent, mass, radius, pressure at sea-level and scale height it uses the {{Tl|BodyData}} templates.
 
 
 
Ingame the apsis is 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 parent center.
 
  
 
== Dependencies ==
 
== Dependencies ==
 
Some values are calculated automatically:
 
Some values are calculated automatically:
* Periapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity
+
* Semi-major axis & Orbital eccentricity: Apoapsis, Periapsis, Synodic orbital period, Orbital velocity, Solar day, Sphere of influence
* Apoapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity
+
* Semi-major axis (km): Sidereal orbital period
* Orbital period: Orbital velocity
+
* Radius & Surface gravity: Mass, Sidereal orbital period, Density, Synchronous orbit, Orbital velocity
* Radius: Surface Area, Density, Surface Gravity, Synchronous Orbit
+
* Radius (km): Surface area
* Mass: Gravitational Parameter, Density, Surface Gravity, Synchronous Orbit
+
* Surface gravity (gees): Gravitational parameter, Sphere of influence
* Sidereal Rotation Period: Sidereal Rotational Velocity, Synchronous Orbit
+
* Sidereal rotation period (s): Sidereal rotational velocity, Synchronous orbit, Solar day
* Scale Height: Atmospheric Height
+
* Atmospheric pressure (in atm): Atmospheric pressure (in kPa)
* Atmospheric pressure (in atm): Atmospheric pressure (in kPa), Atmospheric pressure at atmospheric height
 
  
 
The ''Synodic orbital period'' is not defined for [[Kerbin]].
 
The ''Synodic orbital period'' is not defined for [[Kerbin]].
  
 
== Template ==
 
== Template ==
<pre>{{Infobox/Body
+
<pre>{{Infobox/Body}}</pre>
 +
 
 +
<pre>{{#switch: {{{1}}}
 
|name=
 
|name=
|Class=
+
|class=
|File=
+
|file=
 +
|parent=
 +
|semi-major axis=
 +
|eccentricity=
 
|orbinc=
 
|orbinc=
 +
|pe arg=
 +
|an arg=
 
|anomaly=
 
|anomaly=
 +
|radius=
 +
|gravity gees=
 
|sidrot=
 
|sidrot=
|SoI=
+
|pressure=
|highest=
+
|atmospheric height=
|T-minC=
+
|min temp=
|T-maxC=
+
|max temp=
|O2yorn=
+
|oxygen=
 +
|sci landed surf=
 +
|sci splashed surf=
 +
|sci lower atmo=
 +
|sci upper atmo=
 +
|sci border atmo=
 +
|sci near space=
 +
|sci outer space=
 +
|sci border space=
 +
|sci recovery=
 +
|#default={{{2|}}}
 
}}</pre>
 
}}</pre>
  
 
== Example ==
 
== Example ==
Example used on this page:
+
Example param subpage used for this page:
<pre>{{Infobox/Body
+
{{#tag:pre|{{msgnw:Infobox/Param}}}}
|name=Infobox
 
|Class=Planet
 
|File=Image-needed.png
 
|orbinc=7.4
 
|pe arg=4
 
|an arg=7
 
|anomaly=4.2
 
|orbps=36000
 
|sidrot=3600
 
|SoI=200000
 
|highest=2357
 
|T-minC=-42
 
|T-maxC=47
 
|O2yorn=no
 
}}</pre>
 
  
 
== Translating ==
 
== Translating ==
To translate this template see also [[Kerbal_Space_Program_Wiki:Translation#Templates|this article]].
+
When using this template, most of it is translated automatically. To translate this template or one of the subtemplates, go to the {{Tl|Infobox/Body/Dict}} template.
 
 
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
 
  
[[Category:Templates]]</noinclude>
+
[[Category:Infobox templates|Body]]</noinclude>

Latest revision as of 21:39, 15 November 2024

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 {{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=
|eccentricity=
|orbinc=
|pe arg=
|an arg=
|anomaly=
|radius=
|gravity gees=
|sidrot=
|pressure=
|atmospheric height=
|min temp=
|max temp=
|oxygen=
|sci landed surf=
|sci splashed surf=
|sci lower atmo=
|sci upper atmo=
|sci border atmo=
|sci near space=
|sci outer space=
|sci border space=
|sci recovery=
|#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

When using this template, most of it is translated automatically. To translate this template or one of the subtemplates, go to the {{Infobox/Body/Dict}} template.