Template:Infobox constellation: Difference between revisions
No edit summary |
No edit summary |
||
| (26 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width: | | class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:342px;" | ||
| headerstyle = background:#d9e8ff;color:#001cc4; | |||
| bodyclass = {{{liststyle|plainlist}}} | | bodyclass = {{{liststyle|plainlist}}} | ||
| title = {{{name}}} | | title = {{{name}}} | ||
| subheader1 = '' | | subheader1 = ''Asterism Info'' | ||
| subheaderstyle = font-size: 155%; | | subheaderstyle = font-size: 155%; background:#d9e8ff; text-align:center; color:#001cc4; | ||
| label1 = Native<br /> | | label1 = Native<br /> | ||
| data1 = {{{native|}}} | | data1 = {{{native|}}} | ||
| Line 10: | Line 11: | ||
| data2 = {{{pronounce|}}} | | data2 = {{{pronounce|}}} | ||
| label3 = IPA | | label3 = IPA | ||
| data3 = {{{ | | data3 = {{{IPA|}}} | ||
| label4 = Translation<br /> | | label4 = Translation<br /> | ||
| data4 = {{{translation|}}} | | data4 = {{{translation|}}} | ||
| Line 19: | Line 20: | ||
| label7 = Symbolism | | label7 = Symbolism | ||
| data7 = {{{symbolism|}}} | | data7 = {{{symbolism|}}} | ||
| header8 = Position | | header8 = Position (2000) | ||
| label9 = Right ascension | |||
| | | data9 = {{{RA|}}} | ||
| | | label10 = Declination | ||
| | | data10 = {{{dec|}}} | ||
| | | label11 = Quadrant | ||
| | | data11 = {{{quadrant|}}} | ||
| | | label12 = Area | ||
| | | data12 = {{#if:{{{areatotal|}}}|{{{areatotal}}} sq. deg. {{#if:{{{arearank|}}}|([[88 modern constellations by area{{!}}{{{arearank}}}]])}}}} | ||
| | | header13 = Stars | ||
| label14 = Bright stars | |||
| | | data14 = {{{numbermainstars|}}} | ||
| | | label15 = Bayer/Flamsteed<br />stars | ||
| | | data15 = {{{numberbfstars|}}} | ||
| | | label16 = Stars brighter than 3.00<sup>m</sup> | ||
| | | data16 = {{{numberbrightstars|}}} | ||
| | |||
| | |||
| label17 = Brightest star | | label17 = Brightest star | ||
| data17 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>m</sup>)}} | | data17 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>m</sup>)}} | ||
| label18 = Nearest star | | label18 = exoplanets | ||
| | | data18 = {{{numberstarsplanets|}}} | ||
| | | label19 = Stars within 10.00 pc (32.62 ly) | ||
| | | data19 = {{{numbernearbystars|}}} | ||
| | | label20 = Nearest star | ||
| | | data20 = {{#if:{{{neareststarname|}}}|{{{neareststarname}}}}} | ||
| | | label21 = [[Messier object]]s | ||
| | | data21 = {{{numbermessierobjects|}}} | ||
| label22 = [[Meteor shower]]s | |||
| data22 = {{{meteorshowers|}}} | |||
| header23 = Taxonomy | |||
| label24 = category<br />of asterism | |||
| data24 = {{{cat|}}} | |||
| label25 = IAU-<br />constellations | |||
| data25 = {{{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 {{large|{{{month}}}}}.'''}}{{#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 {{large|{{{month}}}}}.'''}}{{#if:{{{notes|}}}|<br />{{{notes}}}}} | ||
Latest revision as of 12:34, 5 July 2026
<templatestyles src="Plainlist/styles.css"></templatestyles><templatestyles src="Module:Infobox/styles.css"></templatestyles>
| Asterism Info | |
| Position (2000) | |
|---|---|
| Stars | |
| Taxonomy |
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
| File:Lua-Logo.svg | This template uses Lua: |
Purpose
This template provides a standardized infobox for the 88 IAU recognized constellations; the modern constellations used in modern-day science.
Usage
<syntaxhighlight lang="wikitext">
<templatestyles src="Plainlist/styles.css"></templatestyles><templatestyles src="Module:Infobox/styles.css"></templatestyles>| Asterism Info | |
| Position (2000) | |
|---|---|
| Right ascension | – |
| Declination | {{{1}}}° – {{{1}}}° |
| Stars | |
| exoplanets | X (Y with candidates) |
| Taxonomy | |
</syntaxhighlight>
Parameters
- name – (Mandatory) — The name of the constellation, as defined by the IAU
- native – (Mandatory) — The three letter IAU abbreviation for the constellation
- translation – (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.
<syntaxhighlight lang="wikitext"> |pronounce=
- Name
- Genitive
</syntaxhighlight>
- 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 {{Template:Right ascension}} 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 {{Template:Declination}} template to fill in this parameter
- the declination of the lower and upper extremes of the constellation
- RA – (Mandatory) — right ascension, use the {{Template:Right ascension}} or {{Deg2HMS}} template to fill in this parameter
- liststyle – (Optional) — style for included lists; default is plain,
hlistfor horizontal andflatlistfor bulleted.
Layout
<syntaxhighlight lang="wikitext">
<templatestyles src="Plainlist/styles.css"></templatestyles><templatestyles src="Module:Infobox/styles.css"></templatestyles>| Asterism Info | |
| Position (2000) | |
|---|---|
| Right ascension | – |
| Declination | {{{1}}}° – {{{1}}}° |
| Stars | |
| exoplanets | X (Y with candidates) |
| Taxonomy | |
</syntaxhighlight>
TemplateData
TemplateData for Infobox constellation
Extended content
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||







