Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*with differences now use the old system showing all multipliers;)
m
Line 96: Line 96:
 
{{Infobox/Line|[[Synchronous orbit{{if lang}}|{{lang|en=Synchronous orbit|es=Órbita síncrona|nl=Synchrone omloop|fr=Orbite Synchrone|pl=Orbita synchroniczna|hr=Sinkrona orbita|ru=Синхронная орбита|de=Synchrone Umlaufbahn|sv=Stationär bana|zh-cn=同步轨道高度|tr=Eşzamanlı Yörünge|it=Orbita sincrona|ko=정지 궤도|pt=Órbita sincronizada|hu=Szinkronpálya|ja=同期軌道}}]]
 
{{Infobox/Line|[[Synchronous orbit{{if lang}}|{{lang|en=Synchronous orbit|es=Órbita síncrona|nl=Synchrone omloop|fr=Orbite Synchrone|pl=Orbita synchroniczna|hr=Sinkrona orbita|ru=Синхронная орбита|de=Synchrone Umlaufbahn|sv=Stationär bana|zh-cn=同步轨道高度|tr=Eşzamanlı Yörünge|it=Orbita sincrona|ko=정지 궤도|pt=Órbita sincronizada|hu=Szinkronpálya|ja=同期軌道}}]]
 
|{{#if: {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}{{#ifexpr: {{OrbitAltitude/Core|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|mass}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}} < {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|1}}|{{OrbitAltitude | radius={{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} | mass={{Body data|{{{name|{{BASEPAGENAME}}}}}|mass}} | period={{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|factor=k}}|{{lang|en=Outside sphere of influence|es=Esfera afuera de influncía|pl=Poza sferą wpływów|hr=Vanjska sfera utjecaja|ru=За пределами сферы влияния|de=Außerhalb der Sphere of Influence|sv=Ej möjlig|it=Fuori dalla sfera di influenza|ko=인력권을 벗어나게됨|pt=Fora da esfera de influência}}}}}}
 
|{{#if: {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}{{#ifexpr: {{OrbitAltitude/Core|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|mass}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}}}} < {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|1}}|{{OrbitAltitude | radius={{Body data|{{{name|{{BASEPAGENAME}}}}}|radius}} | mass={{Body data|{{{name|{{BASEPAGENAME}}}}}|mass}} | period={{Body data|{{{name|{{BASEPAGENAME}}}}}|sidrot}}|factor=k}}|{{lang|en=Outside sphere of influence|es=Esfera afuera de influncía|pl=Poza sferą wpływów|hr=Vanjska sfera utjecaja|ru=За пределами сферы влияния|de=Außerhalb der Sphere of Influence|sv=Ej möjlig|it=Fuori dalla sfera di influenza|ko=인력권을 벗어나게됨|pt=Fora da esfera de influência}}}}}}
{{Infobox/Line|{{lang|en=[[w:Sphere_of_influence_(astrodynamics)|Sphere of influence]]|es=[[w:Sphere_of_influence_(astrodynamics)|Esfera de influencía]]|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]]|hr=[[w:hr:Sfera utjecaja|Sfera utjecaja]]|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|ko=[[w:Sphere_of_influence_(astrodynamics)|인력권]]|pt=[[w:pt:Esfera de influência (atrodinâmicas)|Esfera de influência]]|hu=[[SOI/hu|Hatássugár]]|ja=[[w:ja:重力圏|重力圏]]}}
+
{{Infobox/Line|{{lang|en=[[w:Sphere_of_influence_(astrodynamics)|Sphere of influence]]|es=[[w:Sphere_of_influence_(astrodynamics)|Esfera de influencía]]|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]]|hr=[[w:hr:Sfera utjecaja|Sfera utjecaja]]|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|ko=[[w:Sphere_of_influence_(astrodynamics)|인력권]]|pt=[[w:pt:Esfera de influência (atrodinâmicas)|Esfera de influência]]|hu=[[SOI/hu|Hatássugár]]|ja=[[w:ja:重力圏|作用圏]]}}
 
|{{#if: {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|<span style="white-space:nowrap;">{{sigfigs|{{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{lang|en=m|ru=м}}<ref name="centered" group="Note" /></span>|∞}}}}
 
|{{#if: {{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|<span style="white-space:nowrap;">{{sigfigs|{{Body data/SOI|{{{name|{{BASEPAGENAME}}}}}}}|8}}&nbsp;{{lang|en=m|ru=м}}<ref name="centered" group="Note" /></span>|∞}}}}
 
{{#if: {{{highest|}}}|{{Infobox/Line
 
{{#if: {{{highest|}}}|{{Infobox/Line
Line 119: Line 119:
 
{{Infobox/Line| {{lang|en=[[w:Oxygen|Oxygen present]]|es=[[w:es:Oxígeno|Oxígeno presente]]|nl=[[w:nl:Zuurstof|Zuurstof aanwezig]]|fr=[[w:fr:Oxygène|Présence d'Oxygène]]|hr=Nazočnost kisika|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:산소|대기중 산소 유무]]|pt=[[w:pt:Oxigênio|Presença de oxigênio]]|hu=[[w:hu:Oxigén|Oxigén jelenléte]]|ja=[[w:ja:酸素|酸素の有無]]}}
 
{{Infobox/Line| {{lang|en=[[w:Oxygen|Oxygen present]]|es=[[w:es:Oxígeno|Oxígeno presente]]|nl=[[w:nl:Zuurstof|Zuurstof aanwezig]]|fr=[[w:fr:Oxygène|Présence d'Oxygène]]|hr=Nazočnost kisika|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:산소|대기중 산소 유무]]|pt=[[w:pt:Oxigênio|Presença de oxigênio]]|hu=[[w:hu:Oxigén|Oxigén jelenléte]]|ja=[[w:ja:酸素|酸素の有無]]}}
 
|{{#ifeq: {{uc:{{Body data|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}}
 
|{{#ifeq: {{uc:{{Body data|{{{name|{{BASEPAGENAME}}}}}|oxygen}}}}|YES|{{Yes}}|{{No}}}}}}}}
{{Infobox/Line|'''{{lang|en=[[Science#Celestial body multipliers|Scientific multiplier]]|fr=[[Science#Celestial body multipliers|Multiplieur scientifique]]|pl=[[Science/pl#Mnożnik ciał niebieskich|Mnożnik nauki]]|de=Wissenschaftliche Multiplikatoren|hr=Znanstveni faktor|ru=[[Science/ru#Множители небесных тел|Научный множитель]]|ko=연구 점수 획득 배수|pt=Multiplicador científico|hu=[[Science/hu#Celestial body multipliers|Tudományos szorzó]]|ja=サイエンスポイント乗数}}'''}}
+
{{Infobox/Line|'''{{lang|en=[[Science#Celestial body multipliers|Scientific multiplier]]|fr=[[Science#Celestial body multipliers|Multiplieur scientifique]]|pl=[[Science/pl#Mnożnik ciał niebieskich|Mnożnik nauki]]|de=Wissenschaftliche Multiplikatoren|hr=Znanstveni faktor|ru=[[Science/ru#Множители небесных тел|Научный множитель]]|ko=연구 점수 획득 배수|pt=Multiplicador científico|hu=[[Science/hu#Celestial body multipliers|Tudományos szorzó]]|ja=サイエンスポイント倍率}}'''}}
{{Infobox/Line|{{lang|en=Surface|es=Superficie|fr=Surface|pl=Powierzchnia|de=Oberfläche|hr=Površina|ru=Поверхность|ko=지면|pt=Superfície|hu=Felszín|ja=地上}}|{{Booland|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}}|{{#ifexpr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}} > 0|1}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}}|''N/A''}}}}
+
{{Infobox/Line|{{lang|en=Surface|es=Superficie|fr=Surface|pl=Powierzchnia|de=Oberfläche|hr=Površina|ru=Поверхность|ko=지면|pt=Superfície|hu=Felszín|ja=地表}}|{{Booland|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}}|{{#ifexpr: {{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}} > 0|1}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|sci surf}}|''N/A''}}}}
 
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}}>0|
 
{{#ifexpr: {{#if: {{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|{{Body data|{{{name|{{BASEPAGENAME}}}}}|pressure}}|0}}>0|
{{Infobox/Line|{{lang|en=Lower atmosphere|es=Atmósfera baja|pl=Dolna atmosfera|hr=Donji sloj atmosfere|ru=Нижние слои атмосферы|ko=대기 하층부|pt=Atmosfera inferior|hu=Alsó Légkör}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|''N/A''}}}}
+
{{Infobox/Line|{{lang|en=Lower atmosphere|es=Atmósfera baja|pl=Dolna atmosfera|hr=Donji sloj atmosfere|ru=Нижние слои атмосферы|ko=대기 하층부|pt=Atmosfera inferior|hu=Alsó Légkör|ja=大気(低層)}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci lower atmo}}|''N/A''}}}}
{{Infobox/Line|{{lang|en=Upper atmosphere|pl=Górna atmosfera|de=Höhere Atmosphäre|hr=Gornji sloj atmosfere|ru=Верхние слои атмосферы|ko=대기 상층부|pt=Atmosfera superior|hu=Felső légkör}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|''N/A''}}}}}}
+
{{Infobox/Line|{{lang|en=Upper atmosphere|pl=Górna atmosfera|de=Höhere Atmosphäre|hr=Gornji sloj atmosfere|ru=Верхние слои атмосферы|ko=대기 상층부|pt=Atmosfera superior|hu=Felső légkör|ja=大気(上層)}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci upper atmo}}|''N/A''}}}}}}
{{Infobox/Line|{{lang|en=Near space|es=Cerca espacio|pl=Blisko przestrzeni|de=Naher Weltraum|hr=Bliski svemir|ru=Ближний космос|ko=천체 근처 우주공간|pt=Próximo ao espaço|hu=Közeli űr}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|''N/A''}}}}
+
{{Infobox/Line|{{lang|en=Near space|es=Cerca espacio|pl=Blisko przestrzeni|de=Naher Weltraum|hr=Bliski svemir|ru=Ближний космос|ko=천체 근처 우주공간|pt=Próximo ao espaço|hu=Közeli űr|ja=宇宙(近距離)}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci near space}}|''N/A''}}}}
{{Infobox/Line|{{lang|en=Outer space|es=Espacio exterior|pl=Przestrzeń kosmiczna|de=Tiefer Weltraum|hr=Udaljeni svemir|ru=Космическое пространство|ko=천체에서 먼 우주공간|hu=Távoli űr}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|''N/A''}}}}
+
{{Infobox/Line|{{lang|en=Outer space|es=Espacio exterior|pl=Przestrzeń kosmiczna|de=Tiefer Weltraum|hr=Udaljeni svemir|ru=Космическое пространство|ko=천체에서 먼 우주공간|hu=Távoli űr|ja=宇宙(遠距離)}}|{{Booland|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|{{#ifexpr: {{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}} > 0|1}}|{{BodyData|{{{name|{{BASEPAGENAME}}}}}|sci outer space}}|''N/A''}}}}
 
}}</includeonly><noinclude>{{Infobox/Body}}
 
}}</includeonly><noinclude>{{Infobox/Body}}
  

Revision as of 18:41, 22 December 2014

Infobox
Infobox
Infobox as seen from orbit.
Planet of Gilly
Orbital Characteristics
Semi-major axis 1 807 000 m [Note 1]
Apoapsis 2 674 000 m [Note 1]
Periapsis 940 000 m [Note 1]
Orbital eccentricity 0.48
Orbital inclination 7.4 °
Argument of periapsis 4 °
Longitude of the ascending node 7 °
Mean anomaly 4.2 rad (at 0s UT)
Sidereal orbital period 5 300 957 s
245 d 2 h 29 m 16.5 s
Synodic orbital period 419 326.1 s
Orbital velocity 1 - 4 m/s
Physical Characteristics
Equatorial radius 10 000 m
Equatorial circumference 62 832 m
Surface area 1.2566371×109 m2
Mass 1.0000000×1020 kg
Standard gravitational parameter 6.6740800×109 m3/s2
Density 23 873 241 kg/m3
Surface gravity 66.7 m/s2 (6.806 g)
Escape velocity 1 155.34 m/s
Sidereal rotation period 3 600.0000 s
1 h 0 m 0 s
Sidereal rotational velocity 17.453 m/s
Synchronous orbit 119.88 km
Sphere of influence 26 260 587 m [Note 1]
Atmospheric Characteristics
Atmosphere present Yes
Atmospheric pressure 101.325 kPa
1 atm
Atmospheric height 40 000 m
1.0×10-6 atm
Temperaturemin -42 °C 231.15 K
Temperaturemax 47 °C 320.15 K
Oxygen present No
Scientific multiplier
Surface 10
Splashed 6
Lower atmosphere 8
Upper atmosphere 8
Near space 6
Outer space 6
Recovery 5

  1. 1.0 1.1 1.2 1.3 The distances are given from the body's center, not from the surface (unlike ingame)

Usage

This template don't need any parameters and instead uses only {{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:

  • Periapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity, Solar day, Sphere of influence
  • Apoapsis: Semi-major axis, Orbital eccentricity, Sidereal orbital period, Synodic orbital period, Orbital velocity, Solar day, Sphere of influence
  • Orbital period: Orbital velocity
  • Radius: Surface area, Density, Surface gravity, Synchronous orbit
  • Mass: Gravitational parameter, Density, Surface gravity, Synchronous orbit, Sphere of influence
  • Sidereal rotation period: Sidereal rotational velocity, Synchronous orbit, Solar day
  • Scale height: Atmospheric height
  • Atmospheric pressure (in atm): Atmospheric pressure (in kPa), Atmospheric pressure at atmospheric height

The Synodic orbital period is not defined for Kerbin.

Template

{{Infobox/Body}}
{{#switch: {{{1}}}
|name=
|class=
|file=
|parent=
|apoapsis=
|periapsis=
|orbinc=
|pe arg=
|an arg=
|anomaly=
|radius=
|mass=
|sidrot=
|highest=
|highest latitude=
|highest longitude=
|pressure=
|scale height=
|min temp=
|max temp=
|oxygen=
|sci surf=
|sci lower atmo=
|sci upper atmo=
|sci near space=
|sci outer space=1
|#default={{{2|}}}
}}

Example

Example param subpage used for this page:

<noinclude>{{Data template used}}</noinclude>{{#switch: {{{1}}}
|name=Infobox
|class=Planet
|file=Image needed.svg
|parent=Gilly
|semi-major axis=1807000
|eccentricity=0.47980077476480365
|orbinc=7.4
|pe arg=4
|an arg=7
|anomaly=4.2
|radius=10000
|gravity gees=6.805667582711731
|sidrot=3600
|pressure=1
|atmospheric height=40000
|min temp=-42
|max temp=47
|oxygen=no
|sci landed surf=10
|sci splashed surf=6
|sci lower atmo=8
|sci upper atmo=8
|sci border atmo=20000
|sci near space=6
|sci outer space=6
|sci border space=100000
|sci recovery=5
|#default={{{2|}}}
}}

Translating

To translate this template see also this article.

This template supports the following languages:

  • English: Everything supported
  • Español (Spanish): Everything is supported but it needs to be proof-readed. Todo está apoyado pero necesita estar corregido.
  • Nederlands (Dutch): Subsections (like “Orbital Characteristics”) and most of the columns are supported
  • Français (French): Most parameters supported
  • Русский (Russian): Everything supported
  • Polski (Polish): Everything supported
  • German (Deutsch): Everything supported
  • Portuguese (Português) Some parameters supported
  • Swedish (Svenska): Most parameters supported
  • Turkish (Türkçe): Most parameters supported
  • Italian (italiano): Some parameter supported
  • Korean (한국어) : Everything supported
  • Croatian (hrvatski) : Everything supported
  • Hungarian (magyar) : Everything supported
  • Japanese (日本語) : Everything supported