Last modified on August 5, 2015, at 10:27

Difference between revisions of "Template:Planet"

(Sample Data Block)
 
(20 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
<!----------Image---------->
 
<!----------Image---------->
{{!}}align="center" colspan="2" style="color: white; background: Black "{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px250px]]<br>{{{caption|}}} | }}
+
{{!}}align="center" colspan="2" style="color: white; background: Black "{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|250px]]<br>{{{caption|}}} | }}
 
{{!-}}
 
{{!-}}
 
<!----Symbol-------------->
 
<!----Symbol-------------->
 
{{#if:{{{symbol|}}} | <!--then:-->
 
{{#if:{{{symbol|}}} | <!--then:-->
 
{{!}}width=50% {{!}} '''Symbol'''
 
{{!}}width=50% {{!}} '''Symbol'''
{{!}} [[image:{{{symbol|}}}|40px40px]] | <!--else-->
+
{{!}} [[image:{{{symbol|}}}|40px]] | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 30: Line 30:
 
{{!-}}
 
{{!-}}
 
<!----Orbital characteristics --->
 
<!----Orbital characteristics --->
{{!}}width=50% {{!}} '''[[Orbit]]al characteristics'''
+
! colspan="2" style="text-align:center" {{!}} [[Orbit]]al characteristics
 
{{!-}}
 
{{!-}}
 
<!----Primary ------------>
 
<!----Primary ------------>
Line 54: Line 54:
 
{{!}}width=50% {{!}} {{#switch: {{{apsis|{{apsides|{{{primary|generic}}}}}}}}
 
{{!}}width=50% {{!}} {{#switch: {{{apsis|{{apsides|{{{primary|generic}}}}}}}}
 
|helion
 
|helion
 +
|hermion
 +
|areion
 +
|uranion
 +
|hadion
 +
|eridion
 
|astron  = '''[[Apsis{{!}}Ap{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''
 
|astron  = '''[[Apsis{{!}}Ap{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''
 
|'''[[Apsis{{!}}Apo{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''}}
 
|'''[[Apsis{{!}}Apo{{{apsis|{{apsides|{{{primary|generic}}}}}}}}]]'''}}
Line 73: Line 78:
 
<!----Bode's Law distance ------------>
 
<!----Bode's Law distance ------------>
 
{{#if:{{{bode|}}}| <!--then:-->
 
{{#if:{{{bode|}}}| <!--then:-->
{{!}}width=50% {{!}} '''Titius-Bode prediction'''
+
{{!}}width=50% {{!}} '''[[Titius-Bode law|Titius-Bode prediction]]'''
 
{{!}}{{{bode}}}| <!--else-->
 
{{!}}{{{bode}}}| <!--else-->
 
}}
 
}}
Line 115: Line 120:
 
{{!-}}
 
{{!-}}
 
<!----Rotational characteristics --->
 
<!----Rotational characteristics --->
{{!}}width=50% {{!}} '''Rotational characteristics'''
+
{{#if:{{{siderealday|{{{solarday|{{{rotatespeed|{{{axialtilt|}}}}}}}}}}}} | <!--then:-->
 +
! colspan="2" style="text-align:center" {{!}} [[Rotation]]al characteristics| <!--else-->
 +
}}
 
{{!-}}
 
{{!-}}
 
<!----Sidereal day------->
 
<!----Sidereal day------->
 
{{#if:{{{siderealday|}}} | <!--then:-->
 
{{#if:{{{siderealday|}}} | <!--then:-->
{{!}} '''Sidereal day'''
+
{{!}} '''[[Sidereal day]]'''
 
{{!}} {{{siderealday|}}} | <!--else-->
 
{{!}} {{{siderealday|}}} | <!--else-->
 
}}
 
}}
Line 125: Line 132:
 
<!----Solar day------->
 
<!----Solar day------->
 
{{#if:{{{solarday|}}} | <!--then:-->
 
{{#if:{{{solarday|}}} | <!--then:-->
{{!}} '''Solar day'''
+
{{!}} '''[[Solar day]]'''
 
{{!}} {{{solarday|}}} | <!--else-->
 
{{!}} {{{solarday|}}} | <!--else-->
 
}}
 
}}
Line 131: Line 138:
 
<!----Rotational speed------->
 
<!----Rotational speed------->
 
{{#if:{{{rotatespeed|}}} | <!--then:-->
 
{{#if:{{{rotatespeed|}}} | <!--then:-->
{{!}} '''Rotational speed'''
+
{{!}} '''[[Rotation speed|Rotational speed]]'''
 
{{!}} {{{rotatespeed|}}} | <!--else-->
 
{{!}} {{{rotatespeed|}}} | <!--else-->
 
}}
 
}}
Line 137: Line 144:
 
<!----Axial tilt------->
 
<!----Axial tilt------->
 
{{#if:{{{axialtilt|}}} | <!--then:-->
 
{{#if:{{{axialtilt|}}} | <!--then:-->
{{!}} '''Axial tilt'''
+
{{!}} '''[[Axial tilt]]'''
 
{{!}} {{{axialtilt|}}} | <!--else-->
 
{{!}} {{{axialtilt|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
 
<!----Physical characteristics --->
 
<!----Physical characteristics --->
{{!}}width=50% {{!}} '''Physical characteristics'''
+
! colspan="2" style="text-align:center" {{!}} Physical characteristics
 
{{!-}}
 
{{!-}}
 
<!----Mass---------------->
 
<!----Mass---------------->
 
{{#if:{{{mass|}}} | <!--then:-->
 
{{#if:{{{mass|}}} | <!--then:-->
{{!}} '''Mass'''
+
{{!}} '''[[Mass]]'''
 
{{!}} {{{mass|}}} | <!--else-->
 
{{!}} {{{mass|}}} | <!--else-->
 
}}
 
}}
Line 152: Line 159:
 
<!----Density---------------->
 
<!----Density---------------->
 
{{#if:{{{density|}}} | <!--then:-->
 
{{#if:{{{density|}}} | <!--then:-->
{{!}} '''Density'''
+
{{!}} '''[[Density]]'''
 
{{!}} {{{density|}}} | <!--else-->
 
{{!}} {{{density|}}} | <!--else-->
 
}}
 
}}
Line 182: Line 189:
 
<!----Surface gravity------------>
 
<!----Surface gravity------------>
 
{{#if:{{{surfacegrav|}}} | <!--then:-->
 
{{#if:{{{surfacegrav|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Surface gravity'''
+
{{!}}width=50% {{!}} '''[[Surface gravity]]'''
 
{{!}} {{{surfacegrav|}}} | <!--else-->
 
{{!}} {{{surfacegrav|}}} | <!--else-->
 
}}
 
}}
Line 188: Line 195:
 
<!----Escape speed------------>
 
<!----Escape speed------------>
 
{{#if:{{{escapespeed|}}} | <!--then:-->
 
{{#if:{{{escapespeed|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Escape speed'''
+
{{!}}width=50% {{!}} '''[[Escape speed]]'''
 
{{!}} {{{escapespeed|}}} | <!--else-->
 
{{!}} {{{escapespeed|}}} | <!--else-->
 
}}
 
}}
Line 194: Line 201:
 
<!----Surface area------------>
 
<!----Surface area------------>
 
{{#if:{{{surfacearea|}}} | <!--then:-->
 
{{#if:{{{surfacearea|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Surface area'''
+
{{!}}width=50% {{!}} '''[[Surface area]]'''
 
{{!}} {{{surfacearea|}}} | <!--else-->
 
{{!}} {{{surfacearea|}}} | <!--else-->
 
}}
 
}}
Line 213: Line 220:
 
<!----Min:------------>
 
<!----Min:------------>
 
{{#if:{{{mintemp|}}} | <!--then:-->
 
{{#if:{{{mintemp|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Minimum temperature'''
+
{{!}}width=50% {{!}} '''Minimum [[temperature]]'''
 
{{!}} {{{mintemp|}}} | <!--else-->
 
{{!}} {{{mintemp|}}} | <!--else-->
 
}}
 
}}
Line 219: Line 226:
 
<!----Mean:------------>
 
<!----Mean:------------>
 
{{#if:{{{meantemp|}}} | <!--then:-->
 
{{#if:{{{meantemp|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Mean temperature'''
+
{{!}}width=50% {{!}} '''Mean [[temperature]]'''
 
{{!}} {{{meantemp|}}} | <!--else-->
 
{{!}} {{{meantemp|}}} | <!--else-->
 
}}
 
}}
Line 225: Line 232:
 
<!----Max:------------>
 
<!----Max:------------>
 
{{#if:{{{maxtemp|}}} | <!--then:-->
 
{{#if:{{{maxtemp|}}} | <!--then:-->
{{!}}width=50% {{!}} '''Maximum temperature'''
+
{{!}}width=50% {{!}} '''Maximum [[temperature]]'''
 
{{!}} {{{maxtemp|}}} | <!--else-->
 
{{!}} {{{maxtemp|}}} | <!--else-->
 
}}
 
}}
Line 249: Line 256:
 
<!----Albedo-------------->
 
<!----Albedo-------------->
 
{{#if:{{{albedo|}}} | <!--then:-->
 
{{#if:{{{albedo|}}} | <!--then:-->
{{!}} '''Albedo'''
+
{{!}} '''[[Albedo]]'''
 
{{!}} {{{albedo|}}} | <!--else-->
 
{{!}} {{{albedo|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Magnetosphere------->
 +
{{#if:{{{pmdm|{{{cmdm|{{{mfd|}}}}}}}}} | <!--then:-->
 +
! colspan="2" style="text-align:center" {{!}} Magnetosphere| <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Magnetic flux density-------------->
 +
{{#if:{{{mfd|}}} | <!--then:-->
 +
{{!}} '''Magnetic flux density'''
 +
{{!}} {{{mfd|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Present magnetic dipole moment---------------->
 +
{{#if:{{{pmdm|}}} | <!--then:-->
 +
{{!}} '''Magnetic dipole moment at present'''
 +
{{!}} {{{pmdm|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Creation magnetic dipole moment---------------->
 +
{{#if:{{{cmdm|}}} | <!--then:-->
 +
{{!}} '''Magnetic dipole moment at creation'''
 +
{{!}} {{{cmdm|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Decay time---------------->
 +
{{#if:{{{mdt|}}} | <!--then:-->
 +
{{!}} '''Decay time'''
 +
{{!}} {{{mdt|}}} |  | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Half life---------------->
 +
{{#if:{{{mhl|}}} | <!--then:-->
 +
{{!}} '''Half life'''
 +
{{!}} {{{mhl|}}} | <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 269: Line 311:
 
|Ceres
 
|Ceres
 
|Eros = Dwarf planets
 
|Eros = Dwarf planets
|Moons}}]]</includeonly>
+
|Moons}}]]</includeonly><noinclude>[[Category:Template|{{PAGENAME}}]]
<noinclude>[[Category:Template]]
+
 
{{TemplateDoc|pages=Astronomy articles|purpose=Infobox|cat=Planets}}
 
{{TemplateDoc|pages=Astronomy articles|purpose=Infobox|cat=Planets}}
 
{{Parms|
 
{{Parms|
Line 315: Line 356:
 
  {{Parm|color        |Color            |no | }}
 
  {{Parm|color        |Color            |no | }}
 
  {{Parm|albedo      |Albedo            |no | }}
 
  {{Parm|albedo      |Albedo            |no | }}
 +
{{Parm|mfd          |Magnetic flux density      |no | }}
 +
{{Parm|pmdm        |Magnetic moment, present  |no | }}
 +
{{Parm|cmdm        |Magnetic moment, creation  |no |Per Humphreys model (1984) }}
 +
{{Parm|mdt          |Magnetic decay time        |no | }}
 +
{{Parm|mhl          |Magnetic half-life        |no | }}
 
}}
 
}}
  
Line 333: Line 379:
 
| apoapsis=
 
| apoapsis=
 
| semimajor=
 
| semimajor=
| meanradius=
+
| orbitradius=
 
| circumference=
 
| circumference=
 
| eccentricity=
 
| eccentricity=
Line 359: Line 405:
 
| color=
 
| color=
 
| albedo=
 
| albedo=
 +
| mfd=
 +
| pmdm=
 +
| cmdm=
 +
| mdt=
 +
| mhl=
 
<nowiki>}}</nowiki></pre>
 
<nowiki>}}</nowiki></pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 10:27, August 5, 2015

Planet
Orbital 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
mfd Magnetic flux density no
pmdm Magnetic moment, present no
cmdm Magnetic moment, creation no Per Humphreys model (1984)
mdt Magnetic decay time no
mhl Magnetic half-life 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=
| orbitradius=
| 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=
| mfd=
| pmdm=
| cmdm=
| mdt=
| mhl=
}}