Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*using Template:BodyData subtemplates;)
(Fixed bug: All bodies show synchronous orbit, even when it is outside SOI)
 
(307 intermediate revisions by 34 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">{{{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=Вид с орбиты.}}</small>
+
|file style=background:black
|-
+
|notes={{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|<references group="Note">
| colspan="2" style="text-align: center;" | [[{{#switch: {{{Class}}}
+
<ref name="centered">{{Infobox/Body/Dict|note}}</ref></references>}}
|Star={{lang|en=Star|nl=Ster|pl=Gwiazda|ru=Звезда}}
+
|lines=
|Planet={{lang|en=Planet|nl=Planeet|pl=Planeta|ru=Планета}}
+
{{Infobox/Line|{{lang
|Dwarf Planet={{lang|en=Dwarf Planet|nl=Dwergplaneet|pl=Planeta Karłowata|ru=Карликовая планета}}
+
|en={{{name|{{BASEPAGENAME}}}}} as seen from orbit.
|Moon={{lang|en=Moon|nl=Maan|pl=Księżyc|ru=Спутник}}
+
|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}}}]]|ru= [[{{{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}}'''
+
|it={{{name|{{BASEPAGENAME}}}}} visto dall'orbita
{{!}}-
+
|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:Большая полуось|Большая полуось]]}}
+
|ko={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} 을 궤도에서 바라본 모습이다.
{{!}} {{formatnum: {{#expr: ({{{apoap}}} + {{{periap|{{{apoap}}}}}})/2}}}} m
+
|nl={{{name|{{BASEPAGENAME}}}}} gezien vanuit de ruimte.
{{!}}-
+
|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:Апоцентр_и_перицентр|Апоцентр]]}}
+
|pt={{{name|{{BASEPAGENAME}}}}} visto de uma órbita
{{!}} {{formatnum: {{{apoap}}}}} m
+
|ru={{Body data/Name|{{{name|{{BASEPAGENAME}}}}}}} - вид с орбиты.
{{!}}-
+
|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:Апоцентр_и_перицентр|Перицентр]]}}
+
|zh-cn=从轨道上看{{{name|{{BASEPAGENAME}}}}}
{{!}} {{formatnum: {{{periap|{{{apoap}}}}}}}} m
+
}}|style=text-align: center; font-size:smaller;}}
{{!}}-
+
{{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:Эксцентриситет|Эксцентриситет]] орбиты}}
+
|Star={{Celestial/Dict|Star}}
{{!}} {{#expr: 1-2/({{{apoap}}}/{{{periap|{{{apoap}}}}}}+1) round 2}}
+
|Planet={{Celestial/Dict|Planet}}
{{!}}-
+
|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|Наклонение]]}}
+
|Moon={{Celestial/Dict|Moon}}
{{!}} {{{orbinc}}} °
+
|#default={{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}[[Category:Infobox/Body with unrecognized 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}}}}]]
{{!}} {{lang|en=[[w:Mean_Anomaly|Mean Anomaly]]|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|Средняя аномалия]]}}
+
}}|style=text-align: center;}}
{{!}} {{{anomaly}}} °
+
{{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|
{{!}}-
+
{{Infobox/Line|'''{{Infobox/Body/Dict|orbital}}'''}}
{{!}} valign="top" rowspan="2" {{!}} {{lang|en=[[w:Orbital_Period|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:Сидерический_период|Сидерический период]] обращения}}
+
{{Infobox/Line|{{Infobox/Body/Dict|sma}}
{{!}} {{formatnum: {{#expr: {{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}} round 1 }}}} s
+
|2=<span style="white-space:nowrap;">{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|semi-major axis}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}}-
+
{{Infobox/Line|{{Infobox/Body/Dict|apo}}
{{!}} <small>{{ExpandTime|{{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}}}}</small>
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}}-
+
{{Infobox/Line|{{Infobox/Body/Dict|per}}
{{!}} {{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:Орбитальная_скорость|Орбитальная скорость]]}}
+
|2=<span style="white-space:nowrap;">{{formatnum|{{#expr: {{Body data/Periapsis|{{{name|{{BASEPAGENAME}}}}}}} round 1}}}}&nbsp;{{Dict|m}} <ref name="centered" group="Note" /></span>}}
{{!}} {{#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}}}}}} m/s
+
{{Infobox/Line|{{Infobox/Body/Dict|ecc}}
}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|eccentricity}} round 3}}}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|inc}}
| colspan="2" | '''{{lang|en=Physical Characteristics|nl=Fysieke Eigenschappen|fr=Caractéristiques Physiques|pl=Charakterystyka fizyczna|ru=Физические характеристики}}'''
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|orbinc}} round 3 }}&nbsp;°}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|pe arg}}
| {{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:Радиус|Экваториальный радиус]]}}
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pe arg}}&nbsp;°}}
| {{formatnum: {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}}} m
+
{{Infobox/Line|{{Infobox/Body/Dict|an arg}}
|-
+
|{{Body data|{{{name|{{BASEPAGENAME}}}}}|an arg}}&nbsp;°}}
| {{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:Площадь_поверхности|Площадь поверхности]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|anomaly}}
| {{sigfigs|{{#expr: 4 * pi * {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}^2}}|8}} m<sup>2</sup>
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|anomaly}} round 3}}&nbsp;{{Dict|rad}} <small>({{Infobox/Body/Dict|at}})</small>}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|period}}
| {{lang|en=[[w:Mass|Mass]]|nl=[[w:nl:Massa|Massa]]|fr=[[w:fr:Masse|Masse]]|pl=[[w:pl:Masa_(fizyka)|Masa]]|ru=[[w:ru:Масса|Масса]]}}
+
|{{formatnum|{{#expr: {{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}} round 1 }}}}&nbsp;{{Dict|s}}
| {{sigfigs|{{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}}|8}} kg
+
|<small>{{ExpandTime|{{Body data/Sidereal orbit|{{{name|{{BASEPAGENAME}}}}}}}}}</small>}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|synodic}}
| {{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|Гравитационный параметр]]}}
+
|{{#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}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}} m<sup>3</sup>/s<sup>2</sup>
+
|<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>}}}}}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|velocity}}
| {{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:Плотность|Плотность]]}}
+
|{{#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}}}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} / (4 * pi * {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}^3 / 3)}}|8}} kg/m<sup>3</sup>
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|class}}|Moon|{{Infobox/Line|{{Infobox/Body/Dict|eclipsed}}
|-
+
|{{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}}}}}}}}
| {{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:Ускорение_свободного_падения|Ускорение свободного падения]]}}
+
{{Infobox/Line|'''{{Infobox/Body/Dict|physical}}'''}}
| {{sigfigs|{{#expr: {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} * {{G}} / ({{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}^2)}}|3}} m/s<sup>2</sup>
+
{{Infobox/Line|{{Infobox/Body/Dict|radius}}
|-
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}&nbsp;{{Dict|m}}}}
| {{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:Вторая_космическая_скорость|Вторая космическая скорость]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|circumference}}
| {{#expr: (2 * {{G}} * {{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} / {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}})^0.5 round2 }} m/s
+
|{{formatnum|{{#expr: 2 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}}}}&nbsp;{{Dict|m}}}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|area}}
| valign="top" 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:Период_вращения|Период вращения]]}}
+
|{{sigfigs|{{#expr: 4 * pi * {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}^2}}|8}}&nbsp;{{Dict|m}}<sup>2</sup>}}
| {{sigfigs|{{{sidrot}}}|8}} s
+
{{Infobox/Line|{{Infobox/Body/Dict|mass}}
|-
+
|{{sigfigs|{{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{Dict|k}}{{Dict|g}}}}
| <small>{{formatnum: {{ExpandTime|{{{sidrot}}}}}}}</small>
+
{{Infobox/Line|{{Infobox/Body/Dict|gravpar}}
|-
+
|{{sigfigs|{{#expr: {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} * {{G}}}}|8}}&nbsp;{{Dict|m}}<sup>3</sup>/{{Dict|s}}<sup>2</sup>}}
| {{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:Звёздное_время|Экваториальная скорость вращения]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|density}}
| {{sigfigs|{{#expr: {{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}} * 2 * pi / {{{sidrot}}}}}|5}} m/s
+
|{{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>}}
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|gravity}}
| {{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:Синхронная_орбита|Синхронная орбита]]}}
+
|{{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>}}
| {{#if: {{#ifeq: {{{SoI}}}||1}}{{#ifexpr: {{OrbitAltitude | radius_m={{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}} | mass_kg={{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} | period_s={{{sidrot}}} | suffix= }} < {{{SoI}}}|1}}|{{sigfigs|{{OrbitAltitude | radius_m={{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}} | mass_kg={{BodyData/Mass|{{{Name|{{BASEPAGENAME}}}}}}} | period_s={{{sidrot}}} | suffix=  }}|8}} m|{{lang|en=Outside sphere of influence|pl=Poza sferą wpływów|ru=За пределами сферы влияния}}}}
+
{{Infobox/Line|{{Infobox/Body/Dict|escape}}
|-
+
|{{formatnum|{{#expr: (2 * {{G}} * {{Body data/Mass|{{{name|{{BASEPAGENAME}}}}}}} / {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}})^0.5}}|2}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
| {{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)|Сфера влияния]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|rotation}}
| {{#ifeq: {{{SoI|}}}|∞|∞|{{sigfigs|{{{SoI}}}|8}} m}}
+
|{{sigfigs|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|8}}&nbsp;{{Dict|s}}
|-
+
|<small>{{ExpandTime|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}</small>}}
{{#if: {{{highest|}}}|{{!}} {{lang|en=Highest elevation|pl=Najwyższe wzniesienie|ru=Наивысшая точка}} {{!}}{{!}} {{{highest}}} m}}
+
{{#ifeq: {{Body data|{{{name|{{BASEPAGENAME}}}}}|parent}}|Kerbol|
|-
+
{{Infobox/Line|{{Infobox/Body/Dict|solar}}
| colspan="2" | '''{{lang|en=Atmospheric Characteristics|nl=Atmosferische Eigenschappen|fr=Caractéristiques Atmosphériques|pl=Charakterystyka atmosfery|ru=Атмосферные характеристики}}'''
+
|{{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}}
| {{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:Атмосфера|Наличие атмосферы]]}}
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} * 2 * pi / {{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}}}|5}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
| {{#ifexpr: {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}}>0|{{Planetbox/Dict|Yes}}
+
{{Infobox/Line|{{Infobox/Body/Dict|sync}}
{{!}}-
+
|{{#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" 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:Атмосферное_давление|Атмосферное давление]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|soi}}
{{!}} {{sigfigs|{{#expr: {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}} * 101.327}}|3}} kPa
+
|{{#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>|∞}}}}
{{!}}-
+
{{Infobox/Line|'''{{Infobox/Body/Dict|atmospheric}}'''}}
{{!}} {{BodyData/Pressure|{{{Name|{{BASEPAGENAME}}}}}}} atm
+
{{Infobox/Line|{{Infobox/Body/Dict|atmo}}
{{!}}-
+
|{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|{{Yes}}|{{No}}}}}}
{{!}} {{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|Шкала высоты]]}}
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
{{!}} {{{atmossh}}} m
+
{{Infobox/Line|{{Infobox/Body/Dict|pressure}}
{{!}}-
+
|{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} * 101.325}}|6}}&nbsp;{{Dict|k}}{{Dict|Pa}}
{{!}} {{lang|en=Atmospheric Height|nl=Atmosferische hoogte|fr=Hauteur de l'Atmoshère|pl=Wysokość atmosfery|ru=Высота атмосферы}}
+
|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} round 6 }}&nbsp;{{Dict|atm}}}}
{{!}} {{sigfigs|{{#expr: ln(1e-6) * -{{{atmossh|}}}}}|8}} m
+
{{Infobox/Line|{{Infobox/Body/Dict|height}}
{{!}}-
+
|{{formatnum|{{Body data|{{{name|{{BASEPAGENAME}}}}}|atmospheric height}}}}&nbsp;{{Dict|m}}
{{!}} {{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>]]|[[w:pl:Temperatura|Temperatura<sub>min</sub>]]|ru=[[w:Atmospheric_temperature|Температура<sub>min</sub>]]}}
+
|<small>{{sigfigs|{{#expr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}} * 1e-6}}|2}}&nbsp;{{Dict|atm}}</small>}}
{{!}} {{#if: T-minC|{{{T-minC|??}}} °C <small>{{#expr: {{{T-minC}}} + 273.15}} K</small>|Unknown}}
+
{{Infobox/Line|{{Infobox/Body/Dict|temp-min}}
{{!}}-
+
|{{#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=Temperature<sub>max</sub>|nl=Temperatuur<sub>max</sub>|fr=Température<sub>max</sub>|[[w:pl:Temperatura|Temperatura<sub>max</sub>]]|ru=[[w:Atmospheric_temperature|Температура<sub>max</sub>]]}}
+
{{Infobox/Line|{{Infobox/Body/Dict|temp-max}}
{{!}} {{#if: T-maxC|{{{T-maxC|??}}} °C <small>{{#expr: {{{T-maxC}}} + 273.15}} K</small>|Unknown}}
+
|{{#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}}}}}}
{{!}}-
+
{{Infobox/Line|{{Infobox/Body/Dict|oxygen}}
{{!}} {{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:Кислород|Наличие кислорода]]}}
+
|{{#ifeq: {{uc:{{Body data|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}}
{{!}} {{#ifeq: {{{O2yorn}}}|Yes|{{Planetbox/Dict|Yes}}|{{Planetbox/Dict|No}}}}
+
{{Infobox/Line|'''{{Infobox/Body/Dict|sci}}'''}}
|{{Planetbox/Dict|No}}}}
+
{{Infobox/Line|{{Infobox/Body/Dict|surface}}
|}
+
|{{#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''}}}}
</div></includeonly><noinclude>
+
{{Infobox/Line|{{Infobox/Body/Dict|splashed}}
{{Planetbox
+
|{{#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''}}}}
|Class=Planet
+
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}} > 0|
|File=Image-needed.png
+
{{Infobox/Line|{{Infobox/Body/Dict|low-atmo}}
|Parent=Gilly
+
|{{#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''}}}}
|apoap=1337000
+
{{Infobox/Line|{{Infobox/Body/Dict|up-atmo}}
|periap=470000
+
|{{#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''}}}}}}
|orbinc=7.4
+
{{Infobox/Line|{{Infobox/Body/Dict|near}}
|anomaly=4.2
+
|{{#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''}}}}
|sidrot=3600
+
{{Infobox/Line|{{Infobox/Body/Dict|outer}}
|SoI=200000
+
|{{#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''}}}}
|highest=2357
+
{{Infobox/Line|{{Infobox/Body/Dict|recovery}}
|atmossh=3000
+
|{{#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''}}}}
|T-minC=-42
+
}}</includeonly><noinclude>{{Infobox/Body}}
|T-maxC=47
 
|O2yorn=no
 
}}
 
  
 
== Usage ==
 
== Usage ==
To avoid adding the information for each language this template should be used for each celestial body once (e.g. [[Duna/Data]]) and each page using that Planetbox (e.g. [[Duna]] itself) could use it with {{[[Duna/Data|:Duna/Data]]}}.
+
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>
 
|-
 
| <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>anomaly</tt>
 
| No
 
| Mean anomaly in degrees
 
|-
 
| <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>atmossh</tt>
 
| No
 
| Atmospheric scale height in meters
 
|-
 
| 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 hidden 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 and pressure at sealevel it uses the {{Tl|BodyData}} templates.
 
 
 
Ingame the apsis is calculated 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, 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, 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)
 +
 +
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=
|atmossh=
+
|min temp=
|T-minC=
+
|max temp=
|T-maxC=
+
|oxygen=
|O2yorn=
+
|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
 
|anomaly=4.2
 
|orbps=36000
 
|sidrot=3600
 
|SoI=200000
 
|highest=2357
 
|atmossh=3000
 
|T-minC=-42
 
|T-maxC=47
 
|O2yorn=no
 
}}</pre>
 
  
 
== Translating ==
 
== Translating ==
This template support following languages:
+
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.
* 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
 
  
[[Category:Templates|Planetbox]]
+
[[Category:Infobox templates|Body]]</noinclude>
</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.