Difference between revisions of "Template:Planet"
Jump to navigation
Jump to search
m (Protected "Template:Planet" [edit=sysop:move=sysop]) |
(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 | + | {{!}}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:{{{ | + | {{#if:{{{meanradius|}}} | <!--then:--> |
| − | {{!}}width=50% {{!}} ''' | + | {{!}}width=50% {{!}} '''Mean radius''' |
| − | {{!}} {{{ | + | {{!}} {{{meanradius|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| − | <!---- | + | <!----Equatorial Radius------------> |
| − | {{#if:{{{ | + | {{#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:------------> |
| − | {{#if:{{{ | + | <!----Min:------------> |
| − | {{!}} ''' | + | {{#if:{{{mintemp|}}} | <!--then:--> |
| − | {{!}} {{{ | + | {{!}}width=50% {{!}} '''Minimum temperature''' |
| + | {{!}} {{{mintemp|}}} | <!--else--> | ||
}} | }} | ||
{{!-}} | {{!-}} | ||
| − | <!---- | + | <!----Mean:------------> |
| − | {{#if:{{{ | + | {{#if:{{{meantemp|}}} | <!--then:--> |
| − | {{!}} ''' | + | {{!}}width=50% {{!}} '''Mean temperature''' |
| − | {{!}} {{{ | + | {{!}} {{{meantemp|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| − | <!---- | + | <!----Max:------------> |
| − | {{#if:{{{ | + | {{#if:{{{maxtemp|}}} | <!--then:--> |
| − | {{!}} ''' | + | {{!}}width=50% {{!}} '''Maximum temperature''' |
| − | {{!}} {{{ | + | {{!}} {{{maxtemp|}}} | <!--else--> |
}} | }} | ||
{{!-}} | {{!-}} | ||
| Line 75: | Line 228: | ||
{{!}} '''Albedo''' | {{!}} '''Albedo''' | ||
{{!}} {{{albedo|}}} | <!--else--> | {{!}} {{{albedo|}}} | <!--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 | + | {{Parm|name |Name |no | Defaults to page name}} |
| − | {{Parm|image |Picture of | + | {{Parm|image |Picture of body |no | just image name}} |
| − | {{Parm|caption |Caption | + | {{Parm|caption |Caption |no | optional image data}} |
| − | {{Parm|symbol |Symbol | + | {{Parm|symbol |Symbol |no | }} |
| − | {{Parm|order |Order from | + | {{Parm|date |Date of discovery |no | }} |
| − | {{Parm| | + | {{Parm|discname |Name of discoverer |no | }} |
| − | {{Parm| | + | {{Parm|origname |Name origin |no | }} |
| − | {{Parm|distance | + | {{Parm|primary |Name of primary |no | }} |
| − | {{Parm| | + | {{Parm|order |Order from primary |no | }} |
| − | {{Parm|year | + | {{Parm|periapsis |Periapsis |no | Closest approach}} |
| − | {{Parm| | + | {{Parm|apoapsis |Apoapsis |no | Farthest flight}} |
| − | {{Parm| | + | {{Parm|semimajor |Semi-major axis |no | Average of the two above}} |
| − | {{Parm| | + | {{Parm|orbitradius |Mean distance from primary |no | If not specified or different from above}} |
| − | {{Parm| | + | {{Parm|bode |Bode's Law prediction |no | Distance predicted by Bode's Law}} |
| − | {{Parm| | + | {{Parm|circumference|Orbital circumference |no | }} |
| − | {{Parm| | + | {{Parm|eccentricity |Orbital eccentricity |no | }} |
| − | {{Parm| | + | {{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= | ||
| − | | | + | | meanradius= |
| − | | | + | | equatorradius= |
| − | | | + | | polarradius= |
| − | | | + | | surfacegrav= |
| + | | escapespeed= | ||
| + | | surfacearea= | ||
| + | | meantemp= | ||
| moons= | | moons= | ||
| composition= | | composition= | ||
| color= | | color= | ||
| albedo= | | albedo= | ||
| − | |||
| − | |||
| − | |||
|} | |} | ||
<nowiki>}}</nowiki></pre> | <nowiki>}}</nowiki></pre> | ||
</noinclude> | </noinclude> | ||
Revision as of 20:45, February 9, 2008
| Planet | |
|---|---|
| Orbital characteristics | |
| Rotational characteristics | |
| Physical characteristics | |
| Template: Planet | |
|---|---|
| Use on | Astronomy articles |
| Use for | Infobox |
| Category template applies to page | Planets |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name | no | Defaults to page name |
| image | Picture of body | no | just image name |
| caption | Caption | no | optional image data |
| symbol | Symbol | no | |
| date | Date of discovery | no | |
| discname | Name of discoverer | no | |
| origname | Name origin | no | |
| primary | Name of primary | no | |
| order | Order from primary | no | |
| periapsis | Periapsis | no | Closest approach |
| apoapsis | Apoapsis | no | Farthest flight |
| semimajor | Semi-major axis | no | Average of the two above |
| orbitradius | Mean distance from primary | no | If not specified or different from above |
| bode | Bode's Law prediction | no | Distance predicted by Bode's Law |
| circumference | Orbital circumference | no | |
| eccentricity | Orbital eccentricity | no | |
| sidereal | Sidereal year/month/period | no | Time for one revolution |
| synodic | Synodic year/month/period | no | Time for one Earthly zodiacal cycle |
| orbitspeed | Orbital speed | no | Speed of body in its orbit |
| inclination | Inclination | no | Inclination |
| reference | Reference plane | no | Inclined to what plane? |
| siderealday | Sidereal day | no | Time for one rotation |
| solar day | Solar day | no | Time to display same face to sun |
| rotatespeed | Rotational speed | no | Speed of rotation |
| axialtilt | Axial tilt | no | Inclination of axis to orbit |
| mass | Mass | no | |
| diameter | Diameter | no | |
| meanradius | Mean body radius | no | |
| equatorradius | Equatorial radius | no | |
| polarradius | Polar radius | no | |
| surfacegrav | Surface gravity | no | |
| escapespeed | Escape speed | no | |
| surfacearea | Surface area | no | |
| landarea | Land area | no | |
| waterarea | Water area | no | |
| mintemp | Minimum temperature | no | |
| meantemp | Mean temperature | no | |
| maxtemp | Maximum temperature | no | |
| moons | Number of moons | no | |
| composition | Composition | no | |
| color | Color | no | |
| albedo | Albedo | no | |
Sample Data Block
The following may be copied and pasted at the top of the page being edited
{{Planet
| name=
| image=
| caption=
| symbol=
| date=
| discname=
| origname=
| primary=
| order=
| periapsis=
| apoapsis=
| semimajor=
| meanradius=
| circumference=
| eccentricity=
| sidereal=
| synodic=
| orbitspeed=
| inclination=
| reference=
| siderealday=
| solarday=
| rotatespeed=
| axialtilt=
| mass=
| density=
| diameter=
| meanradius=
| equatorradius=
| polarradius=
| surfacegrav=
| escapespeed=
| surfacearea=
| meantemp=
| moons=
| composition=
| color=
| albedo=
|}
}}