Template:Infobox constellation/doc: Difference between revisions

From All Skies Encyclopaedia
Sushoff (talk | contribs)
No edit summary
Sushoff (talk | contribs)
No edit summary
Line 9: Line 9:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{Infobox constellation
{{Infobox constellation
| class="wikitable" style="float:right; clear:right; margin:0 0 1em 1em; width:242px;"
| name = <!-- IAU constellation name -->
| name = <!-- IAU constellation name -->
| native = <!-- IAU three letter abbreviation -->
| native = <!-- IAU three letter abbreviation -->
Line 16: Line 15:
| culture = <!-- culture/language -->
| culture = <!-- culture/language -->
|-
|-
! RA  
| RA = {{RA}} – {{RA}} <!-- right ascension range -->
| {{RA}} – {{RA}} <!-- right ascension range -->
| dec = {{DEC}} – {{DEC}} <!-- declination range -->
| dec = {{DEC}} – {{DEC}} <!-- declination range -->
|-
|-

Revision as of 06:36, 5 July 2026

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

<templatestyles src="Module:Message box/ombox.css"></templatestyles>

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
exoplanetsX (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
  • liststyle(Optional) — style for included lists; default is plain, hlist for horizontal and flatlist for 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
exoplanetsX (Y with candidates)
Taxonomy

</syntaxhighlight>

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox constellation in articles based on its TemplateData.

TemplateData for Infobox constellation