Difference between revisions of "User:XZise/test"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Replaced content with "<math>y = x^2</math>")
 
(73 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: 280px; margin-left: 1em">
+
<math>y = x^2</math>
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{PAGENAME}}</div>
 
<div style="background: #000">[[File:Kerbin18.png|280px|Planet image]]</div>
 
{| style="padding: 0.5em; font-size: 90%"
 
| colspan="2" style="text-align: center; width: 100%;" | <small>{{PAGENAME}} as seen from orbit.</small>
 
|-
 
| colspan="2" style="text-align: center;" | [[Planet]] {{#if: Kerbol|of [[Kerbol]]}}
 
|-
 
{{#ifeq: yes|no||
 
{{!}} colspan="2" {{!}} '''{{#switch:{{{1}}}
 
|=Orbital Characteristics
 
|ru=Орбитальные характеристики
 
|nl=Baan Eigenschappen
 
|fr=Caractéristiques Orbitales
 
|#default=Orbital Characteristics
 
}}'''
 
{{PlanetBoxRow|[[w:Semi-major axis|Semi-Major Axis]]          |{{#expr: (13599840256 + 13599840256)/2}} |m|f}}
 
{{PlanetBoxRow|[[w:Apoapsis|Apoapsis]]                        |13599840256  |m|f}}
 
{{PlanetBoxRow|[[w:Periapsis|Periapsis]]                      |13599840256 |m|f}}
 
{{PlanetBoxRow|[[w:Orbital_eccentricity|Orbital Eccentricity]]|{{#expr: 1-2/(13599840256/13599840256+1) round 2}} |}}
 
{{PlanetBoxRow|[[w:Orbital_Inclination|Orbital Inclination]]  |0 |°}}
 
{{PlanetBoxRow|[[w:Mean_Anomaly|Mean Anomaly]]                |3.14|°}}
 
{{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]]            |{{sigfigs| 9203544.61750141 |8}}|s|f}}
 
{{!}}-
 
{{!}}{{!}} {{!}}{{!}} <small>{{#ifexpr: 9203544.61750141 >= 86400|{{formatnum: {{#expr: trunc(9203544.61750141 / 86400)}}}} d|}} {{#ifexpr: 9203544.61750141 >= 3600|{{#expr: 9203544.61750141 / 3600 mod 24}} h|}} {{#ifexpr: 9203544.61750141 >= 60|{{#expr: 9203544.61750141 / 60 mod 60}} m|}} {{#expr: 9203544.61750141 mod 60 + 9203544.61750141 - trunc(9203544.61750141) round 1}} s
 
</small>
 
{{PlanetBoxRow|[[w:Orbital_speed|Orbital Velocity]]        |{{#ifeq: 13599840256|13599840256|{{#expr: 2*pi*13599840256/9203544.61750141 round 1}}|{{formatnum: {{#expr: pi*(13599840256+{{{periap}}})/9203544.61750141*({{{periap}}}/13599840256)^(0.5) round 1}}}} to {{formatnum: {{#expr: pi*(13599840256+{{{periap}}})/9203544.61750141*(13599840256/{{{periap}}})^(0.5) round 1}}}}}}  |m/s}}|
 
}}
 
|-
 
| colspan="2" | '''{{#switch:{{{1}}}
 
|=Physical Characteristics
 
|ru=
 
|nl=Fysieke Eigenschappen
 
|fr=Caractéristiques Physiques
 
|#default=Physical Characteristics
 
}}'''
 
|-
 
| [[w:Radius|Equatorial Radius]]
 
| {{formatnum: 600000}} m
 
|-
 
| [[w:Surface Area|Surface Area]]
 
| {{sigfigs|{{#expr: 4 * pi * 600000^2}}|8}} m<sup>2</sup>
 
|-
 
| [[w:Mass|Mass]]
 
| {{sigfigs|5.29157926281091e22|8}} kg
 
|-
 
| [[w:Standard gravitational parameter|Gravitational Parameter]]
 
| {{sigfigs|{{#expr: 5.29157926281091e22 * {{G}}}}|8}} m<sup>3</sup>/s<sup>2</sup>
 
|-
 
| [[w:Density|Density]]
 
| {{sigfigs|{{#expr: 5.29157926281091e22 / (4 * pi * 600000^3 / 3)}}|8}} kg/m<sup>3</sup>
 
|-
 
| [[w:Surface_gravity|Surface Gravity]]
 
| {{sigfigs|{{#expr: 5.29157926281091e22 * {{G}} / (600000^2)}}|3}} m/s<sup>2</sup>
 
{{PlanetBoxRow|[[w:Escape_velocity|Escape Velocity]]                  <!--
 
-->    |{{#expr: (2 * {{G}} * 5.29157926281091e22 / 600000)^0.5 round2 }}|m/s}}
 
{{PlanetBoxRow|[[w:Rotation_period|Sidereal Rotation Period]]        |{{sigfigs|21600|8}}|s}}
 
{{!}}-
 
{{!}}{{!}}
 
{{!}}{{!}} <small>{{ExpandTime|21600}}</small>
 
{{PlanetBoxRow|[[w:Sidereal_time|Sidereal Rotational Velocity]]      |{{sigfigs|{{#expr: 600000 * 2 * pi / 21600}}|5}}|m/s}}
 
{{PlanetBoxRow|[[w:Synchronous_orbit|Synchronous Orbit]]              |{{#if: {{#ifeq: 84159286.4796305|∞|1}}{{#ifexpr: {{OrbitAltitude | radius_m=600000 | mass_kg=5.29157926281091e22 | period_s=21600 | suffix= }} < 84159286.4796305|1}}|{{sigfigs|{{OrbitAltitude | radius_m=600000 | mass_kg=5.29157926281091e22 | period_s=21600 | suffix=  }}|8}} m|Outside sphere of influence}}}}
 
|-
 
| [[w:Sphere_of_influence_(astrodynamics)|Sphere of Influence]]
 
| {{#ifeq: 84159286.4796305|∞|∞|{{sigfigs|84159286.4796305|8}} m}}
 
|-
 
{{#if: |{{!}} Highest elevation {{!}}{{!}} {{{highest}}} m}}
 
|-
 
| colspan="2" | '''{{#switch:{{{1}}}
 
|=Atmospheric Characteristics
 
|ru=
 
|nl=Atmosferische Eigenschappen
 
|fr=Caractéristiques Atmosphériques
 
|#default=Atmospheric Characteristics
 
}}'''
 
{{PlanetBoxRow|[[w:atmosphere|Atmosphere Present]]                    |Yes|}}
 
{{#switch:Yes
 
|#default=
 
{{PlanetBoxRow|[[w:Atmospheric_pressure|Atmospheric Pressure]]        |{{sigfigs|{{#expr: 1 * 101.327}}|3}} |kPa}}
 
{{PlanetBoxRow|                                                      |1 |atm}}
 
{{PlanetBoxRow|[[w:Scale_height|Scale Height]]                        |5000  |m}}
 
{{PlanetBoxRow|[[w:Atmospheric_height|Atmospheric Height]]            |{{sigfigs|{{#expr: ln1e-6 * -5000}}|8}} |m}}
 
{{#if: T-minC|{{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|-40.19 °C <small>{{#expr: -40.19 + 273.15}}|??}} K</small>}}
 
{{#if: T-maxC|{{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>max</sub>]]|20 °C <small>{{#expr: 20 + 273.15}}|??}} K</small>}}
 
{{PlanetBoxRow|[[w:Oxygen|Oxygen Present]]                            |Yes  |}}
 
|No=
 
}}
 
|}
 
</div>
 
 
 
Little test with [[Template:Planetbox]]
 

Latest revision as of 10:14, 1 May 2015