Template:Infobox constellation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
| label2 = Romanisation | | label2 = Romanisation | ||
| data2 = {{{pronounce|}}} | | data2 = {{{pronounce|}}} | ||
| label3 = Translation<br /> | | label3 = IPA | ||
| | | data3 = {{{ipa|}}} | ||
| | | label4 = Translation<br /> | ||
| | | data4 = {{{translation|}}} | ||
| | | label5 = Abbreviation | ||
| | | data5 = {{{abbreviation|}}} | ||
| | | label6 = [[Genitive case|Genitive]] | ||
| | | data6 = {{{genitive|}}} | ||
| label7 = Symbolism | |||
| data7 = {{{symbolism|}}} | |||
|- | |- | ||
| | | label8 = Right ascension | ||
| | | data8 = {{{RA|}}} | ||
| | | label9 = Declination | ||
| | | data9 = {{{dec|}}} | ||
| label10 = Quadrant | |||
| data10 = {{{quadrant|}}} | |||
| label11 = Area | |||
| data11 = {{#if:{{{areatotal|}}}|{{{areatotal}}} sq. deg. {{#if:{{{arearank|}}}|([[88 modern constellations by area{{!}}{{{arearank}}}]])}}}} | |||
|- | |- | ||
| | | label12 = Bright stars | ||
| data12 = {{{numbermainstars|}}} | |||
| label13 = Bayer/Flamsteed<br />stars | |||
| data13 = {{{numberbfstars|}}} | |||
| label14 = Stars with [[exoplanet|planet]]s | |||
| | | data14 = {{{numberstarsplanets|}}} | ||
| | | label15 = Stars brighter than 3.00<sup>m</sup> | ||
| | | data15 = {{{numberbrightstars|}}} | ||
| | | label16 = Stars within 10.00 pc (32.62 ly) | ||
| | | data16 = {{{numbernearbystars|}}} | ||
| | | label17 = Brightest star | ||
| | | data17 = {{#if:{{{brighteststarname|}}}|{{{brighteststarname}}} ({{{starmagnitude|}}}<sup>m</sup>)}} | ||
| | | label18 = Nearest star | ||
| | | data18 = {{#if:{{{neareststarname|}}}|{{{neareststarname}}}}} | ||
| | | label19 = [[Messier object]]s | ||
| | | data19 = {{{numbermessierobjects|}}} | ||
| | | label20 = [[Meteor shower]]s | ||
| | | data20 = {{{meteorshowers|}}} | ||
| | | label21 = IAU-<br />constellations | ||
| | | data21 = {{{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:45, 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||







