Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (-new line;)
m (!style (where did those HTML-entities come from?); !sma/pe/ap values;)
Line 38: Line 38:
 
{{Infobox/Line|'''{{lang|en=Orbital Characteristics|ru=Орбитальные характеристики|nl=Baan Eigenschappen|fr=Caractéristiques Orbitales|pl=Charakterystyka Orbity|de=Orbitaleigenschaften|pt=Características orbitais|sv=Omloppsbana|zh-cn=轨道参数|tr=Yörünge Özellikleri|ko=궤도특성|it=Caratteristiche dell'orbita}}'''}}
 
{{Infobox/Line|'''{{lang|en=Orbital Characteristics|ru=Орбитальные характеристики|nl=Baan Eigenschappen|fr=Caractéristiques Orbitales|pl=Charakterystyka Orbity|de=Orbitaleigenschaften|pt=Características orbitais|sv=Omloppsbana|zh-cn=轨道参数|tr=Yörünge Özellikleri|ko=궤도특성|it=Caratteristiche dell'orbita}}'''}}
 
{{Infobox/Line|{{lang|en=[[w:Semi-major axis|Semi-major axis]]|nl=Halve lange as|fr=[[w:fr:Demi-grand axe|Demi-grand axe]]|pl=[[w:pl:Półoś_wielka|Półoś wielka]]|ru=[[w:ru:Большая полуось|Большая полуось]]|de=[[w:de:Große Halbachse|Große Halbachse]]|sv=[[w:sv:Halv_storaxel|Halv storaxel]]|zh-cn=[[w:zh-cn:半长轴|半长轴]]|tr=[[w:tr:Yarı Ana Eksen|Yarı Ana Eksen]]|ko=[[w:ko:긴반지름|반장축]]}}
 
{{Infobox/Line|{{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:긴반지름|반장축]]}}
|{{formatnum|{{#expr: ({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})/2}}}}&nbsp;m <sup id="i-sma">([[#i-dis|1]])</sup>}}
+
|2={{formatnum|{{#expr: ({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}} + {{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}})/2}}}}&nbsp;m <sup id="i-sma">([[#i-dis|1]])</sup>}}
 
{{Infobox/Line|{{lang|en=[[w:Apoapsis|Apoapsis]]|nl=[[w:nl:Apofocus en perifocus|Apofocus]]|fr=[[w:fr:Apoapside|Apoapside]]|pl=[[w:pl:Apocentrum|Apocentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Апоцентр]]|de=[[w:de:Apoapsis|Apoapsis]]|sv=[[w:sv:Apsis|Apoapsis]]|zh-cn=[[w:zh-cn:拱点|远点高度]]|tr=[[w:tr:Tepe Noktası|Tepe Noktası]]|ko=[[w:Apoapsis|궤도최원점]]|it=Apogeo}}
 
{{Infobox/Line|{{lang|en=[[w:Apoapsis|Apoapsis]]|nl=[[w:nl:Apofocus en perifocus|Apofocus]]|fr=[[w:fr:Apoapside|Apoapside]]|pl=[[w:pl:Apocentrum|Apocentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Апоцентр]]|de=[[w:de:Apoapsis|Apoapsis]]|sv=[[w:sv:Apsis|Apoapsis]]|zh-cn=[[w:zh-cn:拱点|远点高度]]|tr=[[w:tr:Tepe Noktası|Tepe Noktası]]|ko=[[w:Apoapsis|궤도최원점]]|it=Apogeo}}
|{{formatnum|{{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-ap">([[#i-dis|1]])</sup>}}
+
|2={{formatnum|{{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-ap">([[#i-dis|1]])</sup>}}
 
{{Infobox/Line|{{lang|en=[[w:Periapsis|Periapsis]]|nl=[[w:nl:Apofocus en perifocus|Perifocus]]|fr=[[w:fr:Periapside|Periapside]]|pl=[[w:pl:Perycentrum|Perycentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Перицентр]]|de=[[w:de:Periapsis|Periapsis]]|sv=[[w:sv:Apsis|Periapsis]]|zh-cn=[[w:zh-cn:拱点|近点高度]]|pt=Periastro|tr=[[w:tr:Çukur Noktası|Çukur Noktası]]|ko=[[w:Periapsis|근점]]|it=Perigeo}}
 
{{Infobox/Line|{{lang|en=[[w:Periapsis|Periapsis]]|nl=[[w:nl:Apofocus en perifocus|Perifocus]]|fr=[[w:fr:Periapside|Periapside]]|pl=[[w:pl:Perycentrum|Perycentrum]]|ru=[[w:ru:Апоцентр_и_перицентр|Перицентр]]|de=[[w:de:Periapsis|Periapsis]]|sv=[[w:sv:Apsis|Periapsis]]|zh-cn=[[w:zh-cn:拱点|近点高度]]|pt=Periastro|tr=[[w:tr:Çukur Noktası|Çukur Noktası]]|ko=[[w:Periapsis|근점]]|it=Perigeo}}
|{{formatnum|{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-pe">([[#i-dis|1]])</sup>}}
+
|2={{formatnum|{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}}}&nbsp;m <sup id="i-pe">([[#i-dis|1]])</sup>}}
 
{{Infobox/Line|{{lang|en=[[w:Orbital_eccentricity|Orbital eccentricity]]|nl=[[w:nl:Eccentriciteit|Excentriciteit (astronomie)]]|fr=[[w:fr:Excentricité orbitale|Excentricité Orbitale]]|pl=[[w:Orbital_eccentricity|Ekscentryczność orbity]]|ru=[[w:ru:Эксцентриситет|Эксцентриситет]]|de=[[w:de:Exzentrizität (Astronomie)|Orbitale Exzentrizität]]|sv=[[w:sv:Excentricitet|Excentricitet]]|zh-cn=[[w:zh-cn:离心率|离心率]]|tr=[[w:tr:Yörünge Merkez Kayması|Yörünge Merkez Kayması]]|ko=[[w:ko:궤도이심률|궤도이심률]]|it=Eccentricità}}
 
{{Infobox/Line|{{lang|en=[[w:Orbital_eccentricity|Orbital eccentricity]]|nl=[[w:nl:Eccentriciteit|Excentriciteit (astronomie)]]|fr=[[w:fr:Excentricité orbitale|Excentricité Orbitale]]|pl=[[w:Orbital_eccentricity|Ekscentryczność orbity]]|ru=[[w:ru:Эксцентриситет|Эксцентриситет]]|de=[[w:de:Exzentrizität (Astronomie)|Orbitale Exzentrizität]]|sv=[[w:sv:Excentricitet|Excentricitet]]|zh-cn=[[w:zh-cn:离心率|离心率]]|tr=[[w:tr:Yörünge Merkez Kayması|Yörünge Merkez Kayması]]|ko=[[w:ko:궤도이심률|궤도이심률]]|it=Eccentricità}}
 
|{{#expr: 1-2/({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}+1) round 2}}}}
 
|{{#expr: 1-2/({{BodyData/Apoapsis|{{{name|{{BASEPAGENAME}}}}}}}/{{BodyData/Periapsis|{{{name|{{BASEPAGENAME}}}}}}}+1) round 2}}}}
Line 98: Line 98:
 
|{{sigfigs|{{#expr: ln(1e-6) * -{{BodyData/ScaleHeight|{{{name|{{BASEPAGENAME}}}}}}}}}|8}}&nbsp;m
 
|{{sigfigs|{{#expr: ln(1e-6) * -{{BodyData/ScaleHeight|{{{name|{{BASEPAGENAME}}}}}}}}}|8}}&nbsp;m
 
|<small>{{sigfigs|{{#expr: {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}}*1e-6}}|2}}&nbsp;atm</small>}}
 
|<small>{{sigfigs|{{#expr: {{BodyData/Pressure|{{{name|{{BASEPAGENAME}}}}}}}*1e-6}}|2}}&nbsp;atm</small>}}
{{Infobox/Line|{{lang|en=[[w:Atmospheric_temperature|Temperature<sub>min</sub&amp;gt;]]|nl=[[w:Atmospheric_temperature|Temperatuur<sub>min</sub&gt;]]|fr=[[w:Atmospheric_temperature|Température<sub>min&lt;/sub&gt;]]|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&gt;]]|zh-cn=[[w:zh-cn:温度|大气温度(最低)]]|tr=[[w:tr:Atmosfer Sıcaklığı|Atmosfer Sıcaklığı]]}}
+
{{Infobox/Line|{{lang|en=[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|nl=[[w:Atmospheric_temperature|Temperatuur<sub>min</sub>]]|fr=[[w:Atmospheric_temperature|Température<sub>min</sub>]]|pl=[[w:pl:Temperatura|Temperatura<sub>min</sub>]]|ru=[[w:Atmospheric_temperature|Температура<sub>min</sub>]]|de=[[w:de:Lufttemperatur|Lufttemperatur<sub>min</sub>]]|sv=[[w:sv:Temperatur|Temperatur<sub>min</sub>]]|zh-cn=[[w:zh-cn:温度|大气温度(最低)]]|tr=[[w:tr:Atmosfer Sıcaklığı|Atmosfer Sıcaklığı]]}}
 
|{{#if: {{{min temp|}}}|{{{min temp}}}&nbsp;°C <small>{{#expr: {{{min temp}}} + 273.15}}&nbsp;K</small>|Unknown}}}}
 
|{{#if: {{{min temp|}}}|{{{min temp}}}&nbsp;°C <small>{{#expr: {{{min temp}}} + 273.15}}&nbsp;K</small>|Unknown}}}}
{{Infobox/Line|{{lang|en=Temperature<sub>max</sub>|nl=Temperatuur<sub&amp;gt;max</sub>|fr=Température<sub>max</sub&gt;|pl=Temperatura<sub>max</sub>|ru=Температура<sub>max</sub>|de=Lufttemperatur<sub>max</sub&gt;|sv=Temperatur<sub>max</sub>|zh-cn=大气温度(最高)}}
+
{{Infobox/Line|{{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: {{{max temp}}}|{{{max temp}}}&nbsp;°C <small>{{#expr: {{{max temp}}} + 273.15}}&nbsp;K</small>|Unknown}}}}
 
|{{#if: {{{max temp}}}|{{{max temp}}}&nbsp;°C <small>{{#expr: {{{max temp}}} + 273.15}}&nbsp;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ığı]]}}
 
{{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ığı]]}}

Revision as of 14:10, 19 July 2013

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

Template:Data Template

Parameters

Name Optional Description
name Yes Name of celestial body. Used to determine mass. Default: {{BASEPAGENAME}}

Template:Parameter Row

class No Class of celestial body. This will be translated!
file No Filename to image of the celestial object
Parent Yes Object which this object does orbit. If net set it hides the orbital information. Default: Not set
orbinc No Orbital inclination in degrees.
pe arg No Argument of periapsis
an arg No Longitude of the ascending node
anomaly No Mean anomaly in radians for UT 0s
sidrot No Sidereal period in seconds
soi No Sphere of influence in meters. Special value: ∞
highest Yes Highest elevation in meters. Default: Not set
Atmospheric data are only needed if it has an atmosphere
min temp No Lowest temperature in degrees celsius
max temp No Highest temperature in degrees celsius
O2yorn No Is oxygen present? (Yes/No)

To orbital information is deactivated (for example Kerbol) when {{BodyData/Parent}} returns nothing. The atmospheric information is only visible when {{BodyData/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=
|soi=
|highest=
|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
|soi=200000
|highest=2357
|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