Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox celestial body/doc: Difference between revisions

Template page
(starting new cb box layout in doc page)
Tag: 2017 source edit
 
(implementing some math)
Tag: 2017 source edit
Line 39: Line 39:
| header20 = Physical Characteristics
| header20 = Physical Characteristics


| label21  = Radius (m)
| label21  = Radius
|  data21  = 1600
|  data21  = {{#invoke:Data|getData|Example/body|radius}} <small>m</small>
| label22  = Equatorial circumference (m)
| label22  = Equatorial circumference
|  data22  = 3200
|  data22  = {{#expr: 2* pi * {{#invoke:Data|getData|Example/body|radius}} round 0}} <small>m</small>
| label23  = Surface area (m<sup>2</sup>)
| label23  = Surface area
|  data23  = 6400
|  data23  = {{#expr: 4 * pi * {{#invoke:Data|getData|Example/body|radius}}^2 round 0}} <small>m<sup>2</sup></small>
| label24  = Mass (kg)
| label24  = Mass
|  data24  = 12800
|  data24  = {{#expr: ((9.812 * (1000 * {{#invoke:Data|getData|Example/body|radius}})^2) / .00000000006674) round 2}} <small>kg</small>
| label25  = Axial tilt (°)
| label25  = Axial tilt
|  data25  = 2
|  data25  = {{#invoke:Data|getData|Example/body|axial_tilt}} <small>°</small>




| header40 = Orbital Characteristics
| header40 = Orbital Characteristics


| label41  = Semi major axis (m)
| label41  = Semi major axis
|  data41  = 50000
|  data41  = {{#invoke:Data|getData|Example/body|sma}} <small>m</small>
| label42  = Apoapsis (m)
| label42  = Apoapsis
|  data42  = 70000
|  data42  = {{#expr: {{#invoke:Data|getData|Example/body|sma}} * (1 + {{#invoke:Data|getData|Example/body|eccentricity}}) round 0}} <small>m</small>
| label43  = Periapsis (m)
| label43  = Periapsis
|  data43  = 30000
|  data43  = {{#expr: {{#invoke:Data|getData|Example/body|sma}} * (1 - {{#invoke:Data|getData|Example/body|eccentricity}}) round 0}} <small>m</small>
| label44  = Eccentricity
| label44  = Eccentricity
|  data44  = 0.4
|  data44  = {{#invoke:Data|getData|Example/body|eccentricity}}
| label45  = Inclination (°)
| label45  = Inclination
|  data45  = 3.1
|  data45  = {{#invoke:Data|getData|Example/body|inclination}} <small>°</small>





Revision as of 15:52, 28 December 2024

Planet Bongo
Test caption
General Info
TypePlanet
Sub-typeTerrestrial
Parent bodyCongo
Star systemGroovy
Satellites2
Physical Characteristics
Radius6371 m
Equatorial circumference40030 m
Surface area510064472 m2
Mass5.9674192012586E+24 kg
Axial tilt23.4392811 °
Orbital Characteristics
Semi major axis149598023 m
Apoapsis152097597 m
Periapsis147098449 m
Eccentricity0.0167086
Inclination7.155 °
Atmospheric Characteristics
Atmosphere present
Pressure (atm)1
Height (m)400
Oxygen-rich
MediaWiki Appliance - Powered by TurnKey Linux