Changes

Template:Planet

6,538 bytes added, 20:45, February 9, 2008
New template with more parameters
}}
{{!-}}
<!----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--------------->
{{#if:{{{order|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Order from sunprimary'''
{{!}} {{{order|}}} | <!--else-->
}}
{{!-}}
<!----DiameterPeriapsis ------------>{{#if:{{{diameterperiapsis|}}} | <!--then:-->{{!}}width=50% {{!}} '''Diameter[[Apsis{{!}}Peri{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''{{!}} {{{diameter|periapsis}}} | <!--else-->
}}
{{!-}}
<!----RadiusApoapsis ------------>{{#if:{{{radiusapoapsis|}}} | <!--then:-->{{!}}width=50% {{!}} {{#switch: {{{apsis|{{apsides|{{{primary|generic}}}}}}}}|helion|astron = '''Radius[[Apsis{{!}}Ap{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''|[[Apsis{{!}} Apo{{{radiusapsis|{{apsides|{{{primary|generic}}} }}}}}]]}}{{!}}'''{{{apoapsis}}}'''| <!--else-->
}}
{{!-}}
<!----Mass---Semi-major axis ------------>{{#if:{{{masssemimajor|}}} | <!--then:-->{{!}}width=50% {{!}} '''Mass[[Semi-major axis]]'''{{!}} {{{mass|semimajor}}} | <!--else-->
}}
{{!-}}
<!----DistanceMean 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% {{!}} '''Distance from sunTitius-Bode prediction'''{{!}}{{{bode}}}| <br!--else-->(}}{{!-}}<!----Orbital semicircumference -major axis)----------->{{#if:{{{circumference|}}}| <!--then:-->{{!}}width=50% {{!}} '''[[Circumference]]'''{{!}} {{{distancecircumference}}}| <!--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------->
}}
{{!-}}
<!----Length of yearPhysical characteristics --->{{!}}width=50% {{!}} '''Physical characteristics'''{{!-}}<!----Mass---------------->{{#if:{{{yearmass|}}} | <!--then:-->{{!}} '''Length of year (Revolution)Mass'''{{!}} {{{mass|}}} | <!--else-->}}{{!-}}<!----Density---------------->{{#if:{{{density|}}} | <!--then:-->{{!}} '''Density'''{{!}} {{{density|}}} | <!--else-->}}{{!-}}<!----Diameter------------>{{#if:{{{diameter|}}} | <!--then:-->{{!}}width=50% {{!}} '''Diameter'''{{!}} {{{diameter|}}} | <!--else-->}}{{!-}}<!----Mean Radius------------>{{#if:{{{meanradius|}}} | <!--then:-->{{!}}width=50% {{!}} '''Mean radius'''{{!}} {{{meanradius|}}} | <!--else-->}}{{!-}}<!----Equatorial Radius------------>{{#if:{{{equatorradius|}}} | <!--then:-->{{!}}width=50% {{!}} '''Equatorial radius'''{{!}} {{{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-->}}{{!-}}<!----Temperature:------------><!----Min:------------>{{#if:{{{mintemp|}}} | <!--then:-->{{!}}width=50% {{!}} '''Minimum temperature'''{{!}} {{{mintemp|}}} | <!--else-->}}{{!-}}<!----Mean:------------>{{#if:{{{meantemp|}}} | <!--then:-->{{!}}width=50% {{!}} '''Mean temperature'''{{!}} {{{meantemp|}}} | <!--else-->}}{{!-}}<!----Max:------------>{{#if:{{{maxtemp|}}} | <!--then:-->{{!}}width=50% {{!}} '''Maximum temperature'''{{!}} {{{yearmaxtemp|}}} | <!--else-->
}}
{{!-}}
{{!}} '''Albedo'''
{{!}} {{{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:{{#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]]
{{TemplateDoc|pages=Astronomy articles|purpose=Infobox|cat=Planets}}
{{Parms|
{{Parm|name |Name |no | Defaults to page name}} {{Parm|image |Picture of planet body |no | just image name}} {{Parm|caption |Caption |no | optional image data}} {{Parm|symbol |Symbol |no | }} {{Parm|date |Date of discovery |no | }} {{Parm|discname |Name of discoverer |no | }} {{Parm|origname |Name origin |no | }} {{Parm|primary |Name of primary |no | }} {{Parm|order |Order from sun primary |no | }} {{Parm|periapsis |Periapsis |no | Closest approach}} {{Parm|diameter apoapsis |Diameter Apoapsis |no | Farthest flight}} {{Parm|mass semimajor |Mass Semi-major axis |no | Average of the two above}} {{Parm|orbitradius |Mean distance from primary |Distance no | If not specified or different from sun above}} {{Parm|bode |Bode's Law prediction |no | Distance predicted by Bode's Law}} {{Parm|day circumference|Length of day Orbital circumference |no | }} {{Parm|eccentricity |Orbital eccentricity |no | }} {{Parm|sidereal |Sidereal year/month/period |no | Time for one rotationrevolution}} {{Parm|synodic |Synodic year /month/period |Length no | Time for one Earthly zodiacal cycle}} {{Parm|orbitspeed |Orbital speed |no | Speed of year 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 revolutionrotation}} {{Parm|moons solar day |Number Solar day |no | Time to display same face to sun}} {{Parm|rotatespeed |Rotational speed |no | Speed of moons 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|composition equatorradius|Equatorial radius |no | }} {{Parm|Composition polarradius |Polar radius |no | }} {{Parm|color surfacegrav |Color Surface gravity |no | }} {{Parm|albedo escapespeed |Albedo Escape speed |no | }} {{Parm|date surfacearea |Date of discovery Surface area |no | }} {{Parm|discname landarea |Name of discovererLand area |no | }} {{Parm|origname waterarea |Water area |no | }} {{Parm|mintemp |Minimum temperature |no | }} {{Parm|meantemp |Name origin 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 | }}
}}
| caption=
| symbol=
| date=
| discname=
| origname=
| primary=
| order=
| diameterperiapsis=| apoapsis=| semimajor=| meanradius=| circumference=| eccentricity=| sidereal=| synodic=| orbitspeed=| inclination=| reference=| siderealday=| solarday=| rotatespeed=| axialtilt=
| mass=
| distancedensity=| daydiameter=| yearmeanradius=| equatorradius=| polarradius=| surfacegrav=| escapespeed=| surfacearea=| meantemp=
| moons=
| composition=
| color=
| albedo=
| date=
| discname=
| origname=
|}
<nowiki>}}</nowiki></pre>
</noinclude>
12,071
edits