Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+transcription;)
(Fixed bug: All bodies show synchronous orbit, even when it is outside SOI)
 
(240 intermediate revisions by 27 users not shown)
Line 1: Line 1:
<includeonly><div style="background: #f6f6f6; border: 1px solid #ccc; float: 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|en={{{Name|{{BASEPAGENAME}}}}} as seen from orbit.|fr=La planète {{{Name|{{BASEPAGENAME}}}}} vue depuis l'orbite.|pl={{{Name|{{BASEPAGENAME}}}}} widok z orbity.|ru={{{Name|{{BASEPAGENAME}}}}} с орбиты.|de={{{Name|{{BASEPAGENAME}}}}} vom Orbit aus gesehen.|sv={{{Name|{{BASEPAGENAME}}}}} sedd från rymden.|zh-cn=从轨道上看{{{Name|{{BASEPAGENAME}}}}}|tr=Uzaydan görünen haliyle {{{Name|{{BASEPAGENAME}}}}}|ko={{{Name|{{BASEPAGENAME}}}}}}}</small>
+
|file style=background:black
|-
+
|notes={{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|<references group="Note">
| colspan="2" style="text-align: center;" | [[{{{Class}}}{{if lang}}|{{#switch: {{{Class}}}
+
<ref name="centered">{{Infobox/Body/Dict|note}}</ref></references>}}
|Star={{lang|en=Star|nl=Ster|pl=Gwiazda|ru=Звезда|de=Stern|pt=Estrela|sv=Stjärna|zh-cn=恒星|tr=Yıldız}}
+
|lines=
|Planet={{lang|en=Planet|nl=Planeet|pl=Planeta|ru=Планета|de=Planet|pt=Planeta|sv=Planet|zh-cn=行星|tr=Gezegen}}
+
{{Infobox/Line|{{lang
|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}}
+
|en={{{name|{{BASEPAGENAME}}}}} as seen from orbit.
|Moon={{lang|en=Moon|nl=Maan|pl=Księżyc|ru=Спутник|de=Mond|pt=Lua|sv=Måne|zh-cn=卫星|tr=Uydu|ko=별}}
+
|de={{{name|{{BASEPAGENAME}}}}} vom Orbit aus gesehen.
|#default={{{Class}}}
+
|es={{{name|{{BASEPAGENAME}}}}} como se ve desde la órbita.
}}]] {{#if: {{{Parent|}}}|{{lang|en=of [[{{{Parent}}}]]|pl=obiega [[{{{Parent}}}/pl|{{{Parent}}}]]|ru=системы [[{{{Parent}}}/ru|{{{Parent}}}]]|de=von [[{{{Parent}}}/de|{{{Parent}}}]]|sv=till [[{{{Parent}}}/sv|{{{Parent}}}]]|zh-cn=绕转于[[{{{Parent}}}/zh-cn|{{{Parent}}}]]|tr=yörüngesinde[[{{{Parent}}}/tr|{{{Parent}}}]]|ko=의 [[{{{Parent}}}/ko|{{{Parent}}}]]}}}}
+
|fr=La planète {{{name|{{BASEPAGENAME}}}}} vue depuis l'orbite.
|-
+
|hr=Pogled na {{{name|{{BASEPAGENAME}}}}} iz orbite.
{{#if: {{{Parent|}}}|
+
|hu={{{name|{{BASEPAGENAME}}}}} a pályáról nézve
{{!}} 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={{{name|{{BASEPAGENAME}}}}} visto dall'orbita
{{!}}- valign="top"
+
|ja=軌道からみた{{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}}
{{!}} {{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:긴반지름|반장축]]}}
+
|ko={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} 을 궤도에서 바라본 모습이다.
{{!}} {{formatnum|{{#expr: ({{{apoap}}} + {{{periap|{{{apoap}}}}}})/2}}}}&nbsp;m <sup id="i-sma">([[#i-dis|1]])</sup>
+
|nl={{{name|{{BASEPAGENAME}}}}} gezien vanuit de ruimte.
{{!}}- valign="top"
+
|pl={{{name|{{BASEPAGENAME}}}}} widok z orbity.
{{!}} {{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|궤도최원점]]}}
+
|pt={{{name|{{BASEPAGENAME}}}}} visto de uma órbita
{{!}} {{formatnum|{{{apoap}}}}}&nbsp;m <sup id="i-ap">([[#i-dis|1]])</sup>
+
|ru={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} - вид с орбиты.
{{!}}- valign="top"
+
|tr=Uzaydan görünen haliyle {{{name|{{BASEPAGENAME}}}}}
{{!}} {{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|근점]]}}
+
|zh-cn=从轨道上看{{{name|{{BASEPAGENAME}}}}}
{{!}} {{formatnum|{{{periap|{{{apoap}}}}}}}}&nbsp;m <sup id="i-pe">([[#i-dis|1]])</sup>
+
}}|style=text-align: center; font-size:smaller;}}
{{!}}- valign="top"
+
{{Infobox/Line|[[{{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}{{if lang}}|{{#switch: {{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}
{{!}} {{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:궤도이심률|궤도이심률]]}}
+
|Star={{Celestial/Dict|Star}}
{{!}} {{#expr: 1-2/({{{apoap}}}/{{{periap|{{{apoap}}}}}}+1) round 2}}
+
|Planet={{Celestial/Dict|Planet}}
{{!}}- valign="top"
+
|Dwarf planet={{Celestial/Dict|Dwarf}}
{{!}} {{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:궤도경사|궤도경사]]}}
+
|Moon={{Celestial/Dict|Moon}}
{{!}} {{{orbinc}}}&nbsp;°
+
|#default={{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}[[Category:Infobox/Body with unrecognized class]]
{{!}}- valign="top"
+
}}]] {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|{{Infobox/Body/Dict|of}} [[{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}{{if lang}}|{{Celestial/Dict|{{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}}}]]
{{!}} {{lang|en=[[w:Argument of periapsis|Argument of periapsis]]|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|근점 적경]]}}
+
}}|style=text-align: center;}}
{{!}} {{{pe arg}}}&nbsp;°
+
{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|
{{!}}- valign="top"
+
{{Infobox/Line|'''{{Infobox/Body/Dict|orbital}}'''}}
{{!}} {{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:승교점 경도|승교점 경도]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|sma}}
{{!}} {{{an arg}}}&nbsp;°
+
|2=<span style="white-space:nowrap;">{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|apo}}
{{!}} {{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|평균 근점 이각]]}}
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}} {{{anomaly}}}&nbsp;rad <small>({{lang|en=at|de=um|pl=przy}} 0s UT)</small>
+
{{Infobox/Line|{{Infobox/Body/Dict|per}}
{{!}}- valign="top"
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}} rowspan="2" {{!}} {{lang|en=[[w:Orbital_Period|Siderial 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|궤도 주기]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|ecc}}
{{!}} {{formatnum|{{#expr: {{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}} round 1 }}}}&nbsp;s
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}} round 3}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|inc}}
{{!}} style="font-size:smaller;" {{!}} {{ExpandTime|{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|orbinc}} round 3 }}&nbsp;°}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|pe arg}}
{{!}} {{#if: {{#ifeq: {{{Name|{{BASEPAGENAME}}}}}|Kerbin|1}}{{Booland|{{#ifeq: {{{Parent}}}|Kerbol||1}}|{{#ifeq: {{{Parent}}}|Kerbin||1}}}}||rowspan="2"}} {{!}} {{lang|en=Synodic orbital period|de=Synodische Umlaufzeit|zh-cn=会合周期}}
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pe arg}}&nbsp;°}}
{{!}} {{#if: {{#ifeq: {{{Name|{{BASEPAGENAME}}}}}|Kerbin|1}}{{Booland|{{#ifeq: {{{Parent}}}|Kerbol||1}}|{{#ifeq: {{{Parent}}}|Kerbin||1}}}}|{{lang|en=''Not defined''|de=''Nicht definiert''|zh-cn=''未定义''}}|{{formatnum|{{#expr: {{OrbitSynodicPeriod|{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}}} round 1 }}}}&nbsp;s
+
{{Infobox/Line|{{Infobox/Body/Dict|an arg}}
{{!}}- valign="top"
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|an arg}}&nbsp;°}}
{{!}} style="font-size:smaller;" {{!}} {{ExpandTime|{{OrbitSynodicPeriod|{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}}}}}}}
+
{{Infobox/Line|{{Infobox/Body/Dict|anomaly}}
{{!}}- valign="top"
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|anomaly}} round 3}}&nbsp;{{Dict|rad}} <small>({{Infobox/Body/Dict|at}})</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ı]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|period}}
{{!}} {{#ifeq: {{{apoap|}}}|{{{periap|{{{apoap|}}}}}}|{{#expr: 2*pi*{{{apoap}}}/{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}} round 1}}|{{formatnum|{{#expr: pi*({{{apoap}}}+{{{periap}}})/{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}*({{{periap}}}/{{{apoap}}})^(0.5) round 1}}}} to {{formatnum|{{#expr: pi*({{{apoap}}}+{{{periap}}})/{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}*({{{apoap}}}/{{{periap}}})^(0.5) round 1}}}}}}&nbsp;m/s
+
|{{formatnum|{{#expr: {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1 }}}}&nbsp;{{Dict|s}}
}}
+
|<small>{{ExpandTime|{{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}}}</small>}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|synodic}}
| 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}}'''
+
|{{#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}}
|- valign="top"
+
|<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>}}}}}}
| {{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|]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|velocity}}
| {{formatnum|{{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}}}&nbsp;m
+
|{{#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}}}}
|- valign="top"
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}|Moon|{{Infobox/Line|{{Infobox/Body/Dict|eclipsed}}
| {{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ı]]}}
+
|{{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}}}}}}}}
| {{sigfigs|{{#expr: 4 * pi * {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}^2}}|8}} m<sup>2</sup>
+
{{Infobox/Line|'''{{Infobox/Body/Dict|physical}}'''}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|radius}}
| {{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]]}}
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}&nbsp;{{Dict|m}}}}
| {{sigfigs|{{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;kg
+
{{Infobox/Line|{{Infobox/Body/Dict|circumference}}
|- valign="top"
+
|{{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}}}&nbsp;{{Dict|m}}}}
| {{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]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|area}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}}&nbsp;m<sup>3</sup>/s<sup>2</sup>
+
|{{sigfigs|{{#expr: 4 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}^2}}|8}}&nbsp;{{Dict|m}}<sup>2</sup>}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|mass}}
| {{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]]}}
+
|{{sigfigs|{{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{Dict|k}}{{Dict|g}}}}
| {{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|gravpar}}
|- valign="top"
+
|{{sigfigs|{{#expr: {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}}&nbsp;{{Dict|m}}<sup>3</sup>/{{Dict|s}}<sup>2</sup>}}
| {{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]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|density}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} * {{G}} / ({{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}^2)}}|3}}&nbsp;m/s<sup>2</sup>
+
|{{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>}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|gravity}}
| {{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ı]]}}
+
|{{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>}}
| {{formatnum|{{#expr: (2 * {{G}} * {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} / {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}})^0.5}}|2}}&nbsp;m/s
+
{{Infobox/Line|{{Infobox/Body/Dict|escape}}
|- valign="top"
+
|{{formatnum|{{#expr: (2 * {{G}} * {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} / {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}})^0.5}}|2}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
| 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]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|rotation}}
| {{sigfigs|{{{sidrot}}}|8}}&nbsp;s
+
|{{sigfigs|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|8}}&nbsp;{{Dict|s}}
|- valign="top"
+
|<small>{{ExpandTime|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}</small>}}
| style="font-size:smaller;" | {{ExpandTime|{{{sidrot}}}}}
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol|
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|solar}}
| {{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ı]]}}
+
|{{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>}}}}
| {{sigfigs|{{#expr: {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}} * 2 * pi / {{{sidrot}}}}}|5}}&nbsp;m/s
+
{{Infobox/Line|{{Infobox/Body/Dict|sidereal}}
|- valign="top"
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} * 2 * pi / {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}|5}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
| {{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]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|sync}}
| {{#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}}}}
+
|{{#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}}}}}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|soi}}
| {{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ı]]}}
+
|{{#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>|∞}}}}
| {{#ifeq: {{{SoI|}}}|∞|∞|{{sigfigs|{{{SoI}}}|8}}&nbsp;m}}
+
{{Infobox/Line|'''{{Infobox/Body/Dict|atmospheric}}'''}}
|- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|atmo}}
{{#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}} {{!}}{{!}} {{{highest}}}&nbsp;m}}
+
|{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|{{Yes}}|{{No}}}}}}
|-
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
| 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}}'''
+
{{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: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ığı]]}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} round 6 }}&nbsp;{{Dict|atm}}}}
| {{#ifexpr: {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}}>0|{{Dict|Yes}}
+
{{Infobox/Line|{{Infobox/Body/Dict|height}}
{{!}}- valign="top"
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|atmospheric height}}}}&nbsp;{{Dict|m}}
{{!}} 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ı]]}}
+
|<small>{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} * 1e-6}}|2}}&nbsp;{{Dict|atm}}</small>}}
{{!}} {{sigfigs|{{#expr: {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}} * 101.327}}|3}}&nbsp;kPa
+
{{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}}}}}}
{{!}} {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}}&nbsp;atm
+
{{Infobox/Line|{{Infobox/Body/Dict|temp-max}}
{{!}}- valign="top"
+
|{{#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}}}}}}
{{!}} {{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]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|oxygen}}
{{!}} {{BodyData/ScaleHeight|{{{Name|{{BASEPAGENAME}}}}}}}&nbsp;m
+
|{{#ifeq: {{uc:{{Body data|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}}
{{!}}- valign="top"
+
{{Infobox/Line|'''{{Infobox/Body/Dict|sci}}'''}}
{{!}} 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ığı}}
+
{{Infobox/Line|{{Infobox/Body/Dict|surface}}
{{!}} {{sigfigs|{{#expr: ln(1e-6) * -{{BodyData/ScaleHeight|{{{Name|{{BASEPAGENAME}}}}}}}}}|8}}&nbsp;m
+
|{{#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''}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|splashed}}
{{!}} style="font-size:smaller;" {{!}} {{sigfigs|{{#expr: {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}}*1e-6}}|2}}&nbsp;atm
+
|{{#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''}}}}
{{!}}- valign="top"
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
{{!}} {{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ığı]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|low-atmo}}
{{!}} {{#if: {{{T-minC}}}|{{{T-minC}}}&nbsp;°C <small>{{#expr: {{{T-minC}}} + 273.15}}&nbsp;K</small>|Unknown}}
+
|{{#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''}}}}
{{!}}- valign="top"
+
{{Infobox/Line|{{Infobox/Body/Dict|up-atmo}}
{{!}} {{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: {{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''}}}}}}
{{!}} {{#if: {{{T-maxC}}}|{{{T-maxC}}}&nbsp;°C <small>{{#expr: {{{T-maxC}}} + 273.15}}&nbsp;K</small>|Unknown}}
+
{{Infobox/Line|{{Infobox/Body/Dict|near}}
{{!}}- valign="top"
+
|{{#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''}}}}
{{!}} {{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ığı]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|outer}}
{{!}} {{#ifeq: {{{O2yorn}}}|Yes|{{Dict|Yes}}|{{Dict|No}}}}
+
|{{#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''}}}}
|{{Dict|No}}}}
+
{{Infobox/Line|{{Infobox/Body/Dict|recovery}}
{{#if: {{{Parent|}}}|
+
|{{#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''}}}}
{{!}}-
+
}}</includeonly><noinclude>{{Infobox/Body}}
{{!}} 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=这是到天体中心而非表面的距离(不同于在游戏中)}}</span></li></ol>
 
}}
 
|}
 
</div></includeonly><noinclude>
 
{{Planetbox
 
|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>
 
{{ParameterRow|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>apoap</tt>
 
| No
 
| Apoapsis in meters from parents center
 
|-
 
| style="padding-left:2em" | <tt>periap</tt>
 
| Yes
 
| Periapsis in meters from parents center. Default: Apoapsis
 
|-
 
| 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
 
| Siderial 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 deactivate orbital information (for example [[Kerbol]]) don't set <tt><nowiki>{{{Parent}}}</nowiki></tt>. 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.
 
 
If the periapsis isn't defined it will assume a circular orbit where the apoapsis is identical to the periapsis. For the 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 only defined when the parent is either [[Kerbol]] or [[Kerbin]] but not at Kerbin itself. Although in real life it is defined for all moons, but {{Tl|OrbitSynodicPeriod}} isn't able to calculate the period for non Kerbin moons.
+
The ''Synodic orbital period'' is not defined for [[Kerbin]].
  
 
== Template ==
 
== Template ==
<pre>{{Planetbox
+
<pre>{{Infobox/Body}}</pre>
|Name=
+
 
|Class=
+
<pre>{{#switch: {{{1}}}
|File=
+
|name=
|Parent=  
+
|class=
|apoap=
+
|file=
|periap=
+
|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>{{Planetbox
+
{{#tag:pre|{{msgnw:Infobox/Param}}}}
|Class=Planet
 
|File=Image-needed.png
 
|Parent=Gilly
 
|apoap=1337000
 
|periap=470000
 
|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:
+
[[Category:Infobox templates|Body]]</noinclude>
* 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
 
[[Category:Templates|Planetbox]]
 
</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.