Difference between revisions of "Template:Infobox constellation"
Jump to navigation
Jump to search
imported>Br'er Rabbit (be normal) |
imported>Br'er Rabbit (clean up) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | |title = {{{name}}} | + | | title = {{{name}}} |
| − | |subheader1 = Constellation | + | | subheader1 = Constellation |
| − | |subheaderstyle = font-size:110%; | + | | subheaderstyle = font-size: 110%; |
| − | |image = {{#ifeq:{{{name}}}|Serpens|[[File:Serpens Caput IAU.svg|250px|Serpens Caput]][[File:Serpens Cauda IAU.svg|250px|Serpens Cauda]]|[[File:{{{name}}} IAU.svg|250px|{{{name}}}]]}} | + | | image = {{#ifeq:{{{name}}}|Serpens|[[File:Serpens Caput IAU.svg|250px|Serpens Caput]][[File:Serpens Cauda IAU.svg|250px|Serpens Cauda]]|[[File:{{{name}}} IAU.svg|250px|{{{name}}}]]}} |
| − | |caption = [[List of stars in {{{name}}}]] | + | | caption = [[List of stars in {{{name}}}]] |
| − | |label1 = Abbreviation | + | | label1 = Abbreviation |
| − | |data1 = {{{abbreviation|}}} | + | | data1 = {{{abbreviation|}}} |
| − | |label2 = [[Genitive]] | + | | label2 = [[Genitive]] |
| − | |data2 = {{{genitive|}}} | + | | data2 = {{{genitive|}}} |
| − | |label3 = [[Pronunciation]] | + | | label3 = [[Pronunciation]] |
| − | |data3 = {{{pronounce|}}} | + | | data3 = {{{pronounce|}}} |
| − | |label4 = Symbolism | + | | label4 = Symbolism |
| − | |data4 = {{{symbolism|}}} | + | | data4 = {{{symbolism|}}} |
| − | |label5 = [[Right ascension]] | + | | label5 = [[Right ascension]] |
| − | |data5 = {{{RA|}}} h | + | | data5 = {{{RA|}}} h |
| − | |label6 = [[Declination]] | + | | label6 = [[Declination]] |
| − | |data6 = {{{dec|}}}° | + | | data6 = {{{dec|}}}° |
| − | |label7 | + | | label7 = [[Quadrant (astronomy)|Quadrant]] |
| − | |data7 | + | | data7 = {{{quadrant|}}} |
| − | |label8 = [[List of constellations by area|Area]] | + | | label8 = [[List of constellations by area|Area]] |
| − | |data8 = {{#if:{{{areatotal|}}}|{{{areatotal}}} sq. deg. {{#if:{{{arearank|}}}|([[List of constellations by area{{!}}{{{arearank}}}]])}}}} | + | | data8 = {{#if:{{{areatotal|}}}|{{{areatotal}}} sq. deg. {{#if:{{{arearank|}}}|([[List of constellations by area{{!}}{{{arearank}}}]])}}}} |
| − | |label9 = Main stars | + | | label9 = Main stars |
| − | |data9 | + | | data9 = {{{numbermainstars|}}} |
| − | |label10 | + | | label10 = [[Bayer designation|Bayer]]/[[Flamsteed designation|Flamsteed]]<br />stars |
| − | |data10 = {{{numberbfstars|}}} | + | | data10 = {{{numberbfstars|}}} |
| − | |label11 = Stars with [[extrasolar planet|planet]]s | + | | label11 = Stars with [[extrasolar planet|planet]]s |
| − | |data11 = {{{numberstarsplanets|}}} | + | | data11 = {{{numberstarsplanets|}}} |
| − | |label12 = Stars brighter than 3.00<sup>m</sup> | + | | label12 = Stars brighter than 3.00<sup>m</sup> |
| − | |data12 = {{{numberbrightstars|}}} | + | | data12 = {{{numberbrightstars|}}} |
| − | |label13 = Stars within 10.00 pc (32.62 ly) | + | | label13 = Stars within 10.00 pc (32.62 ly) |
| − | |data13 = {{{numbernearbystars|}}} | + | | data13 = {{{numbernearbystars|}}} |
| − | |label14 = Brightest star | + | | label14 = Brightest star |
| − | |data14 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>[[apparent magnitude|m]]</sup>)}} | + | | data14 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>[[apparent magnitude|m]]</sup>)}} |
| − | |label15 = Nearest star | + | | label15 = Nearest star |
| − | |data15 = {{#if:{{{neareststarname|}}}|{{{neareststarname}}}<br />({{{stardistancely|}}} [[light year|ly]], {{{stardistancepc|}}} [[parsec|pc]])}} | + | | data15 = {{#if:{{{neareststarname|}}}|{{{neareststarname}}}<br />({{{stardistancely|}}} [[light year|ly]], {{{stardistancepc|}}} [[parsec|pc]])}} |
| − | |label16 = [[Messier object]]s | + | | label16 = [[Messier object]]s |
| − | |data16 = {{{numbermessierobjects|}}} | + | | data16 = {{{numbermessierobjects|}}} |
| − | |label17 = [[Meteor shower]]s | + | | label17 = [[Meteor shower]]s |
| − | |data17 = {{{meteorshowers|}}} | + | | data17 = {{{meteorshowers|}}} |
| − | |label18 = Bordering<br />constellations | + | | label18 = Bordering<br />constellations |
| − | |data18 = {{{bordering|}}} | + | | data18 = {{{bordering|}}} |
| − | |belowstyle = font-size:smaller | + | | belowstyle = font-size: smaller; |
| − | |below = {{#if:{{{latmax|}}}{{{latmin|}}}|'''Visible at latitudes between +{{{latmax}}}° and −{{{latmin}}}°.'''}}{{#if:{{{month|}}}|<br />'''Best visible at 21:00 (9 p.m.) during the month of <big>{{{month}}}</big>.'''}}{{#if:{{{notes|}}}|<br />{{{notes}}}}} | + | | below = {{#if:{{{latmax|}}}{{{latmin|}}}|'''Visible at latitudes between +{{{latmax}}}° and −{{{latmin}}}°.'''}}{{#if:{{{month|}}}|<br />'''Best visible at 21:00 (9 p.m.) during the month of <big>{{{month}}}</big>.'''}}{{#if:{{{notes|}}}|<br />{{{notes}}}}} |
| − | }}<noinclude>{{documentation}}</noinclude> | + | |
| + | }}<noinclude> | ||
| + | {{documentation}} | ||
| + | </noinclude> | ||
Revision as of 23:42, 10 July 2012
| Constellation | |
| [[File:{{{name}}} IAU.svg|250px|{{{name}}}]] [[List of stars in {{{name}}}]] | |
| Right ascension | h |
|---|---|
| Declination | ° |
[[Category:Infobox templates|Template:Remove first word]]
Contents
Purpose
This template provides a standardized infobox for the 88 IAU recognized constellations; the modern constellations used in modern-day science.
Usage
{{Infobox constellation
| name = <!-- IAU constellation name -->
| abbreviation = <!-- IAU three letter abbreviation -->
| genitive = <!-- genitive form of the constellation,
as used in Bayer or Flamsteed designations -->
| pronounce = <!-- pronunciation -->
| symbolism = <!-- symbolic meaning of the constellation -->
| RA = {{RA}} – {{RA}} <!-- right ascension range -->
| dec = {{DEC}} – {{DEC}} <!-- declination range -->
| (deprecated, won't appear) family = <!-- constellation family -->
| (deprecated) quadrant = <!-- galactic quadrant -->
| areatotal =
| arearank =
| numbermainstars = <!-- A count of the Bayer or Flamsteed designated stars that are
connected by line segments on the IAU's constellation map -->
| numberbfstars = <!-- The number of stars with Bayer or Flamsteed designations
in the constellation -->
| numberstarsplanets = X (Y with candidates)
<!-- X being the number of stars with confirmed planets,
Y being the number of stars with solid candidate planets
without confirmed planets -->
| numberbrightstars = <!-- Number of stars with an apparent magnitude less than ~=3
( apparent magnitude < 3 ) -->
| numbernearbystars = <!-- Number of stars that are closer than 10pc
( distance < 10 parsecs ) -->
| brighteststarname = <!-- the star with the brightest apparent magnitude
( usually this would be "α genitive" ) -->
| starmagnitude =
| neareststarname =
| stardistance =
| numbermessierobjects =
| meteorshowers =
| bordering =
| latmax =
| latmin =
| month =
| notes =
}}
Parameters
- name – (Mandatory) — The name of the constellation, as defined by the IAU
- abbreviation – (Mandatory) — The three letter IAU abbreviation for the constellation
- genitive – (Mandatory) — The genetive form of the constellation's name used in the construction of star names in Bayer designations and Flamsteed designations
- pronounce – (Optional) — The pronunciation of the constellation's name, and the genitive form. Please use the IPA and optionally respelling.
|pronounce=
;Name
* {{IPAc-en|IPA}} {{respell|respelling}}
;Genitive
* {{IPAc-en|IPA}} {{respell|respelling}}
- symbolism – (Optional) — the meaning of the constellation
- ie. Draco, is "the dragon", so fill in as the dragon
- RA and dec -- coordinates of the constellation
- RA – (Mandatory) — right ascension, use the {{RA}} or {{Deg2HMS}} template to fill in this parameter
- the right ascension of the lower and upper extremes of the constellation
- dec – (Mandatory) — declination, use the {{DEC}} template to fill in this parameter
- the declination of the lower and upper extremes of the constellation
- RA – (Mandatory) — right ascension, use the {{RA}} or {{Deg2HMS}} template to fill in this parameter
- liststyle – (Optional) — style for included lists; default is plain,
hlistfor horizontal andflatlistfor bulleted.
Layout
{{Infobox constellation
| name =
| abbreviation =
| genitive =
| pronounce =
| symbolism =
| RA = {{RA}} – {{RA}}
| dec = {{DEC}} – {{DEC}}
| (deprecated) quadrant =
| areatotal =
| arearank =
| numbermainstars =
| numberbfstars =
| numberstarsplanets = X (Y with candidates)
| numberbrightstars =
| numbernearbystars =
| brighteststarname =
| starmagnitude =
| neareststarname =
| stardistance =
| numbermessierobjects =
| meteorshowers =
| bordering =
| latmax =
| latmin =
| month =
| notes =
}}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox constellation
Extended content
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The above documentation is transcluded from Template:Infobox constellation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |