Difference between revisions of "Template:Infobox/Body"
(→Dependencies) |
|||
Line 3: | Line 3: | ||
<div style="background: #000">[[File:{{{File|Image-needed.png}}}|280px|Planet image]]</div> | <div style="background: #000">[[File:{{{File|Image-needed.png}}}|280px|Planet image]]</div> | ||
{| style="padding: 0.5em; font-size: 90%" valign="top" | {| style="padding: 0.5em; font-size: 90%" valign="top" | ||
− | | 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}}}}}}}</small> | + | | 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> |
|- | |- | ||
| colspan="2" style="text-align: center;" | [[{{{Class}}}{{if lang}}|{{#switch: {{{Class}}} | | colspan="2" style="text-align: center;" | [[{{{Class}}}{{if lang}}|{{#switch: {{{Class}}} | ||
Line 9: | Line 9: | ||
|Planet={{lang|en=Planet|nl=Planeet|pl=Planeta|ru=Планета|de=Planet|pt=Planeta|sv=Planet|zh-cn=行星|tr=Gezegen}} | |Planet={{lang|en=Planet|nl=Planeet|pl=Planeta|ru=Планета|de=Planet|pt=Planeta|sv=Planet|zh-cn=行星|tr=Gezegen}} | ||
|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}} | |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}} | ||
− | |Moon={{lang|en=Moon|nl=Maan|pl=Księżyc|ru=Спутник|de=Mond|pt=Lua|sv=Måne|zh-cn=卫星|tr=Uydu}} | + | |Moon={{lang|en=Moon|nl=Maan|pl=Księżyc|ru=Спутник|de=Mond|pt=Lua|sv=Måne|zh-cn=卫星|tr=Uydu|ko=별}} |
|#default={{{Class}}} | |#default={{{Class}}} | ||
− | }}]] {{#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}}}]]}}}} | + | }}]] {{#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}}}]]}}}} |
|- | |- | ||
{{#if: {{{Parent|}}}| | {{#if: {{{Parent|}}}| | ||
− | {{!}} 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}}''' | + | {{!}} 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=궤도특성}}''' |
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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]]}} | + | {{!}} {{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: ({{{apoap}}} + {{{periap|{{{apoap}}}}}})/2}}}} m <sup id="i-sma">([[#i-dis|1]])</sup> | {{!}} {{formatnum|{{#expr: ({{{apoap}}} + {{{periap|{{{apoap}}}}}})/2}}}} m <sup id="i-sma">([[#i-dis|1]])</sup> | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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ı]]}} | + | {{!}} {{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|궤도최원점]]}} |
{{!}} {{formatnum|{{{apoap}}}}} m <sup id="i-ap">([[#i-dis|1]])</sup> | {{!}} {{formatnum|{{{apoap}}}}} m <sup id="i-ap">([[#i-dis|1]])</sup> | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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ı]]}} | + | {{!}} {{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|근점]]}} |
{{!}} {{formatnum|{{{periap|{{{apoap}}}}}}}} m <sup id="i-pe">([[#i-dis|1]])</sup> | {{!}} {{formatnum|{{{periap|{{{apoap}}}}}}}} m <sup id="i-pe">([[#i-dis|1]])</sup> | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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ı]]}} | + | {{!}} {{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:궤도이심률|궤도이심률]]}} |
{{!}} {{#expr: 1-2/({{{apoap}}}/{{{periap|{{{apoap}}}}}}+1) round 2}} | {{!}} {{#expr: 1-2/({{{apoap}}}/{{{periap|{{{apoap}}}}}}+1) round 2}} | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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]]}} | + | {{!}} {{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:궤도경사|궤도경사]]}} |
{{!}} {{{orbinc}}} ° | {{!}} {{{orbinc}}} ° | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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ı]]}} | + | {{!}} {{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|근점 적경]]}} |
{{!}} {{{pe arg}}} ° | {{!}} {{{pe arg}}} ° | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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ı]]}} | + | {{!}} {{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:승교점 경도|승교점 경도]]}} |
{{!}} {{{an arg}}} ° | {{!}} {{{an arg}}} ° | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} {{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]]}} | + | {{!}} {{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|평균 근점 이각]]}} |
{{!}} {{{anomaly}}} rad <small>({{lang|en=at|de=um|pl=przy}} 0s UT)</small> | {{!}} {{{anomaly}}} rad <small>({{lang|en=at|de=um|pl=przy}} 0s UT)</small> | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
− | {{!}} 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]]}} | + | {{!}} 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|궤도 주기]]}} |
{{!}} {{formatnum|{{#expr: {{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}} round 1 }}}} s | {{!}} {{formatnum|{{#expr: {{OrbitPeriod|{{{apoap}}}|{{{Parent}}}|{{{periap|{{{apoap}}}}}}}} round 1 }}}} s | ||
{{!}}- valign="top" | {{!}}- valign="top" |
Revision as of 02:58, 9 June 2013
Usage
Parameters
Name | Optional | Description |
---|---|---|
Name | Yes | Name of celestial body. Used to determine mass. Default: {{BASEPAGENAME}} |
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 |
apoap | No | Apoapsis in meters from parents center |
periap | Yes | Periapsis in meters from parents center. Default: Apoapsis |
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 | Siderial 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 | ||
T-minC | No | Lowest temperature in degrees celsius |
T-maxC | No | Highest temperature in degrees celsius |
O2yorn | No | Is oxygen present? (Yes/No) |
To deactivate orbital information (for example Kerbol) don't set {{{Parent}}}. The atmospheric information is only visible when {{BodyData/Pressure}} returns a value higher than 0.
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 {{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 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 {{OrbitSynodicPeriod}} isn't able to calculate the period for non Kerbin moons.
Template
{{Planetbox |Name= |Class= |File= |Parent= |apoap= |periap= |orbinc= |anomaly= |sidrot= |SoI= |highest= |T-minC= |T-maxC= |O2yorn= }}
Example
Example used on this page:
{{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 |orbps=36000 |sidrot=3600 |SoI=200000 |highest=2357 |T-minC=-42 |T-maxC=47 |O2yorn=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