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
(implemented sigfigs)
Tag: 2017 source edit
(added more parameters)
Tag: 2017 source edit
Line 5: Line 5:
| caption = Test caption
| caption = Test caption


| labelstyle  = width: 60%; text-align: left; vertical-align: text-top;
| labelstyle  = width: 50%; text-align: left; vertical-align: text-top;
| titlestyle = background-color: #f7aa33;
| titlestyle = background-color: #f7aa33;
padding: 0.2em 0em 0.2em;
padding: 0.2em 0em 0.2em;
Line 11: Line 11:
font-size: 22px;
font-size: 22px;
font-weight: bold;
font-weight: bold;
| bodystyle  = width: 20em; border: 1px solid #a2a9b1; border-spacing: 3px; margin: 0.5em 0 0.5em 1em;
| bodystyle  = width: 24em; border: 1px solid #a2a9b1; border-spacing: 3px; margin: 0.5em 0 0.5em 1em;
     padding: 0.2em;
     padding: 0.2em;
     float: right;
     float: right;
Line 39: Line 39:
| header20 = Physical Characteristics
| header20 = Physical Characteristics


| label21  = Radius
| label21  = Equatorial radius
|  data21  = {{#invoke:Data|getData|Example/body|radius}} <small>m</small>
|  data21  = {{#invoke:Data|getData|Example/body|radius}} <small>km</small>
| label22  = Equatorial circumference
| label22  = Equatorial circumference
|  data22  = {{#expr: 2* pi * {{#invoke:Data|getData|Example/body|radius}} round 0}} <small>m</small>
|  data22  = {{#expr: 2* pi * {{#invoke:Data|getData|Example/body|radius}} round 0}} <small>m</small>
Line 49: Line 49:
| label24  = Mass
| label24  = Mass
|  data24  = {{Sigfigs
|  data24  = {{Sigfigs
|{{#expr: ((9.812 * (1000 * {{#invoke:Data|getData|Example/body|radius}})^2) / .00000000006674)}}
|{{#expr: ((9.812 * (1000 * {{#invoke:Data|getData|Example/body|radius}})^2) / .000000000066743)}}
|4}} <small>kg</small>
|4}} <small>kg</small>
| label25  = Axial tilt
| label25  = Axial tilt
Line 55: Line 55:
|{{#invoke:Data|getData|Example/body|axial_tilt}}
|{{#invoke:Data|getData|Example/body|axial_tilt}}
|4}}°
|4}}°
| label26  = Standard gravitational parameter
|  data26  = {{Sigfigs
|{{#expr: .000000000066743 * {{#invoke:Data|getData|Example/body|mass}}}}
|4}} <small>m<sup>3</sup>/s<sup>2</sup></small>
| label27  = Density
|  data27  = {{Sigfigs
|{{#expr: {{#invoke:Data|getData|Example/body|mass}} / (4/3 * pi * ({{#invoke:Data|getData|Example/body|radius}} * 1000)^3) }}
|4}} <small>kg/m<sup>3</sup></small>
| label28  = Volume
|  data28  = {{Sigfigs
|{{#expr: (4/3) * pi * {{#invoke:Data|getData|Example/body|radius}}^3 }}
|4}} <small>km<sup>3</sup></small>
| label29  = Surface gravity
|  data29  = {{Sigfigs
|{{#expr: {{#invoke:Data|getData|Example/body|surface_gravity}}*9.812 }}
|4}} <small>m/s<sup>2</sup> ({{#invoke:Data|getData|Example/body|surface_gravity}} ''g'') </small>





Revision as of 22:43, 1 January 2025

Planet Bongo
Test caption
General Info
TypePlanet
Sub-typeTerrestrial
Parent bodyCongo
Star systemGroovy
Satellites2
Physical Characteristics
Equatorial radius6371 km
Equatorial circumference40030 m
Surface area5.101×108 m2
Mass5.967×1024 kg
Axial tilt23.44°
Standard gravitational parameter3.986×1014 m3/s2
Density5,513 kg/m3
Volume1.083×1012 km3
Surface gravity9.812 m/s2 (1 g)
Orbital Characteristics
Semi major axis1.496×108 m
Apoapsis1.521×108 m
Periapsis1.471×108 m
Eccentricity0.0167086
Inclination7.155°
Atmospheric Characteristics
Atmosphere present
Pressure1 atm
Height400 m
Oxygen-rich
MediaWiki Appliance - Powered by TurnKey Linux