Difference between revisions of "Template:Infobox/Body"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (Removed degrees from eccentricity -- it's a dimensionless quantity.)
(copying planetbox 2 here)
Line 1: Line 1:
<div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: 275px; margin-left: 1em">
+
<div style="background: #f6f6f6; border: 1px solid #ccc; float: right; width: 280px; margin-left: 1em">
 
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{{Name|{{PAGENAME}}}}}</div>
 
<div style="background: #ccc; font-size: large; padding: .5em; text-align: center">{{{Name|{{PAGENAME}}}}}</div>
 
<div style="background: #000">[[File:{{{File|Image-needed.png}}}|275px|Planet image]]</div>
 
<div style="background: #000">[[File:{{{File|Image-needed.png}}}|275px|Planet image]]</div>
{| style="padding: 0.5em; font-size: 94%"
+
{| style="padding: 0.5em; font-size: 90%"
 
| colspan="2" style="text-align: center;" | <small>{{{Name|{{PAGENAME}}}}} as seen from orbit.</small>
 
| colspan="2" style="text-align: center;" | <small>{{{Name|{{PAGENAME}}}}} as seen from orbit.</small>
 
|-
 
|-
 
| colspan="2" style="text-align: center;" | <small>''[[{{{Class|??}}}]]''</small>
 
| colspan="2" style="text-align: center;" | <small>''[[{{{Class|??}}}]]''</small>
 
|-
 
|-
| colspan="2" style="font-size: 106%" | '''{{#switch:{{{1}}}
+
| colspan="2" style="font-size: 90%"| '''{{#switch:{{{1}}}
                  |=Orbital characteristics
+
|=Orbital Characteristics
                  |ru=??????????? ??????????????
+
|ru=Орбитальные характеристики
                  |#default=Orbital characteristics
+
|nl=Baan Eigenschappen
                  }}'''
+
|fr=
{{PlanetBoxRow|{{#switch:{{{1}}}
+
|#default=Orbital Characteristics
  |=[[w:Focus (geometry)|Parent body]]
+
}}'''
  |ru=[[w:Focus (geometry)|???????????? ????]]
+
{{PlanetBoxRow|[[w:Semi-Major Axis|Semi-Major Axis]]         |{{{smaxis|??}}} |m}}
  |#default=[[w:Focus (geometry)|Parent body]]
+
{{PlanetBoxRow|[[w:Apoapsis|Apoapsis]]                       |{{{apoap|??}}} |m}}
}}|{{{Parent|??}}}}}
+
{{PlanetBoxRow|[[w:Periapsis|Periapsis]]                     |{{{periap|??}}} |m}}
{{PlanetBoxRow<!--
+
{{PlanetBoxRow|[[w:Orbital_Eccentricity|Orbital Eccentricity]]|{{{orbecc|??}}} |}}
-->|{{#switch:{{{1}}}
+
{{PlanetBoxRow|[[w:Orbital_Inclination|Orbital Inclination]] |{{{orbinc|??}}} |°}}
    |=[[w:Semi-major axis|Semi-major axis]]
+
{{PlanetBoxRow|[[w:Mean_Anomaly|Mean Anomaly]]               |{{{anomaly|??}}}|°}}
    |ru=[[w:?????????_????????_??????|??????? ???????]]
+
{{PlanetBoxRow|[[w:Orbital_Period|Orbital Period]]           |{{{orbps|??}}} |s}}
    |#default=[[w:Semi-major axis|Semi-major axis]]
+
{{PlanetBoxRow|                                               |{{{orbph|??}}} |hours}}
  }}<!--
+
{{PlanetBoxRow|[[w:Orbital_Velocity|Orbital Velocity]]       |{{{orbv|??}}}  |m/s}}
-->|{{{Axism|??}}}<!--
 
-->|{{#switch:{{{1}}}
 
    |=m <br />{{{Axisau|??}}} [[w:Astronomical_unit|AU]]
 
    |ru=? <br />{{{Axisau|??}}} [[w:???????????????_???????|au]]
 
    |#default=m <br />{{{Axisau|??}}} [[w:Astronomical_unit|AU]]
 
  }}
 
}}
 
{{PlanetBoxRow<!--
 
-->|{{#switch:{{{1}}}
 
    |=[[w:Orbital speed|Velocity]]
 
    |ru=[[w:???????????_????????|??????????? ????????]]
 
    |#default=[[w:Orbital speed|Velocity]]
 
  }}<!--
 
-->|{{{orbitv|??}}}<!--
 
-->|{{#switch:{{{1}}}
 
    |=m/s
 
    |ru=?/?
 
    |#default=m/s
 
  }}
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Orbital inclination|Orbital inclination]]
 
  |ru=[[w:??????_??????|?????????? ??????]]
 
  |#default=[[w:Orbital inclination|Orbital inclination]]
 
  }}|{{{inclination|??}}}|°
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:??????????????_??????|??????????????]]
 
  |ru=[[w:??????_??????|?????? ??????]]
 
  |#default=[[w:Orbital eccentricity|Orbital eccentricity]]
 
  }}|{{{eccentricity|??}}}|
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Longitude of the ascending node|Longitude of ascending node]]
 
  |ru=[[w:???????_???????????_????|??????? ??????????? ????]]
 
  |#default=[[w:Longitude of the ascending node|Longitude of ascending node]]
 
  }}|{{{longitude|??}}}|°
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Argument of periapsis|Argument of periapsis]]
 
  |ru=[[w:????????_??????????|???????? ??????????]]
 
  |#default=[[w:Argument of periapsis|Argument of periapsis]]
 
  }}|{{{argperi|??}}}|°
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Mean anomaly|Mean anomaly]] at <br />[[w:Epoch_(astronomy)|Epoch]] UT = 0.0
 
  |ru=[[w:???????_????????|??????? ????????]] ? <br />[[w:?????_(??????????)|?????]] UT = 0.0
 
  |#default=[[w:Mean anomaly|Mean anomaly]] at <br />[[w:Epoch_(astronomy)|Epoch]] UT = 0.0
 
  }}|{{{anomaly|??}}}|{{#switch:{{{1}}}
 
  |= radians
 
  |ru= ??????
 
  |#default= radians
 
  }}
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Orbital period|Orbital period]]
 
  |ru=[[w:???????????_??????|??????????? ??????]]
 
  |#default=[[w:Orbital period|Orbital period]]
 
  }}|{{{periodh|??}}}|{{#switch:{{{1}}}
 
  |= hours<br />{{{periodd|??}}} [[w:Earth|Earth]] days
 
  |ru= ?????<br />{{{periodd|??}}} [[w:?????|?????]]
 
  |#default= hours<br />{{{periodd|??}}} [[w:Earth|Earth]] days
 
  }}
 
}}
 
{{PlanetBoxRow|{{#switch:{{{1}}}
 
  |=[[w:Sphere_of_influence_(astrodynamics)|Sphere of influence]]
 
  |ru=[[w:Sphere_of_influence_(astrodynamics)|????? ???????]]
 
  |#default=[[w:Sphere_of_influence_(astrodynamics)|Sphere of influence]]
 
  }}|{{{soikm|??}}}|{{#switch:{{{1}}}
 
   |= km <br />{{{soirad|??}}} body radii
 
  |ru= ?? <br />{{{soirad|??}}} ???????? ????
 
  |#default= km <br />{{{soirad|??}}} body radii
 
  }}
 
}}
 
 
|-
 
|-
| colspan="2" style="font-size: 106%" | '''{{#switch:{{{1}}}
+
| colspan="2" style="font-size: 90%"| '''{{#switch:{{{1}}}
                |=Physical characteristics
+
|=Physical Characteristics
                |ru=?????????? ??????????????
+
|ru=
                |#default=Physical characteristics
+
|nl=Fysieke Eigenschappen
                }}'''
+
|fr=
{{PlanetBoxRow| [[w:Radius|Equatorial radius]]                       | {{{radius|??}}}     | km}}
+
|#default=Physical Characteristics
{{PlanetBoxRow| [[w:Mass|Mass]]                                       | {{{mass|??}}}       | kg}}
+
}}'''
{{PlanetBoxRow| [[w:Density|Density]]                                 | {{{density|??}}}   | g/cm<sup>3</sup>}}
+
|-
{{PlanetBoxRow| [[w:Surface gravity|Surface gravity]]                 | {{{gravityv|??}}}   | m/s<sup>2</sup><br />{{{gravityg|??}}} g}}
+
| [[w:Radius|Equatorial Radius]]
{{PlanetBoxRow| [[w:Gravitational parameter|Gravitational parameter]] | {{{gparam|??}}}     | m<sup>3</sup>/s<sup>2</sup>}}
+
|{{{radius|??}}} m
{{PlanetBoxRow| [[w:Escape velocity|Escape velocity]]                 | {{{esc|??}}}        | m/s}}
+
|-
{{PlanetBoxRow| [[w:Rotation period|Sidereal rotation period]]       | {{{rotation|??}}}  | hours}}
+
| [[w:Surface Area|Surface Area]]
{{PlanetBoxRow| [[w:Solar day|Solar day]]                             | {{{day|??}}}       | hours}}
+
|{{{surfarea|??}}} m<sup>2</sup>
{{PlanetBoxRow| [[w:Synchronous orbit|Synchronous orbit]]             | {{{geosync|??}}}   | km}}
+
|-
{{PlanetBoxRow| [[w:Stationary orbit|Stationary orbit]]               | {{{geostation|??}}} | m/s}}
+
| [[w:Mass|Mass]]
 +
|{{{mass|??}}} kg
 +
|-
 +
| [[w:Density|Density]]
 +
|{{{density|??}}} kg/m<sup>3</sup>
 +
|-
 +
| [[w:Surface_gravity|Surface Gravity]]
 +
|{{{gravityv|??}}} m/s<sup>2</sup>
 +
|-
 +
| [[w:Escape_velocity|Escape velocity]]
 +
|{{{escv|??}}} m/s
 +
|-
 +
| [[w:Rotation_period|Sidereal Rotation Period]]
 +
|{{{sidrot|??}}} s
 +
|-
 +
| [[w:Sidereal_time|Sidereal Rotational Velocity]]
 +
|{{{sidv|??}}} m/s
 +
|-
 +
|[[w:Synchronous_orbit|Synchronous Orbit]]
 +
|{{{geosync|??}}} m
 +
|-
 +
| [[w:Sphere_of_Influence_(astrodynamics)|Sphere of Influence]]
 +
|{{{SoI|??}}} m
 +
|-
 +
| colspan="2" style="font-size: 90%" | '''{{#switch:{{{1}}}
 +
|=Atmospheric Characteristics
 +
|ru=
 +
|nl=Atmosferische Eigenschappen
 +
|fr=
 +
|#default=Atmospheric Characteristics
 +
}}'''
 +
{{PlanetBoxRow|[[w:atmosphere|Atmosphere Present]]                   |{{{atmosyorn|??}}}|}}
 +
{{PlanetBoxRow|[[w:Atmospheric_pressure|Atmospheric Pressure]]       |{{{atmoskPa|??}}} |kPa}}
 +
{{PlanetBoxRow|[[w:Atmospheric_height|Atmospheric Height]]           |{{{atmosh|??}}}  |m}}
 +
{{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>min</sub>]]|{{{T-minC|??}}}   |°C}}
 +
{{PlanetBoxRow|[[w:Atmospheric_temperature|Temperature<sub>max</sub>]]|{{{T-maxC|??}}}   |°C}}
 +
{{PlanetBoxRow|[[w:Oxygen|Oxygen Present]]                           |{{{O2yorn|??}}}   |}}
 
|}
 
|}
 
</div><noinclude>
 
</div><noinclude>
 
<br clear="both" />
 
<br clear="both" />
 
== Template ==
 
== Template ==
<pre><nowiki>{{Planetbox
+
<pre><nowiki>{{Planetbox 2.0
|Class=
+
|Class=??
|File=
+
|File=??
|Parent=
+
|Parent=??
|Axism=
+
|smaxis=??
|Axisau=
+
|apoap=??
|orbitv=
+
|periap=??
|inclination=
+
|orbecc=??
|longitude=
+
|orbinc=??
|argperi=
+
|anomaly=??
|anomaly=
+
|orbps=??
|periodh=
+
|orbph=??
|periodd=
+
|orbv=??
|soikm=
+
|radius=??
|soirad=
+
|surfarea=??
|radius=
+
|mass=??
|mass=
+
|density=??
|density=
+
|gravityv=??
|gravityv=
+
|escv=??
|gravityg=
+
|sidrot=??
|gparam=
+
|sidv=??
|esc=
+
|geosync=??
|rotation=
+
|SoI=??
|day=
+
|atmosyorn=??
|geosync=
+
|atmoskPa=??
|geostation=
+
|atmosh=??
 +
|T-minC=??
 +
|T-maxC=??
 +
|O2yorn=??
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
[[Category:Templates|Planetbox]]
+
[[Category:Templates|Planetbox2]]
 
</noinclude>
 
</noinclude>

Revision as of 20:08, 17 October 2012

Infobox/Body
Planet image
Infobox/Body as seen from orbit.
??
Orbital Characteristics

Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow

Physical Characteristics
Equatorial Radius ?? m
Surface Area ?? m2
Mass ?? kg
Density ?? kg/m3
Surface Gravity ?? m/s2
Escape velocity ?? m/s
Sidereal Rotation Period ?? s
Sidereal Rotational Velocity ?? m/s
Synchronous Orbit ?? m
Sphere of Influence ?? m
Atmospheric Characteristics

Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow Template:PlanetBoxRow


Template

{{Planetbox 2.0
|Class=??
|File=??
|Parent=??
|smaxis=??
|apoap=??
|periap=??
|orbecc=??
|orbinc=??
|anomaly=??
|orbps=??
|orbph=??
|orbv=??
|radius=??
|surfarea=??
|mass=??
|density=??
|gravityv=??
|escv=??
|sidrot=??
|sidv=??
|geosync=??
|SoI=??
|atmosyorn=??
|atmoskPa=??
|atmosh=??
|T-minC=??
|T-maxC=??
|O2yorn=??
}}