Template:Infobox celestial body/doc: Difference between revisions
Jump to navigation
Jump to search
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: | | 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: | | 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 = | | label21 = Equatorial radius | ||
| data21 = {{#invoke:Data|getData|Example/body|radius}} <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) / . | |{{#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> | |||