Template:Componentbox doc

The templates {{Componentbox begin}}, {{Componentbox component}}, and {{Componentbox end}} are used for listing the components of double and multiple stars and specifying their separation relative to a primary component. The {{Componentbox begin}} template is used first, followed by one use of {{Componentbox component}} for each component, except the primary (assumed to be described elsewhere in the article); {{Componentbox end}} is used to terminate the list.

An example is as follows:

{{Componentbox begin
|designation=[[Washington Double Star Catalog|WDS]] 00004+7305
|footnote=<ref>Entry 00004+7305, 
[http://ad.usno.navy.mil/wds/wdsnewframe1.html The Washington Double Star Catalog], 
[[United States Naval Observatory]].  Accessed on line August 12, 2008.</ref>
}}
{{Componentbox component
|letter=B|primary=A
|appmag_v=13.0|epoch=2000|angdist=22.8|posang=282}}
{{Componentbox component
|letter=C|primary=A
|appmag_v=11.66|epoch=2000|angdist=44.4|posang=296}}
{{Componentbox end}}

A fuller table, including right ascension, declination and a link to SIMBAD for each component may be displayed by adding the argument expanded = yes to {{Componentbox begin}} and each occurrence of {{Componentbox component}}:

{{Componentbox begin
|designation=[[Washington Double Star Catalog|WDS]]&nbsp;00004+7305
|footnote=<ref>Entry 00004+7305, 
[http://ad.usno.navy.mil/wds/wdsnewframe1.html The Washington Double Star Catalog], 
[[United States Naval Observatory]].  Accessed on line August 12, 2008.</ref>
|expanded = yes
}}
{{Componentbox component
|letter=B|primary=A
|expanded = yes
|ra = {{RA|00|00|17.36}}
|dec = {{DEC|+73|05|00.9}}
|radec_footnote = <ref>{{SIMBAD link|**+HJ+3231B|CCDM J00003+7305B  -- Star in double system}}, 
database entry, [[SIMBAD]], accessed on line August 13, 2008.</ref>
|simbad = **+HJ+3231B
|appmag_v=13.0|epoch=2000|angdist=22.8|posang=282}}
{{Componentbox component
|letter=C|primary=A
|ra = {{RA|00|00|13.32}}
|dec = {{DEC|+73|05|15.8}}
|radec_footnote = <ref>{{SIMBAD link|**+HJ+3231C|CCDM J00003+7305C  -- Star in double system}}, 
database entry, [[SIMBAD]], accessed on line August 13, 2008.</ref>
|simbad = **+HJ+3231C
|expanded = yes
|appmag_v=11.66|epoch=2000|angdist=44.4|posang=296}}
{{Componentbox end}}

When displayed together with a References section, these examples will appear as follows:


Multiple/double star designation: WDS 00004+7305[1]
Component Primary Epoch of
observed
separation
Angular
distance
from
primary
Position
angle
(relative
to primary)
Apparent
magnitude
(V)
B A 2000 22.8 282° 13.0
C A 2000 44.4 296° 11.66
Multiple/double star designation: WDS 00004+7305[2]
Component Primary Right
ascension
(α)
Equinox J2000.0
Declination (δ)
Equinox J2000.0
Epoch of
observed
separation
Angular
distance
from
primary
Position
angle
(relative
to primary)
Apparent
magnitude
(V)
Database
reference
B A 00h 00m 17.36s+73° 05′ 00.9″[3] 2000 22.8 282° 13.0 SIMBAD
C A 00h 00m 13.32s+73° 05′ 15.8″[4] 2000 44.4 296° 11.66 SIMBAD

References

edit
  1. ^ Entry 00004+7305, The Washington Double Star Catalog, United States Naval Observatory. Accessed on line August 12, 2008.
  2. ^ Entry 00004+7305, The Washington Double Star Catalog, United States Naval Observatory. Accessed on line August 12, 2008.
  3. ^ CCDM J00003+7305B -- Star in double system, database entry, SIMBAD, accessed on line August 13, 2008.
  4. ^ CCDM J00003+7305C -- Star in double system, database entry, SIMBAD, accessed on line August 13, 2008.

Detailed syntax for each template is as follows:

{{Componentbox begin
| expanded = <!-- Set this argument to "yes" if it is desired to display
                  right ascension, declination and SIMBAD links -->
| designation = <!-- Catalog designation of double or multiple star -->
| footnote = <!-- Reference for designation and other table data -->
| equinox = <!-- Equinox of right ascension and declination, if present;
                 defaults to [[J2000.0]] -->
}}
{{Componentbox component
| expanded = <!-- Set this argument to "yes" if it is desired to display
                  right ascension, declination and SIMBAD links -->
| letter = <!-- Letter or designation of component -->
| primary = <!-- Letter or designation of primary (defaults to A) -->
| ra = <!-- Right ascension of component -->
| dec = <!-- Declination of component -->
| radec_footnote = <!-- Reference for RA and declination -->
| epoch = <!-- Epoch of measurement of angular distance and position angle -->
| angdist = <!-- Angular distance from primary, in arcseconds -->
| posang = <!-- Position angle relative to primary, in degrees -->
| appmag_v = <!-- Apparent visual magnitude (V) -->
| simbad = <!-- URL ID for SIMBAD data reference -->
}}
{{Componentbox end}}