Template:Infobox constellation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
| subheader1 = ''Constellation'' | | subheader1 = ''Constellation'' | ||
| subheaderstyle = font-size: 188%; | | subheaderstyle = font-size: 188%; | ||
| | | label1 = Native<br /> | ||
| | | data1 = {{{native|}}} | ||
| | | label2 = Romanisation | ||
| | | data2 = {{{pronounce|}}} | ||
| | | label3 = Translation<br /> | ||
| | | data3 = {{{translation|}}} | ||
| | | label4 = Abbreviation | ||
| | | data4 = {{{abbreviation|}}} | ||
| | | label5 = [[Genitive case|Genitive]] | ||
| | | data5 = {{{genitive|}}} | ||
| | | label6 = Symbolism | ||
| | | data6 = {{{symbolism|}}} | ||
|- | |- | ||
| | | label7 = Right ascension | ||
| | | data7 = {{{RA|}}} | ||
| | | label8 = Declination | ||
| | | data8 = {{{dec|}}} | ||
|- | |- | ||
| | | label9 = Quadrant | ||
| | | data9 = {{{quadrant|}}} | ||
| | | label10 = Area | ||
| | | data10 = {{#if:{{{areatotal|}}}|{{{areatotal}}} sq. deg. {{#if:{{{arearank|}}}|([[88 modern constellations by area{{!}}{{{arearank}}}]])}}}} | ||
| | | label11 = Main stars | ||
| | | data11 = {{{numbermainstars|}}} | ||
| | | label12 = Bayer/Flamsteed<br />stars | ||
| | | data12 = {{{numberbfstars|}}} | ||
| | | label13 = Stars with [[exoplanet|planet]]s | ||
| | | data13 = {{{numberstarsplanets|}}} | ||
| | | label14 = Stars brighter than 3.00<sup>m</sup> | ||
| | | data14 = {{{numberbrightstars|}}} | ||
| | | label15 = Stars within 10.00 pc (32.62 ly) | ||
| | | data15 = {{{numbernearbystars|}}} | ||
| | | label16 = Brightest star | ||
| | | data16 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>m</sup>)}} | ||
| | | label17 = Nearest star | ||
| | | data17 = {{#if:{{{neareststarname|}}}|{{{neareststarname}}}}} | ||
| | | label18 = [[Messier object]]s | ||
| | | data18 = {{{numbermessierobjects|}}} | ||
| | | label19 = [[Meteor shower]]s | ||
| | | data19 = {{{meteorshowers|}}} | ||
| | | label20 = Bordering<br />constellations | ||
| | | data20 = {{{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}}}}} | ||
Revision as of 06:16, 5 July 2026
<templatestyles src="Plainlist/styles.css"></templatestyles><templatestyles src="Module:Infobox/styles.css"></templatestyles>
| Constellation |
<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>| Constellation | |
| Right ascension | – |
|---|---|
| Declination | {{{1}}}° – {{{1}}}° |
| Stars with planets | X (Y with candidates) |
</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>| Constellation | |
| Right ascension | – |
|---|---|
| Declination | {{{1}}}° – {{{1}}}° |
| Stars with planets | X (Y with candidates) |
</syntaxhighlight>
TemplateData
TemplateData for Infobox constellation
Extended content
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||







