Difference between revisions of "Template:Planet"

From Conservapedia
Jump to navigation Jump to search
(New template with more parameters)
 
(25 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 37: Line 37:
 
{{!}}[[{{{primary|}}}]] | <!--else-->
 
{{!}}[[{{{primary|}}}]] | <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----Order--------------->
 
<!----Order--------------->
 
{{#if:{{{order|}}} | <!--then:-->
 
{{#if:{{{order|}}} | <!--then:-->
Line 53: 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}}}}}}}}]]'''}}
−
{{!}}'''{{{apoapsis}}}'''| <!--else-->
+
{{!}}{{{apoapsis}}}| <!--else-->
 
}}
 
}}
 
{{!-}}
 
{{!-}}
Line 72: 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 94: Line 100:
 
{{!}}{{{sidereal}}}| <!--else-->
 
{{!}}{{{sidereal}}}| <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----Synodic------>
 
<!----Synodic------>
 
{{#if:{{{synodic|}}}| <!--then:-->
 
{{#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}}]]'''
 
{{!}}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-->
+
{{!}}{{{synodic}}}| <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----Orbital speed------>
 
<!----Orbital speed------>
 
{{#if:{{{orbitspeed|}}}| <!--then:-->
 
{{#if:{{{orbitspeed|}}}| <!--then:-->
−
{{!}}width=50% {{!}} Avg. orbital speed:
+
{{!}}width=50% {{!}} '''Avg. orbital speed'''
−
{{!}}[[Orbital speed::{{{orbitspeed}}}]]| <!--else-->
+
{{!}}{{{orbitspeed}}}| <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----Inclination------>
 
<!----Inclination------>
 
{{#if:{{{inclination|}}}| <!--then:-->
 
{{#if:{{{inclination|}}}| <!--then:-->
−
{{!}}width=50% {{!}} [[Inclination]]:
+
{{!}}width=50% {{!}} '''[[Inclination]]'''
−
{{!}}[[Inclination::{{{inclination}}}]] to {{{reference|{{#if:{{{primary|}}}|{{{primary}}}'s|primary's}} equator|}}}| <!--else-->
+
{{!}}{{{inclination}}} to {{{reference|{{#if:{{{primary|}}}|{{{primary}}}'s|primary's}} equator|}}}| <!--else-->
 
}}
 
}}
 +
{{!-}}
 
<!----Rotational characteristics --->
 
<!----Rotational characteristics --->
−
{{!}}width=50% {{!}} '''Rotational characteristics'''
+
{{#if:{{{siderealday|{{{solarday|{{{rotatespeed|{{{axialtilt|}}}}}}}}}}}} | <!--then:-->
 +
! colspan="2" style="text-align:center" {{!}} [[Rotation]]al characteristics| <!--else-->
 +
}}
 
{{!-}}
 
{{!-}}
−
<!----Length of day------->
+
<!----Sidereal day------->
−
{{#if:{{{day|}}} | <!--then:-->
+
{{#if:{{{siderealday|}}} | <!--then:-->
−
{{!}} '''Length of day'''
+
{{!}} '''[[Sidereal day]]'''
−
{{!}} {{{day|}}} | <!--else-->
+
{{!}} {{{siderealday|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Solar day------->
 +
{{#if:{{{solarday|}}} | <!--then:-->
 +
{{!}} '''[[Solar day]]'''
 +
{{!}} {{{solarday|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Rotational speed------->
 +
{{#if:{{{rotatespeed|}}} | <!--then:-->
 +
{{!}} '''[[Rotation speed|Rotational speed]]'''
 +
{{!}} {{{rotatespeed|}}} | <!--else-->
 +
}}
 +
{{!-}}
 +
<!----Axial tilt------->
 +
{{#if:{{{axialtilt|}}} | <!--then:-->
 +
{{!}} '''[[Axial tilt]]'''
 +
{{!}} {{{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 129: Line 159:
 
<!----Density---------------->
 
<!----Density---------------->
 
{{#if:{{{density|}}} | <!--then:-->
 
{{#if:{{{density|}}} | <!--then:-->
−
{{!}} '''Density'''
+
{{!}} '''[[Density]]'''
 
{{!}} {{{density|}}} | <!--else-->
 
{{!}} {{{density|}}} | <!--else-->
 
}}
 
}}
Line 159: 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 165: 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 171: 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 190: Line 220:
 
<!----Min:------------>
 
<!----Min:------------>
 
{{#if:{{{mintemp|}}} | <!--then:-->
 
{{#if:{{{mintemp|}}} | <!--then:-->
−
{{!}}width=50% {{!}} '''Minimum temperature'''
+
{{!}}width=50% {{!}} '''Minimum [[temperature]]'''
 
{{!}} {{{mintemp|}}} | <!--else-->
 
{{!}} {{{mintemp|}}} | <!--else-->
 
}}
 
}}
Line 196: Line 226:
 
<!----Mean:------------>
 
<!----Mean:------------>
 
{{#if:{{{meantemp|}}} | <!--then:-->
 
{{#if:{{{meantemp|}}} | <!--then:-->
−
{{!}}width=50% {{!}} '''Mean temperature'''
+
{{!}}width=50% {{!}} '''Mean [[temperature]]'''
 
{{!}} {{{meantemp|}}} | <!--else-->
 
{{!}} {{{meantemp|}}} | <!--else-->
 
}}
 
}}
Line 202: Line 232:
 
<!----Max:------------>
 
<!----Max:------------>
 
{{#if:{{{maxtemp|}}} | <!--then:-->
 
{{#if:{{{maxtemp|}}} | <!--then:-->
−
{{!}}width=50% {{!}} '''Maximum temperature'''
+
{{!}}width=50% {{!}} '''Maximum [[temperature]]'''
 
{{!}} {{{maxtemp|}}} | <!--else-->
 
{{!}} {{{maxtemp|}}} | <!--else-->
 
}}
 
}}
Line 226: 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 246: 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 292: 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 310: Line 379:
 
| apoapsis=
 
| apoapsis=
 
| semimajor=
 
| semimajor=
−
| meanradius=
+
| orbitradius=
 
| circumference=
 
| circumference=
 
| eccentricity=
 
| eccentricity=
Line 336: 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=
}}