User:Spacepotato/Template:Starbox 2

This template is used to display information on a star system consisting of 2 stars. The template should be used as shown below. Unused arguments may be omitted. Arguments containing _a give information for the first component. There are corresponding arguments with _b which give information for the second component. For example, radius_b gives the radius of the second component.

There are four possibilities for displaying the right ascension and declination.

  1. Coordinates of the center of mass of the system are displayed, and formatting is done by the template. Use ra_system_h, ra_system_m, ra_system_s, dec_system_d, dec_system_m, and dec_system_s.
  2. Coordinates of the center of mass of the system are displayed, and formatting is done by the editor. Use ra_system and dec_system. Use of the {{RA}} template is recommended for formatting the right ascension, and the {{DEC}} template for formatting the declination.
  3. Coordinates of each component are displayed, and formatting is done by the template. Use ra_a_h, ra_a_m, ra_a_s, ra_b_h, ra_b_m, ra_b_s, dec_a_d, dec_a_m, dec_a_s, dec_b_d, dec_b_m, and dec_b_s.
  4. Coordinates of each component are displayed, and formatting is done by the editor. Use ra_a_1 and ra_b_1 for the first line of right ascension and dec_a_1 and dec_b_1 for the first line of declination. If a second line is desired (this may narrow the infobox), use ra_a_2 and ra_b_2 for the second line of right ascension, and dec_a_2 and dec_b_2 for the second line of declination. Use of the {{RA}} template is recommended for formatting the right ascension, and the {{DEC}} template for formatting the declination.

If the argument parallax is provided and dist_ly and dist_pc are omitted, the distances will be calculated automatically from the parallax (and the parallax error p_error, if provided.)

{{Starbox 2
| name = <!--System name-->
| image = <!--Image-->
| caption = <!--Optional caption-->
| epoch = <!--Epoch of observation-->
| equinox = <!--Equinox of coordinates (defaults to epoch)-->
| constell = <!--Constellation name-->
| component_a = <!--First component name, designation, or letter -->
| ra_system = <!--Right ascension, system barycenter (or use ra_system_h, ra_system_m, ra_system_s instead) -->
| dec_system = <!--Declination, system barycenter (or use dec_system_d, dec_system_m, dec_system_s instead)-->
| ra_system_h = <!--Right ascension, system barycenter, hours -->
| ra_system_m = <!--Right ascension, system barycenter, minutes -->
| ra_system_s = <!--Right ascension, system barycenter, seconds -->
| dec_system_d = <!--Declination, system barycenter, degrees -->
| dec_system_m = <!--Declination, system barycenter, minutes -->
| dec_system_s = <!--Declination, system barycenter, seconds -->
| radec_system_footnote = <!--Footnote, right ascension and declination of system -->
| ra_a_1 = <!--Right ascension, first component (or use ra_a_h, ra_a_m, ra_a_s instead) -->
| dec_a_1 = <!--Declination, first component (or use dec_a_d, dec_a_m, dec_a_s instead) -->
| ra_a_2 = <!--Right ascension, first component, second line (or use ra_a_h, ra_a_m, ra_a_s instead)-->
| dec_a_2 = <!--Declination, first component, second line (or use dec_a_d, dec_a_m, dec_a_s instead)-->
| ra_a_h = <!--Right ascension, first component, hours -->
| ra_a_m = <!--Right ascension, first component, minutes -->
| ra_a_s = <!--Right ascension, first component, seconds -->
| dec_a_d = <!--Declination, first component, degrees -->
| dec_a_m = <!--Declination, first component, minutes -->
| dec_a_s = <!--Declination, first component, seconds -->
| radec_a_footnote = <!--Footnote, right ascension and declination of first component -->
| appmag_v_a = <!--Apparent magnitude (Johnson-Cousins V system), first component-->
| class_a = <!--Stellar class, first component-->
| r-i_a = <!--R-I color index, first component-->
| v-r_a = <!--V-R color index, first component-->
| b-v_a = <!--B-V color index, first component-->
| u-b_a = <!--U-B color index, first component-->
| variable_a = <!--Variability type, first component-->
| radial_v_a = <!--Radial velocity (in km/sec), first component-->
| prop_mo_ra_system = <!--Proper motion (RA), μα cos δ (in milliarcsec/yr), system barycenter-->
| prop_mo_dec_system = <!--Proper motion (Dec), μδ (in milliarcsec/yr), system barycenter-->
| prop_mo_ra_a = <!--Proper motion (RA), μα cos δ (in milliarcsec/yr), first component-->
| prop_mo_dec_a = <!--Proper motion (dec), μδ (in milliarcsec/yr), first component-->
| parallax = <!--Parallax (in milliarcsec), system-->
| p_error = <!--Parallax error (in milliarcsec), system-->
| parallax_footnote = <!--Parallax footnote-->
| dist_ly = <!--Distance (in light years), system-->
| dist_pc = <!--Distance (in parsecs), system-->
| absmag_v_a = <!--Absolute magnitude (Johnson-Cousins V system), first component-->
| mass_a = <!--Mass (in solar masses), first component-->
| radius_a = <!--Radius (in solar radii), first component-->
| gravity_a = <!--Surface gravity (given as the base 10 logarithm expressed in cgs units), first component-->
| luminosity_a = <!--Luminosity (in solar luminosities), first component-->
| temperature_a = <!--Temperature (in Kelvin), first component-->
| metal_a = <!--Metallicity (no units provided by template), first component-->
| rotation_a = <!--Rotation (no units provided by template), first component-->
| age = <!--Age (in years), system-->
| orbit_footnote = <!--Footnote for orbit-->
| primsec = <!--Secondary/primary for orbit (e.g., A/B for orbit of A about B)
| period = <!--Period of orbit, in years--> 
| axis_unitless = <!--Semimajor axis of orbit (no units provided by template)--> 
| eccentricity = <!--Eccentricity of orbit--> 
| inclination = <!--Inclination of orbit, in degrees--> 
| node = <!--Nodal longitude of orbit, in degrees--> 
| periastron = <!--Epoch of periastron of orbit (no units provided by template)--> 
| periarg = <!--Argument of periastron of orbit, in degrees--> 
| primary = <!--Name, designation or letter of body relative to which separation is known -->
| separation_epoch_a = <!--Epoch of observation of separation, first component-->
| angdistsec_a = <!--Angular distance from primary, in arcseconds, first component-->
| angdistmas_a = <!--Angular distance from primary, in milliarcseconds, first component-->
| angdist_footnote_a = <!--Footnote for angular distance, first component-->
| posang_a = <!--Position angle relative to primary, in degrees, first component-->
| posang_footnote_a = <!--Footnote for position angle, first component-->
| projsep_a = <!--Observed projected separation from primary, in AU, first component-->
| projsep_footnote_a = <!--Footnote for observed projected separation, first component-->
| simbad_a = <!--Search ID for SIMBAD data reference (see {{SIMBAD link}}), first component-->
| aricns_a = <!--Search ID for ARICNS data reference (see {{ARICNS link}}), first component-->
| names = <!--Alternate designations-->
}}