Difference between revisions of "Template:Infobox/Body"
From Kerbal Space Program Wiki
(*mass and periapsis from subtemplates to parameters;) |
m (*automatically gather some parameters from the Params page; +surface gravity in gees;) |
||
Line 1: | Line 1: | ||
<includeonly>{{Infobox|width=280 | <includeonly>{{Infobox|width=280 | ||
|name={{{transcription|{{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}}}} {{#if: {{{transcription|}}}{{#ifeq: {{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}|{{{name|{{BASEPAGENAME}}}}}||1}}|({{{name|{{BASEPAGENAME}}}}})}} | |name={{{transcription|{{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}}}} {{#if: {{{transcription|}}}{{#ifeq: {{BodyData/Name|{{{name|{{BASEPAGENAME}}}}}}}|{{{name|{{BASEPAGENAME}}}}}||1}}|({{{name|{{BASEPAGENAME}}}}})}} | ||
− | |file={{{ | + | |file={{BodyData|{{{name|{{BASEPAGENAME}}}}}|file}} |
|file style=background:black | |file style=background:black | ||
|notes={{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|parent}}|<references group="Note"> | |notes={{#if: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|parent}}|<references group="Note"> | ||
Line 74: | Line 74: | ||
|{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} / (4 * pi * {{BodyData|{{{name|{{BASEPAGENAME}}}}}|radius}}^3 / 3)}}|8}} {{lang|en=kg/m|ru=кг/м}}<sup>3</sup>}} | |{{sigfigs|{{#expr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} / (4 * pi * {{BodyData|{{{name|{{BASEPAGENAME}}}}}|radius}}^3 / 3)}}|8}} {{lang|en=kg/m|ru=кг/м}}<sup>3</sup>}} | ||
{{Infobox/Line|{{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­flächen­schwer­kraft]]|sv=[[w:sv:Ytgravitation|Ytgravitation]]|zh-cn=[[w:zh-cn:重力加速度|表面重力加速度]]|tr=[[w:tr:Yüzey Yerçekimi|Yüzey Yerçekimi]]|it=Gravità|ko=[[w:ko:표면_중력|표면 중력]]}} | {{Infobox/Line|{{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­flächen­schwer­kraft]]|sv=[[w:sv:Ytgravitation|Ytgravitation]]|zh-cn=[[w:zh-cn:重力加速度|表面重力加速度]]|tr=[[w:tr:Yüzey Yerçekimi|Yüzey Yerçekimi]]|it=Gravità|ko=[[w:ko:표면_중력|표면 중력]]}} | ||
− | |{{sigfigs| | + | |{{sigfigs|{{BodyData/Gravity|{{{name|{{BASEPAGENAME}}}}}}}|3}} {{lang|en=m/s|ru=м/с}}<sup>2</sup> <small>({{#expr: {{BodyData/Gravity|{{{name|{{BASEPAGENAME}}}}}}} round 3}} ''g'')</small>}} |
{{Infobox/Line|{{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|ko=[[w:ko:탈출_속도|탈출 속도]]}} | {{Infobox/Line|{{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|ko=[[w:ko:탈출_속도|탈출 속도]]}} | ||
|{{formatnum|{{#expr: (2 * {{G}} * {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} / {{BodyData|{{{name|{{BASEPAGENAME}}}}}|radius}})^0.5}}|2}} {{lang|en=m/s|ru=м/с}}}} | |{{formatnum|{{#expr: (2 * {{G}} * {{BodyData|{{{name|{{BASEPAGENAME}}}}}|mass}} / {{BodyData|{{{name|{{BASEPAGENAME}}}}}|radius}})^0.5}}|2}} {{lang|en=m/s|ru=м/с}}}} | ||
Line 106: | Line 106: | ||
|{{#if: {{{max temp}}}|{{{max temp}}} °C <small>{{#expr: {{{max temp}}} + 273.15}} K</small>|Unknown}}}} | |{{#if: {{{max temp}}}|{{{max temp}}} °C <small>{{#expr: {{{max temp}}} + 273.15}} K</small>|Unknown}}}} | ||
{{Infobox/Line| {{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ığı]]|ko=[[w:ko:산소|대기중 산소 존재여부]]}} | {{Infobox/Line| {{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ığı]]|ko=[[w:ko:산소|대기중 산소 존재여부]]}} | ||
− | |{{#ifeq: {{uc:{{{oxygen | + | |{{#ifeq: {{uc:{{BodyData|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}} |
}}</includeonly><noinclude>{{Infobox/Body | }}</includeonly><noinclude>{{Infobox/Body | ||
|name=Infobox | |name=Infobox |
Revision as of 09:55, 15 September 2013
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 | |
|
Usage
Parameters
To orbital information is deactivated (for example Kerbol) when {{BodyData}} for the parameter parent returns nothing. The atmospheric information is only visible when {{BodyData}} for the parameter pressure returns a value higher than 0.
For the apsides, parent, mass, radius, pressure at sea-level and scale height it uses the {{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
Some values are calculated automatically:
- Periapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity
- Apoapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity
- Orbital period: Orbital velocity
- Radius: Surface Area, Density, Surface Gravity, Synchronous Orbit
- Mass: Gravitational Parameter, Density, Surface Gravity, Synchronous Orbit
- Sidereal Rotation Period: Sidereal Rotational Velocity, Synchronous Orbit
- Scale Height: Atmospheric Height
- Atmospheric pressure (in atm): Atmospheric pressure (in kPa), Atmospheric pressure at atmospheric height
The Synodic orbital period is not defined for Kerbin.
Template
{{Infobox/Body |name= |class= |file= |orbinc= |pe arg= |an arg= |anomaly= |sidrot= |highest= |highest longitude= |highest latitude= |min temp= |max temp= |oxygen= }}
Example
Example used on this page:
{{Infobox/Body |name=Infobox |class=Planet |file=Image-needed.png |orbinc=7.4 |pe arg=4 |an arg=7 |anomaly=4.2 |sidrot=3600 |highest=2357 |highest longitude=17 |highest latitude=01 |min temp=-42 |max temp=47 |oxygen=no }}
Translating
To translate this template see also this article.
This template support following languages:
- English: Everything supported
- Nederlands (Dutch): Subsections (like “Orbital Characteristics”) and most of the columns are supported
- Français (French): Subsections (like “Orbital Characteristics”) and most of the columns are supported
- Русский (Russian): Everything supported
- Polski (Polish): Everything supported
- German (Deutsch): Everything supported
- Portuguese (Português) Some parameters supported
- Swedish (Svenska): Most parameters supported
- Turkish (Türkçe): Most parameters supported
- Italian (italiano): Some parameter supported
- Korean (한국어) : Everything supported