Difference between revisions of "Template:Infobox/Body"
m (added translation) |
|||
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}}}}}|ko={{{Name|{{BASEPAGENAME}}}}}}}</small> | + | | colspan="2" style="text-align: center; width: 100%;" | <small>{{lang|en={{{Name|{{BASEPAGENAME}}}}} as seen from orbit.|nl={{{Name|{{BASENAGENAME}}}}} gezien vanuit de ruimte. |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 31: | Line 31: | ||
{{!}} {{{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ı]]|ko=[[w:Argument of periapsis|근점 적경]]}} | + | {{!}} {{lang|en=[[w:Argument of periapsis|Argument of periapsis]]|nl=[[w:Argument of periapsis|Argument van Perifocus]]|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" | ||
Line 56: | Line 56: | ||
| colspan="2" | '''{{lang|en=Physical Characteristics|nl=Fysieke Eigenschappen|fr=Caractéristiques Physiques|pl=Charakterystyka fizyczna|ru=Физические характеристики|de=Physikalische Eigenschaften|sv=Fysikaliska data|zh-cn=物理特征|pt= Características físicas|tr=Fiziksel Özellikler}}''' | | colspan="2" | '''{{lang|en=Physical Characteristics|nl=Fysieke Eigenschappen|fr=Caractéristiques Physiques|pl=Charakterystyka fizyczna|ru=Физические характеристики|de=Physikalische Eigenschaften|sv=Fysikaliska data|zh-cn=物理特征|pt= Características físicas|tr=Fiziksel Özellikler}}''' | ||
|- valign="top" | |- valign="top" | ||
− | | {{lang|en=[[w:Radius|Equatorial Radius]]|nl=[[w:nl:Radius|Equatoriale | + | | {{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:Радиус|Экваториальный радиус]]|de=[[w:de:Radius|Äquatorialradius]]|sv=[[w:sv:Ekvator|Ekvatorradie]]|zh-cn=[[w:zh-cn:赤道半径|赤道半径]]|tr=[[w:tr:Yarıçap|Ekvatoral Yarıçap|]]}} |
| {{formatnum|{{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}}} m | | {{formatnum|{{BodyData/Radius|{{{Name|{{BASEPAGENAME}}}}}}}}} m | ||
|- valign="top" | |- valign="top" |
Revision as of 19:52, 22 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