Difference between revisions of "Template:Infobox comet"

From blackwiki
Jump to navigation Jump to search
imported>Fjörgynn
imported>Kheider
(Absolute magnitude#Cometary magnitudes| as comets are not asteroids so "H != M1")
 
(50 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 20em; text-align: left; font-size: 90%" cellspacing="2"
+
{{Infobox
|+ '''{{{name|For instructions on use, see [[Template:Infobox comet]]}}}'''
+
|title = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
{{#if: {{{image|}}} | <tr> <td align="center" colspan="2">{{{image}}} {{#if: {{{caption|}}} | <br /><small>{{{caption}}}}}</small></td> </tr>}}<!--
+
|headerstyle = background-color:#FFE0C2
 +
|labelstyle = white-space:nowrap;line-height:1.2em;
  
--><tr><th style="background-color: #FFFFC0" colspan="2" align="center">Discovery</td></tr><!--
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
-->{{#if: {{{discoverer|}}} | <tr> <th>Discovered by:</th> <td>{{{discoverer}}}</td> </tr>}}<!--
+
|captionstyle = line-height:1.2em;
-->{{#if: {{{discovery_date|}}} | <tr> <th>Discovery date:</th> <td>{{{discovery_date}}}</td> </tr>}}<!--
+
|caption = {{{caption|}}}
-->{{#if: {{{designations|}}} | <tr> <th>[[Provisional designation in astronomy|Alternate designations]]:</th> <td>{{{designations}}}</td> </tr>}}<!--
 
  
--><tr><th style="background-color: #FFFFC0" colspan="2" align="center">Orbital characteristics <sup>[http://www.minorplanetcenter.net/iau/Ephemerides/Comets/ A]</sup></td></tr><!--
+
|header1  = {{#if:{{{discoverer|}}}{{{discovery_date|}}}{{{designations|}}}|Discovery}}
-->{{#if: {{{epoch|}}} | <tr> <th>[[Epoch (astronomy)|Epoch]]:</th> <td>{{{epoch}}}</td> </tr>}}<!--
+
|label2  = Discovered by
-->{{#if: {{{aphelion|}}} | <tr> <th>[[Aphelion|Aphelion distance]]:</th> <td>{{{aphelion}}}</td> </tr>}}<!--
+
|data2    = {{{discoverer|}}}
-->{{#if: {{{perihelion|}}} | <tr> <th>[[Perihelion|Perihelion distance]]:</th> <td>{{{perihelion}}}</td> </tr>}}<!--
+
|label3  = Discovery date
-->{{#if: {{{semimajor|}}} | <tr> <th>[[Semi-major axis]]:</th> <td>{{{semimajor}}}</td> </tr>}}<!--
+
|data3    = {{{discovery_date|}}}
-->{{#if: {{{semiminor|}}} | <tr> <th>[[Semi-minor axis]]:</th> <td>{{{semiminor}}}</td> </tr>}}<!--
+
|label4  = [[Provisional designation in astronomy|Alternative<br />designations]]
-->{{#if: {{{orbital_circ|}}} | <tr> <th>Orbital [[circumference]]:</th> <td>{{{orbital_circ}}}</td> </tr>}}<!--
+
|data4   = {{{designations|}}}
-->{{#if: {{{eccentricity|}}} | <tr> <th>[[Eccentricity (orbit)|Eccentricity]]:</th> <td>{{{eccentricity}}}</td> </tr>}}<!--
 
-->{{#if: {{{period|}}} | <tr> <th>[[Orbital period]]:</th> <td>{{{period}}}</td> </tr>}}<!--
 
-->{{#if: {{{avg_speed|}}} | <tr> <th>Avg. [[orbital speed]]:</th> <td>{{{avg_speed}}}</td> </tr>}}<!--
 
-->{{#if: {{{max_speed|}}} | <tr> <th>Max. [[orbital speed]]:</th> <td>{{{max_speed}}}</td> </tr>}}<!--
 
-->{{#if: {{{min_speed|}}} | <tr> <th>Min. [[orbital speed]]:</th> <td>{{{min_speed}}}</td> </tr>}}<!--
 
-->{{#if: {{{inclination|}}} | <tr> <th>[[Inclination]]:</th> <td>{{{inclination}}}</td> </tr>}}<!--
 
-->{{#if: {{{last_p|}}} | <tr> <th>Last perihelion:</th> <td>{{{last_p}}}</td> </tr>}}<!--
 
-->{{#if: {{{next_p|}}} | <tr> <th>Next perihelion:</th> <td>{{{next_p}}}</td> </tr>}}
 
|}<noinclude>
 
<br clear="all" />
 
== Usage ==
 
{{Infobox comet
 
| name          = 1P/Halley
 
| image=[[File:Lspn comet halley.jpg|250px]]
 
| caption        = A color image of Comet Halley, shown flying to the left aligned flat against the sky
 
| discoverer    = Prehistoric;<br />Named after [[Edmond Halley]]
 
| discovery_date = 1758 (first '''predicted''' perihelion)
 
| designations  = <!-- please use for old-style designations only -->
 
| epoch          = 2449400.5<br />(February 17, 1994)
 
| apherion      = 35.1 AU
 
| perihelion    = 0.586 AU
 
| semimajor      = 17.8 [[Astronomical unit|AU]]
 
| semiminor      =
 
| orbital_circ  =
 
| eccentricity  = 0.967
 
| period        = 75.3 [[Julian year (astronomy)|Julian Years]]
 
| avg_speed      =
 
| max_speed      =
 
| min_speed      =
 
| inclination   = 162.3°
 
| last_p        = February 9, 1986
 
| next_p        = July 28, 2061
 
}}
 
  
{| style="background: transparent;"
+
|header5  = {{#if:{{{epoch|}}}{{{aphelion|}}}{{{perihelion|}}}{{{semimajor|}}}{{{semiminor|}}}{{{orbital_circ|}}}{{{eccentricity|}}}{{{period|}}}{{{avg_speed|}}}{{{max_speed|}}}{{{min_speed|}}}{{{inclination|}}}{{{last_p|}}}{{{next_p|}}}|Orbital characteristics <sup>[{{{source|http://www.minorplanetcenter.net/iau/Ephemerides/Comets/}}} A]</sup>}}
|<pre>{{Infobox comet
+
|label6  = [[Epoch (astronomy)|Epoch]]
| name          =  
+
|data6    = {{{epoch|}}}
| image          =  
+
|label7  = [[Observation arc]]
| caption        =  
+
|data7    = {{{obs_arc|}}}
| discoverer    =  
+
|label8   = Number of<br />observations
| discovery_date =
+
|data8    = {{{obs|}}}
| designations   = <!-- please use for old-style designations only -->
+
|label9  = [[List of comets by type|Orbit type]]
| aphelion      =  
+
|data9    = {{{orbit|}}}
| perihelion    =  
+
|label10  = [[Apsis|Aphelion]]
| semimajor      =  
+
|data10    = {{{aphelion|}}}
| semiminor      =  
+
|label11  = [[Apsis|Perihelion]]
| orbital_circ  =  
+
|data11   = {{{perihelion|}}}
| eccentricity   =  
+
|label12  = [[Semi-major axis]]
| period        =  
+
|data12  = {{{semimajor|}}}
| avg_speed      =  
+
|label13  = [[Semi-minor axis]]
| max_speed      =  
+
|data13  = {{{semiminor|}}}
| min_speed      =  
+
|label14  = Orbital<br />[[circumference]]
| inclination    =  
+
|data14  = {{{orbital_circ|}}}
| last_p        =  
+
|label15  = [[Orbital eccentricity|Eccentricity]]
| next_p        =  
+
|data15  = {{{eccentricity|}}}
}}</pre>
+
|label16  = [[Orbital period]]
|}
+
|data16  = {{{period|}}}
 
+
|label17  = Avg. [[orbital speed]]
[[Category:Astronomy infobox templates|comet]]
+
|data17  = {{{avg_speed|}}}
 
+
|label18  = Max. [[orbital speed]]
[[be-x-old:Шаблён:Камэта]]
+
|data18  = {{{max_speed|}}}
[[de:Vorlage:Infobox Komet]]
+
|label19  = Min. [[orbital speed]]
[[es:Plantilla:Ficha de cuerpo celeste]]
+
|data19  = {{{min_speed|}}}
[[fa:الگو:جعبه اطلاعات دنباله‌دار]]
+
|label20  = [[Orbital inclination|Inclination]]
[[fr:Modèle:Infobox Comète]]
+
|data20  = {{{inclination|}}}
[[ka:თარგი:ინფოდაფა კომეტა]]
+
|label21  = [[Longitude of the ascending node|Node]]
[[ja:Template:彗星]]
+
|data21  = {{{node|}}}
[[nn:Mal:Komet]]
+
|label22  = [[Argument of periapsis|Argument of<br />periapsis]]
[[pl:Szablon:Kometa infobox]]
+
|data22  = {{{peri|}}}
[[ru:Шаблон:Комета]]
+
|label23  = [[Longitude of the periapsis|Longitude of<br />perihelion]]
[[sk:Šablóna:Infobox Kométa]]
+
|data23  = {{{long_peri|}}}
[[uk:Шаблон:Комета]]
+
|label24  = [[Mean anomaly]]
[[vi:Bản mẫu:Infobox Comet]]
+
|data24  = {{{mean|}}}
[[zh:Template:Infobox Comet]]
+
|label25  = [[Tisserand's parameter|T<sub>Jupiter</sub>]]
 +
|data25  = {{{tjup|}}}
 +
|label26  = Earth [[Minimum orbit intersection distance|MOID]]
 +
|data26  = {{{Earth_moid|}}}
 +
|label27  = Jupiter [[Minimum orbit intersection distance|MOID]]
 +
|data27  = {{{Jupiter_moid|}}}
 +
|label28  = [[Comet nucleus|Dimensions]]
 +
|data28  = {{{dimensions|}}}
 +
|label29  = [[Rotation period]]
 +
|data29  = {{{rotation|}}}
 +
|label30  = Nucleus [[albedo]]
 +
|data30  = {{{albedo|}}}
 +
|label31  = [[Absolute magnitude#Cometary magnitudes|Comet total<br />magnitude]] (M1)
 +
|data31  = {{{M1|}}}
 +
|label32  = Comet nuclear<br />magnitude (M2)
 +
|data32  = {{{M2|}}}
 +
|label33  = Last perihelion
 +
|data33  = {{{last_p|}}}
 +
|label34  = Next perihelion
 +
|data34  = {{{next_p|}}}
 +
|label35  = Barycentric semi-major axis
 +
|data35  = {{{b_semimajor|}}}
 +
|label36  = Barycentric period
 +
|data36  = {{{b_period|}}}
 +
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 18:31, 22 January 2021

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This template is intended for use on articles about comets.

Usage

{{Infobox comet
| name           = 
| image          = 
| caption        = 
| discoverer     = 
| discovery_date = 
| designations   = <!-- please use for old-style designations only -->
| epoch          = 
| obs_arc        =
| obs            =
| orbit          =
| aphelion       = 
| perihelion     = 
| semimajor      = 
| semiminor      = 
| orbital_circ   = 
| eccentricity   = 
| period         = 
| avg_speed      = 
| max_speed      = 
| min_speed      = 
| inclination    =
| node           =
| peri           =
| long_peri      =
| tjup           = 
| Earth_moid     =
| Jupiter_moid   =
| dimensions     = 
| albedo         = 
| M1             = 
| M2             = 
| last_p         = 
| next_p         = 
| b_semimajor    = <!--barycentric semimajor axis, generally used only for long-period or hyperbolic comets -->
| b_period       = 
| source         = 
}}

Example

1P/Halley
Lspn comet halley.jpg
A color image of Comet Halley, shown flying to the left aligned flat against the sky
Discovery
Discovered byPrehistoric; named after Edmond Halley
Discovery date1758 (first predicted perihelion)
Alternative
designations
Halley's Comet, Comet Halley
Orbital characteristics A
Epoch2449400.5
(17 February 1994)
Observation arc158.39 years
Number of
observations
7,428
Aphelion35.0823 AU
Perihelion0.585978 AU
Semi-major axis17.8341 AU
Eccentricity0.967143
Orbital period75.32 a
Inclination162.263°
Node58.420°
Argument of
periapsis
111.332°
Longitude of
perihelion
169.752°
TJupiter−0.605
Earth MOID0.064 AU
Dimensions11 km
Nucleus albedo0.04
Comet total
magnitude
(M1)
5.5
Comet nuclear
magnitude (M2)
13.6
Last perihelion9 February 1986
Next perihelion28 July 2061
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox comet
| name           = 1P/Halley
| image          = [[File:Lspn comet halley.jpg|250px]]
| caption        = A color image of Comet Halley, shown flying to the left aligned flat against the sky
| discoverer     = Prehistoric; named after [[Edmond Halley]]
| discovery_date = 1758 (first ''predicted'' perihelion)
| designations   = Halley's Comet, Comet Halley
| epoch          = 2449400.5 <br /> (17 February 1994)
| obs_arc        = 158.39 years
| obs            = 7,428
| aphelion       = 35.0823 [[Astronomical unit|AU]]
| perihelion     = 0.585978 AU
| semimajor      = 17.8341 AU
| semiminor      = 
| orbital_circ   = 
| eccentricity   = 0.967143
| period         = 75.32 [[Julian year (astronomy)|a]]
| avg_speed      = 
| max_speed      = 
| min_speed      = 
| inclination    = 162.263°
| node           = 58.420°
| peri           = 111.332°
| long_peri      = 169.752°
| tjup           = −0.605
| Earth_moid     = 0.064 AU
| dimensions     = 11 km
| M1             = 5.5
| M2             = 13.6
| last_p         = 9 February 1986
| next_p         = 28 July 2061
}}