Changes

Jump to navigation Jump to search
6,538 bytes added ,  20:45, February 9, 2008
New template with more parameters
Line 11: Line 11:  
}}
 
}}
 
{{!-}}
 
{{!-}}
 +
<!----Date of discovery--->
 +
{{#if:{{{date|}}} | <!--then:-->
 +
{{!}} '''Date of discovery'''
 +
{{!}} {{{date|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Name of discoverer-->
 +
{{#if:{{{discname|}}} | <!--then:-->
 +
{{!}} '''Name of discoverer'''
 +
{{!}} {{{discname|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Name origin--------->
 +
{{#if:{{{origname|}}} | <!--then:-->
 +
{{!}} '''Name origin'''
 +
{{!}} {{{origname|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Orbital characteristics --->
 +
{{!}}width=50% {{!}} '''[[Orbit]]al characteristics'''
 +
{{!-}}
 +
<!----Primary ------------>
 +
{{#if:{{{primary|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''Primary'''
 +
{{!}}[[{{{primary|}}}]] | <!--else-->
 +
}}
 
<!----Order--------------->
 
<!----Order--------------->
 
{{#if:{{{order|}}} | <!--then:-->
 
{{#if:{{{order|}}} | <!--then:-->
−
{{!}}width=50% {{!}} '''Order from sun'''
+
{{!}}width=50% {{!}} '''Order from primary'''
 
{{!}} {{{order|}}} | <!--else-->
 
{{!}} {{{order|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Periapsis ------------>
 +
{{#if:{{{periapsis|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Apsis{{!}}Peri{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''
 +
{{!}}{{{periapsis}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Apoapsis ------------>
 +
{{#if:{{{apoapsis|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} {{#switch: {{{apsis|{{apsides|{{{primary|generic}}}}}}}}
 +
|helion
 +
|astron  = '''[[Apsis{{!}}Ap{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''
 +
|[[Apsis{{!}}Apo{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]}}
 +
{{!}}'''{{{apoapsis}}}'''| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Semi-major axis ------------>
 +
{{#if:{{{semimajor|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Semi-major axis]]'''
 +
{{!}}{{{semimajor}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Mean orbital radius, if not otherwise specified as above ------------>
 +
{{#if:{{{orbitradius|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''Mean orbital radius'''
 +
{{!}}{{{orbitradius}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Bode's Law distance ------------>
 +
{{#if:{{{bode|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''Titius-Bode prediction'''
 +
{{!}}{{{bode}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Orbital circumference ------------>
 +
{{#if:{{{circumference|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Circumference]]'''
 +
{{!}}{{{circumference}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Orbital eccentricity ------------>
 +
{{#if:{{{eccentricity|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Orbital eccentricity]]'''
 +
{{!}}{{{eccentricity}}}| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Lengths of year------>
 +
<!----Sidereal------>
 +
{{#if:{{{sidereal|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Orbital period|Sidereal {{#switch:{{{primary|{{PAGENAME}}}}}|Galaxy|Sun=year|Mercury|Venus|Earth|Mars|Jupiter|Saturn|Uranus|Neptune|Pluto|Eris=month|period}}]]'''
 +
{{!}}{{{sidereal}}}| <!--else-->
 +
}}
 +
<!----Synodic------>
 +
{{#if:{{{synodic|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} '''[[Orbital period|Synodic {{#switch:{{{primary|{{PAGENAME}}}}}|Galaxy|Sun=year|Mercury|Venus|Earth|Mars|Jupiter|Saturn|Uranus|Neptune|Pluto|Eris=month|period}}]]'''
 +
{{!}}[[Synodic period::{{{synodic}}}]]| <!--else-->
 +
}}
 +
<!----Orbital speed------>
 +
{{#if:{{{orbitspeed|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} Avg. orbital speed:
 +
{{!}}[[Orbital speed::{{{orbitspeed}}}]]| <!--else-->
 +
}}
 +
<!----Inclination------>
 +
{{#if:{{{inclination|}}}| <!--then:-->
 +
{{!}}width=50% {{!}} [[Inclination]]:
 +
{{!}}[[Inclination::{{{inclination}}}]] to {{{reference|{{#if:{{{primary|}}}|{{{primary}}}'s|primary's}} equator|}}}| <!--else-->
 +
}}
 +
<!----Rotational characteristics --->
 +
{{!}}width=50% {{!}} '''Rotational characteristics'''
 +
{{!-}}
 +
<!----Length of day------->
 +
{{#if:{{{day|}}} | <!--then:-->
 +
{{!}} '''Length of day'''
 +
{{!}} {{{day|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Physical characteristics --->
 +
{{!}}width=50% {{!}} '''Physical characteristics'''
 +
{{!-}}
 +
<!----Mass---------------->
 +
{{#if:{{{mass|}}} | <!--then:-->
 +
{{!}} '''Mass'''
 +
{{!}} {{{mass|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Density---------------->
 +
{{#if:{{{density|}}} | <!--then:-->
 +
{{!}} '''Density'''
 +
{{!}} {{{density|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 23: Line 139:  
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Radius------------>
+
<!----Mean Radius------------>
−
{{#if:{{{radius|}}} | <!--then:-->
+
{{#if:{{{meanradius|}}} | <!--then:-->
−
{{!}}width=50% {{!}} '''Radius'''
+
{{!}}width=50% {{!}} '''Mean radius'''
−
{{!}} {{{radius|}}} | <!--else-->
+
{{!}} {{{meanradius|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Mass---------------->
+
<!----Equatorial Radius------------>
−
{{#if:{{{mass|}}} | <!--then:-->
+
{{#if:{{{equatorradius|}}} | <!--then:-->
−
{{!}} '''Mass'''
+
{{!}}width=50% {{!}} '''Equatorial radius'''
−
{{!}} {{{mass|}}} | <!--else-->
+
{{!}} {{{equatorradius|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Polar Radius------------>
 +
{{#if:{{{polarradius|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Polar radius'''
 +
{{!}} {{{polarradius|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Surface gravity------------>
 +
{{#if:{{{surfacegrav|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Surface gravity'''
 +
{{!}} {{{surfacegrav|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Escape speed------------>
 +
{{#if:{{{escapespeed|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Escape speed'''
 +
{{!}} {{{escapespeed|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Surface area------------>
 +
{{#if:{{{surfacearea|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Surface area'''
 +
{{!}} {{{surfacearea|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Land area------------>
 +
{{#if:{{{landarea|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Land area'''
 +
{{!}} {{{landarea|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Water area------------>
 +
{{#if:{{{waterarea|}}} | <!--then:-->
 +
{{!}}width=50% {{!}} '''Water area'''
 +
{{!}} {{{waterarea|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Distance------------>
+
<!----Temperature:------------>
−
{{#if:{{{distance|}}} | <!--then:-->
+
<!----Min:------------>
−
{{!}} '''Distance from sun<br>(Orbital semi-major axis)'''
+
{{#if:{{{mintemp|}}} | <!--then:-->
−
{{!}} {{{distance|}}} | <!--else-->
+
{{!}}width=50% {{!}} '''Minimum temperature'''
 +
{{!}} {{{mintemp|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Length of day------->
+
<!----Mean:------------>
−
{{#if:{{{day|}}} | <!--then:-->
+
{{#if:{{{meantemp|}}} | <!--then:-->
−
{{!}} '''Length of day'''
+
{{!}}width=50% {{!}} '''Mean temperature'''
−
{{!}} {{{day|}}} | <!--else-->
+
{{!}} {{{meantemp|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
−
<!----Length of year------>
+
<!----Max:------------>
−
{{#if:{{{year|}}} | <!--then:-->
+
{{#if:{{{maxtemp|}}} | <!--then:-->
−
{{!}} '''Length of year (Revolution)'''
+
{{!}}width=50% {{!}} '''Maximum temperature'''
−
{{!}} {{{year|}}} | <!--else-->
+
{{!}} {{{maxtemp|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 75: Line 228:  
{{!}} '''Albedo'''
 
{{!}} '''Albedo'''
 
{{!}} {{{albedo|}}} | <!--else-->
 
{{!}} {{{albedo|}}} | <!--else-->
−
}}
  −
{{!-}}
  −
<!----Date of discovery--->
  −
{{#if:{{{date|}}} | <!--then:-->
  −
{{!}} '''Date of discovery'''
  −
{{!}} {{{date|}}} | <!--else-->
  −
}}
  −
{{!-}}
  −
<!----Name of discoverer-->
  −
{{#if:{{{discname|}}} | <!--then:-->
  −
{{!}} '''Name of discoverer'''
  −
{{!}} {{{discname|}}} | <!--else-->
  −
}}
  −
{{!-}}
  −
<!----Name origin--------->
  −
{{#if:{{{origname|}}} | <!--then:-->
  −
{{!}} '''Name origin'''
  −
{{!}} {{{origname|}}} | <!--else-->
   
}}
 
}}
 
{{!-}}
 
{{!-}}
 
|}
 
|}
   −
<includeonly>[[Category:Planets]]</includeonly>
+
<includeonly>[[Category:{{#switch: {{{name|{{PAGENAME}}}}}
 +
|Sun = Sun
 +
|Mercury
 +
|Venus
 +
|Earth
 +
|Mars
 +
|Jupiter
 +
|Saturn
 +
|Uranus
 +
|Neptune = Planets
 +
|Pluto
 +
|Eris
 +
|Ceres
 +
|Eros = Dwarf planets
 +
|Moons}}]]</includeonly>
 
<noinclude>[[Category:Template]]
 
<noinclude>[[Category:Template]]
 
{{TemplateDoc|pages=Astronomy articles|purpose=Infobox|cat=Planets}}
 
{{TemplateDoc|pages=Astronomy articles|purpose=Infobox|cat=Planets}}
 
{{Parms|
 
{{Parms|
−
  {{Parm|name        |Name             |no | Defaults to page name}}
+
  {{Parm|name        |Name             |no | Defaults to page name}}
−
  {{Parm|image        |Picture of planet |no | just image name}}
+
  {{Parm|image        |Picture of body |no | just image name}}
−
  {{Parm|caption      |Caption           |no | optional image data}}
+
  {{Parm|caption      |Caption           |no | optional image data}}
−
  {{Parm|symbol      |Symbol           |no | }}
+
  {{Parm|symbol      |Symbol           |no | }}
−
  {{Parm|order        |Order from sun   |no | }}
+
{{Parm|date        |Date of discovery |no | }}
−
  {{Parm|diameter     |Diameter          |no | }}
+
{{Parm|discname    |Name of discoverer |no | }}
−
  {{Parm|mass        |Mass              |no | }}
+
{{Parm|origname    |Name origin      |no | }}
−
  {{Parm|distance     |Distance from sun |no | }}
+
{{Parm|primary      |Name of primary  |no | }}
−
  {{Parm|day          |Length of day     |no | Time for one rotation}}
+
  {{Parm|order        |Order from primary |no | }}
−
  {{Parm|year         |Length of year   |no | Time for one revolution}}
+
{{Parm|periapsis   |Periapsis                  |no | Closest approach}}
−
  {{Parm|moons        |Number of moons   |no | }}
+
  {{Parm|apoapsis     |Apoapsis                  |no | Farthest flight}}
−
  {{Parm|composition |Composition      |no | }}
+
  {{Parm|semimajor    |Semi-major axis            |no | Average of the two above}}
−
  {{Parm|color        |Color            |no | }}
+
  {{Parm|orbitradius  |Mean distance from primary |no | If not specified or different from above}}
−
  {{Parm|albedo      |Albedo            |no | }}
+
{{Parm|bode        |Bode's Law prediction      |no | Distance predicted by Bode's Law}}
−
  {{Parm|date        |Date of discovery |no | }}
+
{{Parm|circumference|Orbital circumference    |no | }}
−
  {{Parm|discname     |Name of discoverer|no | }}
+
  {{Parm|eccentricity |Orbital eccentricity    |no | }}
−
  {{Parm|origname    |Name origin       |no | }}
+
{{Parm|sidereal     |Sidereal year/month/period |no | Time for one revolution}}
 +
  {{Parm|synodic      |Synodic year/month/period  |no | Time for one Earthly zodiacal cycle}}
 +
{{Parm|orbitspeed  |Orbital speed    |no | Speed of body in its orbit}}
 +
{{Parm|inclination  |Inclination      |no | Inclination}}
 +
{{Parm|reference   |Reference plane    |no | Inclined to what plane?}}
 +
{{Parm|siderealday  |Sidereal day      |no | Time for one rotation}}
 +
{{Parm|solar day    |Solar day        |no | Time to display same face to sun}}
 +
{{Parm|rotatespeed  |Rotational speed      |no | Speed of rotation}}
 +
  {{Parm|axialtilt    |Axial tilt        |no | Inclination of axis to orbit}}
 +
{{Parm|mass        |Mass              |no | }}
 +
{{Parm|diameter    |Diameter          |no | }}
 +
{{Parm|meanradius   |Mean body radius        |no | }}
 +
{{Parm|equatorradius|Equatorial radius        |no | }}
 +
{{Parm|polarradius  |Polar radius        |no | }}
 +
  {{Parm|surfacegrav  |Surface gravity        |no | }}
 +
{{Parm|escapespeed  |Escape speed        |no | }}
 +
{{Parm|surfacearea |Surface area        |no | }}
 +
  {{Parm|landarea    |Land area        |no | }}
 +
  {{Parm|waterarea    |Water area        |no | }}
 +
  {{Parm|mintemp      |Minimum temperature      |no | }}
 +
  {{Parm|meantemp     |Mean temperature        |no | }}
 +
{{Parm|maxtemp      |Maximum temperature      |no | }}
 +
{{Parm|moons        |Number of moons  |no | }}
 +
{{Parm|composition  |Composition      |no | }}
 +
  {{Parm|color        |Color            |no | }}
 +
{{Parm|albedo       |Albedo            |no | }}
 
}}
 
}}
   Line 128: Line 302:  
| caption=
 
| caption=
 
| symbol=
 
| symbol=
 +
| date=
 +
| discname=
 +
| origname=
 +
| primary=
 
| order=
 
| order=
 +
| periapsis=
 +
| apoapsis=
 +
| semimajor=
 +
| meanradius=
 +
| circumference=
 +
| eccentricity=
 +
| sidereal=
 +
| synodic=
 +
| orbitspeed=
 +
| inclination=
 +
| reference=
 +
| siderealday=
 +
| solarday=
 +
| rotatespeed=
 +
| axialtilt=
 +
| mass=
 +
| density=
 
| diameter=
 
| diameter=
−
| mass=
+
| meanradius=
−
| distance=
+
| equatorradius=
−
| day=
+
| polarradius=
−
| year=
+
| surfacegrav=
 +
| escapespeed=
 +
| surfacearea=
 +
| meantemp=
 
| moons=
 
| moons=
 
| composition=
 
| composition=
 
| color=
 
| color=
 
| albedo=
 
| albedo=
−
| date=
  −
| discname=
  −
| origname=
   
|}
 
|}
 
<nowiki>}}</nowiki></pre>
 
<nowiki>}}</nowiki></pre>
 
</noinclude>
 
</noinclude>
12,071

edits

Navigation menu