Difference between revisions of "Template:Infobox/Body"
From Kerbal Space Program Wiki
(+argument of AN/Pe; +Mean anomaly for what time;) |
m (*use arg instead of long; +pe/an arg in the example;) |
||
Line 35: | Line 35: | ||
{{!}}- 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]]}} | {{!}} {{lang|en=[[w:Longitude of the Ascending Node|Longitude of the ascending node]]|de=[[w:de:Argument des Knotens|Argument des Knotens]]}} | ||
− | {{!}} {{{an | + | {{!}} {{{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:平近点角|平近点角]]}} | {{!}} {{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:平近点角|平近点角]]}} | ||
Line 130: | Line 130: | ||
|periap=470000 | |periap=470000 | ||
|orbinc=7.4 | |orbinc=7.4 | ||
+ | |pe arg=4 | ||
+ | |an arg=7 | ||
|anomaly=4.2 | |anomaly=4.2 | ||
|sidrot=3600 | |sidrot=3600 | ||
Line 180: | Line 182: | ||
| Argument of periapsis | | Argument of periapsis | ||
|- | |- | ||
− | | style="padding-left:2em" | <tt>an | + | | style="padding-left:2em" | <tt>an arg</tt> |
| No | | No | ||
− | | Longitude of the | + | | Longitude of the ascending node |
|- | |- | ||
| style="padding-left:2em" | <tt>anomaly</tt> | | style="padding-left:2em" | <tt>anomaly</tt> | ||
Line 259: | Line 261: | ||
|periap=470000 | |periap=470000 | ||
|orbinc=7.4 | |orbinc=7.4 | ||
+ | |pe arg=4 | ||
+ | |an arg=7 | ||
|anomaly=4.2 | |anomaly=4.2 | ||
|orbps=36000 | |orbps=36000 |
Revision as of 21:09, 27 May 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, Orbital velocity
- Apoapsis: Semi-major axis, Orbital eccentricity, 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
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