Template talk:Starbox begin#How to make the template not overlink

{{Permanently protected}}

{{Talk header}}

{{WikiProject banner shell|

{{WikiProject Astronomy|object=yes}}

}}

Decimal exponent units for log g

Would it be necessary to include dex as an alternate unit for log g? This unit is sometimes used (e.g. Tannock et al 2103.01990) and it would be useful to have a conversion between dex and cgs. Nrco0e (talk · contribs) 18:32, 12 March 2021 (UTC)

:dex isn't a unit as such. It is an abbreviation of sorts for decimal exponent, indicating that the number is the decimal exponent of the actual value. Looked at another way it is the logarithm of the value. Technically, such numbers are unitless but they are often followed by an indicator of the system of units used for the original value, since the logarithm of a value in light years is obviously different fro the logarithm of a number of miles. log(g) for the surface gravity of a star is almost universally the logarithm of the cgs value, ie. in cm/s2, perhaps not the units you'd expect. This usage is explained at surface gravity. dex units in general are not well-explained anywhere I could find in WP. There is decimal exponent which redirects to common logarithm but it doesn't say anything about "dex" exactly. There is dex, but that dab page doesn't say anything either. Lithopsian (talk) 21:02, 12 March 2021 (UTC)

Template-protected edit request on 9 July 2021

{{edit template-protected|Template:Starbox catalog|answered=yes}}

Please remove the interlanguage link fr:Modèle:Astrobox catalogue in Template:Starbox catalog. It points to a deleted target. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 09:43, 9 July 2021 (UTC)

:{{done}} Primefac (talk) 10:05, 9 July 2021 (UTC)

{{-}}

Template-protected edit request on 15 July 2021

{{edit template-protected|Template:Starbox detail|answered=yes}}

In Template:Starbox detail, please remove the two interlanguage links at the bottom of the template. fr:Modèle:Starbox détail points to a deleted template and es:Plantilla:Starbox detail redirects to a template with different function that is linked to the appropriate English template by wikidata. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 10:49, 15 July 2021 (UTC)

:{{done}} Terasail[✉️] 11:37, 15 July 2021 (UTC)

:{{to|ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ}} also removed from the template documentation page. And thank you for the good catch! P.I. Ellsworth  ed. put'r there 11:48, 15 July 2021 (UTC)

Template-protected edit request on 31 August 2021

{{edit template-protected|answered=yes}}

The {{t|starbox reference}} template generates urls to several common astronomical databases. It uses the now virtually-obsolete http:// prefixes. Although many websites automatically redirect requests to the secure https:// equivalent, some, including Simbad do not. This can cause warnings in some browsers, and the websi page may not even display. Please change each instance of "http://" to "https://". Lithopsian (talk) 18:35, 31 August 2021 (UTC)

:{{done}} Primefac (talk) 18:40, 31 August 2021 (UTC)

Template-protected edit request on 15 January 2022

{{edit template-protected|Template:Starbox astrometry|answered=yes}}

For {{tl|Starbox astrometry}}, the documented 'pm_footnote2' parameter, which references the second set of proper motion rows, has not been implemented. It should update the 'prop_mo_ra2' and 'prop_mo_dec2' rows in the same manner as the 'pm_footnote' parameter updates the 'prop_mo_ra' and 'prop_mo_dec' rows. Thank you. Praemonitus (talk) 22:55, 15 January 2022 (UTC) Praemonitus

:{{done}} Primefac (talk) 10:05, 16 January 2022 (UTC)

Exoplanet Encyclopedia

There's a problem with Exoplanet Encyclopedia reference. I guess they changed the structure of the website at some point. Unfortunately, they no longer have pages for the stars, but for the planets. For example, HR 8799d is http://exoplanet.eu/catalog/hr_8799_d/ (note also that they are still using http:// not https://). I'm not sure the best way to deal with this. I guess this reference should be removed from the star infobox and added to the planet ones instead. Although this is a bit awkward since the other references are all for star. AstroMark (talk) 20:23, 21 January 2022 (UTC)

Template-protected edit request on 1 April 2022

{{edit template-protected|Template:Starbox astrometry|answered=yes}}

Replace the current version of Template:Starbox astrometry (that talk page redirects here) with the current contents of User:RandomCanadian/sandbox2. This adds a {{code|dist_ref}} parameter to add a reference for the distance at the appropriate place ([https://en.wikipedia.org/w/index.php?title=User%3ARandomCanadian%2Fsandbox2&type=revision&diff=1080545054&oldid=1080544634 diff] of the difference). Cheers, RandomCanadian (talk / contribs) 22:04, 1 April 2022 (UTC)

  • The parameter can also be called {{code|dist_footnote}} if you want consistency with the other ones. RandomCanadian (talk / contribs) 22:12, 1 April 2022 (UTC)
  • See that {{tl|Starbox astrometry}} has {{tl|Astro talk}} at the TOP, and don't see discussion about this at WT:WikiProject Astronomical objects. Is it an uncontroversial edit? or should it be discussed as has been requested by the WikiProject? P.I. Ellsworth - ed. put'r there 11:42, 2 April 2022 (UTC)
  • {{ping|Paine Ellsworth}} Adding an easy way to add a reference in the proper spot (see the example at Earendel, where the ref is oddly between the measurement and the unit) is not controversial; and seeing that the template already has support for proper footnotes for other values ({{code|pm_footnote}} and {{code|parallax_footnote}}), it would make absolute-totally-100%-non-controversial-sense to include such a parameter for the distance too. RandomCanadian (talk / contribs) 14:54, 2 April 2022 (UTC)
  • Okay, and {{done|done}}. P.I. Ellsworth - ed. put'r there 16:19, 2 April 2022 (UTC)

:References between the numeric value and the units is a known issue throughout the starboxes, but consistency is probably more valuable than trying to make it "right" for just one case - see pm_footnote and parallax_footnote which intentionally place the reference before the units. I have fixed the documentation page, there is no dist_footnote2. Lithopsian (talk) 13:06, 3 April 2022 (UTC)

::I've looked at the other starbox templates, and none of them seem to be having the refs at the wrong place. If it's a known issue with this one, then it's a relatively easy fix, and if the footnote parameters are explicitly present, they might as well be at the right place - see [https://en.wikipedia.org/w/index.php?title=User%3ARandomCanadian%2Fsandbox2&type=revision&diff=1080822096&oldid=1080552587 diff]. {{ping|Paine Ellsworth}} (or somebody else if they notice this first): same routine; replace current version of Template:Starbox astrometry with contents of my sandbox (i.e. diff linked above). Cheers, RandomCanadian (talk / contribs) 17:34, 3 April 2022 (UTC)

:::{{done}}. P.I. Ellsworth - ed. put'r there 19:27, 3 April 2022 (UTC)

:::Take a look at any star article instead of code-reading, and maybe we can stop making piecemeal changes that aren't really improving these templates. Try Sirius, it has a fairly complete set of fields. At the top of the template, it says "Before making modifications to this template, please discuss the proposed changes on the WikiProject Astronomical objects talk page. Thank you.", that's so that these questions can be ironed out before they hit thousands of star articles. If you do that, you *will* get feedback, but that's a good thing, right? Lithopsian (talk) 21:08, 3 April 2022 (UTC)

::::{{ping|Lithopsian}} As regards the astrometry box, Sirius was an instance were the existing parameter was unused when it should have been used... Now it shows that an additional parameter might be necessary for radial velocity (and really, that's not something complex to add - you literally add {{code|{{{whatever_footnote|}}}}} at the appropriate place after the unit). The rest shows this was just horribly designed to start with - it might be far simpler to just put the unit abbreviations in with the description (i.e. have "Temperature (K) // [whatever][ref]" instead of the current "Temperature // [whatever][ref](K)". RandomCanadian (talk / contribs) 21:17, 3 April 2022 (UTC) i.e. [https://en.wikipedia.org/w/index.php?title=User%3ARandomCanadian%2Fsandbox3&type=revision&diff=1080854650&oldid=1080854471 this] what I'm thinking about. RandomCanadian (talk / contribs) 21:27, 3 April 2022 (UTC)

{{od}}

Have notified project members of this and the next (below) discussions. P.I. Ellsworth - ed. put'r there 00:00, 4 April 2022 (UTC)

:Horribly-designed or not, it is what we have and thousands of articles used it. Any wholesale re-design would likely need an associated bot to edit the articles and nobody has been ready to take that on. There was an attempt a few years back to rewrite the multiple starboxes along the lines of a simplified infobox, but after consideration of all the edge cases (eg. multiple instances of one starbox template such as {{t|starbox detail}} or {{t|starbox orbit}} within the starbox begin/end nest) and a lack of agreement about which fields could be dropped, it all ran into the long grass. There are some instances where multiple values (eg. for a binary or variable star) are placed in one starbox field, with all except the last one having to include the units, and some instances of fields that need units but where the template doesn't provide them (eg. period_unitless in {{t|starbox orbit}}). Very messy - take a look at Eta Carinae for examples, but like I said: if you're not going to fix them all then making some of them different isn't really helping. In related news, the {{t|odlist}} template intended to be used inside {{t|starbox reference}} has problems with placing references after the commas, although it is relatively uncommon to have references nested inside the template. See Antares for an example. Lithopsian (talk) 11:08, 4 April 2022 (UTC)

::Redesigning starbox detail to avoid the ref issue and have minimal changes was a rather minor affair (which would not require a bot at this time), see User:RandomCanadian/sandbox3 (the only parameter that's still tricky is the age, but for consistency I guess I could do like the others). RandomCanadian (talk / contribs) 17:58, 4 April 2022 (UTC)

::{{re|Lithopsian}} {{tq|... nobody has been ready to take that on}} - false, as a merger/replacement with {{t|infobox star}} was rejected a few years back, despite a successful merger of the planetbox begin series into {{t|infobox planet}} at a similar time. I am more than capable (and willing) to have my bot perform the merger, but no one wants it (apparently) despite starbox's many shortcomings. Primefac (talk) 07:38, 5 April 2022 (UTC)

:::If you can make wholesale improvements, then propose the new design at Wikipedia talk:WikiProject Astronomical objects. I can see some issues ahead with that layout, for example in {{t|starbox orbit}}, but with a bit of thought maybe it can be all worked through. Better yet if it doesn't need a bot. I did think that we could do without a bot by making the existing templates become wrappers for a new set of starboxes, but that's probably going to be more trouble in the long run. Lithopsian (talk) 14:17, 5 April 2022 (UTC)

Template-protected edit request on 3 April 2022

{{edit template-protected|Template:Starbox observe|answered=yes}}

This template uses tags which reduces font size in already-reduced infobox text, not allowed per MOS:SMALL. MB 18:42, 3 April 2022 (UTC) MB 18:42, 3 April 2022 (UTC)

:{{done}}. {{to|MB}} there are no "small" tags in this template, but this is a centralized talk page for other templates. There were ten sets of "small" tags in the {{tl|Starbox astrometry}} template, so I removed them. Did you mean that template? or did you mean a different template? P.I. Ellsworth - ed. put'r there 19:34, 3 April 2022 (UTC)

::{{u|Paine Ellsworth}}, actually, I got here from {{tl|Starbox observe}} which has them. MB 19:47, 3 April 2022 (UTC)

:::That's what I thought. These are among several related templates that apparently use tables to splice together. I'd like to hold off changing any others so we can perhaps hear from other involved editors as to whether or not these templates should continue to violate MOS:SMALL, and perhaps why they do in the first place? P.I. Ellsworth - ed. put'r there 19:56, 3 April 2022 (UTC)

:::{{to|RandomCanadian|Lithopsian|AstroMark|ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ|Nrco0e|Assambrew|Praemonitus}} thought to ask for guidance. P.I. Ellsworth - ed. put'r there 20:18, 3 April 2022 (UTC)

:::: I don't think it's going to harm the layout to remove those particular small tags, but you could remove the bold face to balance it out. Praemonitus (talk) 00:29, 4 April 2022 (UTC)

:I don't know why they are like that, but I do note that the majority of them are "symbols" such as Ω for the longitude of the ascending node of an orbit, and as such are bold and less tiny than they might otherwise be. I hadn't really noticed them being small, but my browser is configured with a hard lower limit on font sizes and that was nudging them up slightly. Again, there is a project page that will get much more attention than posting directly here. Lithopsian (talk) 21:16, 3 April 2022 (UTC)

::Comment - I have my browser set so I can fit as much text on the screen as I can comfortably read. I can make out normal infobox (85%) text just fine, but this smaller text is a problem. I think there would need to be a very good reason (which I can't imagine) to ignore MOS:SMALL here. MB 22:22, 3 April 2022 (UTC)

Template-protected edit request on 14 June 2022

{{edit template-protected|Template:Starbox detail|answered=yes}}

The template has a field called metal2_fe, equivalent to metal_fe but for the second component. This is inconsistent with the naming of the other fields, for example rotational_velocity2 or age_myr2. Some articles have used metal_fe2 and no entry appears in the infobox. Some articles may well still be doing this. A field called metal_fe2 should be added, with identical output to metal2_fe. I don't think it needs to be too clever about handling edge cases where both fields are used, but only one line should appear in the infobox even if both fields have values (or maybe two since a visible indication of a mistake will get fixed?). Lithopsian (talk) 15:33, 14 June 2022 (UTC)

  • Support: I agree. This is an easy field for editors to get wrong, so it should allow for consistency. Praemonitus (talk) 15:49, 14 June 2022 (UTC)

:{{done}} Primefac (talk) 10:20, 15 June 2022 (UTC)

::{{ping|Primefac}} unfortunately the 'metal_fe2' entry now shows up when it hasn't been assigned a value. For example, see the infobox for Epsilon Virginis. Praemonitus (talk) 12:39, 15 June 2022 (UTC)

:::{{fixed}}. Primefac (talk) 13:05, 15 June 2022 (UTC)

Precision of the distance fields

In the Gaia era, we are getting parallaxes sufficiently accurate that they stretch the number of significant figures used for the calculated distances in the starbox, or at least the margins of error on the distances. See TRAPPIST-1 for one case where the margin of error is barely 0.01 parsecs. There has been an attempt to hardcode the distances to values calculated from the parallax which I think was inspired by a desire to have three decimal places instead of two. Obviously this would only be applicable to the closest stars. Proxima Centauri may be the most extreme case, where the distance is currently showing as 1.30197 ± 0 pc, which isn't really giving the whole story. I'm not sure why it is getting rounded to straight zero, since I calculate the margin of error as 0.0001 pc and the margin of error on the light years is shown to four decimal places. Does it make sense to nudge the number of significant figures up by about one place in those cases where the parallax accuracy merits it? Lithopsian (talk) 14:35, 20 June 2022 (UTC)

: I don't see any significant space constraints on the field, so I'd say yes. Praemonitus (talk) 16:40, 20 June 2022 (UTC)

Starbox observe for component of unknown visual apparent magnitude

Contrary to the documentation, omitting the visual magnitude in Template:starbox observe does not omit the row in the table, instead leaving a row with the parameter name. For Template:Starbox observe 2s, an example can be seen below for a binary star where the visual magnitude of one component has not been reported:

{{collapse top|From GSC 03549-02811, minus references}}

{{starbox begin|name=Bugged output}}

|- "text-align: center;"

! style="text-align: center; background-color: #FFFFC0;" colspan="2" | Observation data
{{#ifeq:J2000.0|J2000.0 (ICRS)|Epoch J2000.0      Equinox J2000.0 (ICRS)| Epoch J2000.0      Equinox J2000.0}}

|-

| Constellation

| Draco

|- style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Pronunciation

{{!}} {{{pronounce}}}

}}

|-

| colspan="2" style="text-align: center" | A

|-

| {{nowrap|Right ascension}}

| {{RA|19|07|14.0376}}

|-

| {{nowrap|Declination}}

| {{DEC|+49|18|59.091}}

|-

| {{nowrap|Apparent magnitude (V)}}

| 11.41

|-

| colspan="2" style="text-align: center" | B

|-

| {{nowrap|Right ascension}}

| ~{{RA|19|07|14}}

|-

| {{nowrap|Declination}}

| ~{{DEC|+49|18|59}}

|-

| {{nowrap|Apparent magnitude (V)}}

| {{{appmag_v2}}}

{{starbox end}}

{{starbox begin|name=Expected result}}

|- "text-align: center;"

! style="text-align: center; background-color: #FFFFC0;" colspan="2" | Observation data
{{#ifeq:J2000.0|J2000.0 (ICRS)|Epoch J2000.0      Equinox J2000.0 (ICRS)| Epoch J2000.0      Equinox J2000.0}}

|-

| Constellation

| Draco

|- style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Pronunciation

{{!}} {{{pronounce}}}

}}

|-

| colspan="2" style="text-align: center" | A

|-

| {{nowrap|Right ascension}}

| {{RA|19|07|14.0376}}

|-

| {{nowrap|Declination}}

| {{DEC|+49|18|59.091}}

|-

| {{nowrap|Apparent magnitude (V)}}

| 11.41

|-

| colspan="2" style="text-align: center" | B

|-

| {{nowrap|Right ascension}}

| ~{{RA|19|07|14}}

|-

| {{nowrap|Declination}}

| ~{{DEC|+49|18|59}}

{{starbox end}}

{{collapse bottom}} –LaundryPizza03 (d) 09:22, 21 January 2023 (UTC)

:This is only the case for appmag_v1 and appmag_v2 in {{t|Starbox observe 2s}}. It works fine for appmag_v in {{t|Starbox observe}}. Either omitting the appmag_v field or leaving it empty will cause the row not to display at all, as is standard for almost every field in the starbox templates. In {{t|starbox observe 2s}} and {{t|starbox observe 3s}}, leaving the appmag_v fields empty causes the row to display with no value, while omitting it completely causes the row to display as shown in the example. I'll have a go at fixing these. Lithopsian (talk) 13:51, 22 January 2023 (UTC)

::I've edited both {{t|starbox observe 2s}} and {{t|starbox observe 3s}}. They should be working fine now. Shout out if you see any problems. Lithopsian (talk) 14:40, 22 January 2023 (UTC)

Exoplanet encyclopaedia (EPE) not working

The url generated for the EPE field is https://exoplanet.eu/..., but this fails. I think it is because there is no secure server for that site. The same url without https:// seems OK and gets directed to a non-secure page. Lithopsian (talk) 14:06, 23 January 2023 (UTC)

Request for additional parameters to Starbox orbit and detail

I would like to add the following:

For Starbox orbit:

  • Epoch (not periastron epoch)
  • Longitude of perihelion ϖ (I see that researchers don't really use arg of periastron and ascending node separate like in [https://iopscience.iop.org/article/10.3847/2041-8213/aaad06/pdf PSR J1946+2052])
  • Rate of periastron advance \dot \bar \omega (apsidal precession, significant for binary neutron stars)

For Starbox detail:

  • Spin-down period \dot P (spin period derivative commonly expressed in seconds per second; essential for neutron stars)
  • Surface magnetic field B (commonly in Gauss units, useful for stellar remnants such as white dwarfs and neutron stars)
  • Characteristic age (age since formation from supernova, used in neutron stars_

Nrco0e (talk) 05:47, 4 March 2023 (UTC)

Broader redesign of apparent-magnitude and color-index entries

It seems like activity on #How to make the template not overlink has stagnated. The proposed stop-gap work-around at TRAPPIST-1 breaks popups.

I would propose taking a step back and looking at the wider design rather than just the over-linking. Currently there are a bunch of infobox rows that have nearly the same tag term and a parenthetical specific detail. I think it would be cleaner to follow the design of {{tl|Infobox settlement}} and have a single pseudo-header for the tag (with link) and then subsequent rows only need the specific detail. That means there is always exactly one link (with no pre-parsing/wrapper code) and it's also simpler to read and recognize the related set of data.

style="vertical-align:top;"|{{Starbox begin|name=TRAPPIST-1{{br}}(current implementation)}}
style="background-color: #FFFFC0; text-align: center;" colspan="2"| {{#if:||Characteristics}}
{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component}}}

}}

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component1}}}

}}

style="vertical-align:top"

{{#if:Main sequence|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} Main sequence

}}

style="vertical-align:top"

{{#if:M8V|

! style="text-align:left" {{!}} Spectral type

{{!}} M8V

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1}}}

}}

style="vertical-align:top"

{{#if:R|

! style="text-align:left" {{!}} Apparent magnitude (R)

{{!}} {{val|16.466|0.065}}

}}

style="vertical-align:top"

{{#if:I|

! style="text-align:left" {{!}} Apparent magnitude (I)

{{!}} {{val|14.024|0.115}}

}}

style="vertical-align:top"

{{#if:J|

! style="text-align:left" {{!}} Apparent magnitude (J)

{{!}} {{val|11.354|0.022}}

}}

style="vertical-align:top"

{{#if:H|

! style="text-align:left" {{!}} Apparent magnitude (H)

{{!}} {{val|10.718|0.021}}

}}

style="vertical-align:top"

{{#if:K|

! style="text-align:left" {{!}} Apparent magnitude (K)

{{!}} {{val|10.296|0.023}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_7}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_8}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} U−B {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{u-b}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} B−V {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{b-v}}}

}}

style="vertical-align:top"

{{#if:2.332|

! style="text-align:left" {{!}} V−R {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} 2.332

}}

style="vertical-align:top"

{{#if:2.442|

! style="text-align:left" {{!}} R−I {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} 2.442

}}

style="vertical-align:top"

{{#if:0.636|

! style="text-align:left" {{!}} J−H {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} 0.636

}}

style="vertical-align:top"

{{#if:1.058|

! style="text-align:left" {{!}} J−K {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} 1.058

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} {{{type2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Spectral type

{{!}} {{{class2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_2_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_3_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_4_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_5_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_6_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_7_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_8_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} U−B {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{u-b2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} B−V {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{b-v2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} V−R {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{v-r2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} R−I {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{r-i2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} J−H {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{j-h2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} J−K {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{j-k2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}} {{{variable2}}}

}}

{{Starbox end}}

|style="vertical-align:top;"|{{Starbox begin|name=TRAPPIST-1{{br}}(sub-grouping mockup)}}

style="background-color: #FFFFC0; text-align: center;" colspan="2"| {{#if:||Characteristics}}
{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component}}}

}}

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component1}}}

}}

style="vertical-align:top"

{{#if:Main sequence|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} Main sequence

}}

style="vertical-align:top"

{{#if:M8V|

! style="text-align:left" {{!}} Spectral type

{{!}} M8V

}}

style="vertical-align:top"

! style="text-align:left; border-top: 1px solid #a2a9b1;" colspan=2 {{!}} Apparent magnitude

style="vertical-align:top"

{{#if:R|

! style="text-align:left" {{!}} • R

{{!}} {{val|16.466|0.065}}

}}

style="vertical-align:top"

{{#if:I|

! style="text-align:left" {{!}} • I

{{!}} {{val|14.024|0.115}}

}}

style="vertical-align:top"

{{#if:J|

! style="text-align:left" {{!}} • J

{{!}} {{val|11.354|0.022}}

}}

style="vertical-align:top"

{{#if:H|

! style="text-align:left" {{!}} • H

{{!}} {{val|10.718|0.021}}

}}

style="vertical-align:top"

{{#if:K|

! style="text-align:left" {{!}} • K

{{!}} {{val|10.296|0.023}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_7}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_8}}}

}}

style="vertical-align:top"

! style="text-align:left; border-top: 1px solid #a2a9b1;" colspan=2 {{!}} {{engvar |defaultWord=Color index |defaultLang=en-US |en-UK=Colour index |engvar= }}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}}• U−B

{{!}} {{{u-b}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} • B−V

{{!}} {{{b-v}}}

}}

style="vertical-align:top"

{{#if:2.332|

! style="text-align:left" {{!}} • V−R

{{!}} 2.332

}}

style="vertical-align:top"

{{#if:2.442|

! style="text-align:left" {{!}} • R−I

{{!}} 2.442

}}

style="vertical-align:top"

{{#if:0.636|

! style="text-align:left" {{!}} • J−H

{{!}} 0.636

}}

style="vertical-align:top"

{{#if:1.058|

! style="text-align:left" {{!}} • J−K

{{!}} 1.058

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} {{{type2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Spectral type

{{!}} {{{class2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_2_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_3_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_4_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_5_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_6_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_7_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_8_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} U−B {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{u-b2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} B−V {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{b-v2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} V−R {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{v-r2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} R−I {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{r-i2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} J−H {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{j-h2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} J−K {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{j-k2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}} {{{variable2}}}

}}

{{Starbox end}}

DMacks (talk) 20:52, 2 December 2023 (UTC)

:That seems better in some aspects. I've notified the wikiprojects. Jo-Jo Eumerus (talk) 12:20, 5 December 2023 (UTC)

:A big improvement.   ~ Tom.Reding (talkdgaf)  13:18, 5 December 2023 (UTC)

::Generally I like it. Primefac (talk) 13:20, 5 December 2023 (UTC)

: My concern is how it will look if the box only includes, say, the B-V value with one or zero infrared magnitudes. This redesign may result in extra clutter. Praemonitus (talk) 17:14, 7 December 2023 (UTC)

:: Quick mockup of sections if they were single-valued (there's a lot of superfluous wikicode that I only removed part of when copy+pasting from the original example):

style="vertical-align:top;"|{{Starbox begin|name=TRAPPIST-1{{br}}(single-line current implementation)}}
style="background-color: #FFFFC0; text-align: center;" colspan="2"| {{#if:||Characteristics}}
{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component}}}

}}

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component1}}}

}}

style="vertical-align:top"

{{#if:Main sequence|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} Main sequence

}}

style="vertical-align:top"

{{#if:M8V|

! style="text-align:left" {{!}} Spectral type

{{!}} M8V

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1}}}

}}

style="vertical-align:top"

{{#if:R|

! style="text-align:left" {{!}} Apparent magnitude (R)

{{!}} {{val|16.466|0.065}}

}}

style="vertical-align:top"

{{#if:2.332|

! style="text-align:left" {{!}} V−R {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} 2.332

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} {{{type2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Spectral type

{{!}} {{{class2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} V−R {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{v-r2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}} {{{variable2}}}

}}

{{Starbox end}}

|style="vertical-align:top;"|{{Starbox begin|name=TRAPPIST-1{{br}}(single-line sub-grouping mockup)}}

style="background-color: #FFFFC0; text-align: center;" colspan="2"| {{#if:||Characteristics}}
{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component}}}

}}

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component1}}}

}}

style="vertical-align:top"

{{#if:Main sequence|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} Main sequence

}}

style="vertical-align:top"

{{#if:M8V|

! style="text-align:left" {{!}} Spectral type

{{!}} M8V

}}

style="vertical-align:top"

! style="text-align:left; border-top: 1px solid #a2a9b1;" colspan=2 {{!}} Apparent magnitude

style="vertical-align:top"

{{#if:R|

! style="text-align:left" {{!}} • R

{{!}} {{val|16.466|0.065}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_7}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_8}}}

}}

style="vertical-align:top"

! style="text-align:left; border-top: 1px solid #a2a9b1;" colspan=2 {{!}} {{engvar |defaultWord=Color index |defaultLang=en-US |en-UK=Colour index |engvar= }}

style="vertical-align:top"

{{#if:2.332|

! style="text-align:left" {{!}} • V−R

{{!}} 2.332

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:center" colspan="2" {{!}} {{{component2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Evolutionary stage

{{!}} {{{type2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Spectral type

{{!}} {{{class2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_1_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Apparent magnitude ()

{{!}} {{{appmag_2_2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} U−B {{engvar |defaultWord=color index |defaultLang=en-US |en-UK=colour index |engvar= }}

{{!}} {{{u-b2}}}

}}

style="vertical-align:top"

{{#if:|

! style="text-align:left" {{!}} Variable type

{{!}} {{{variable2}}}

}}

{{Starbox end}}

::I was thinking of suggesting to revert to the "current implementation" on the left for single-valued sections (but keeping the horizontal lines), but I'm ok with the proposed style even if it adds a little bit of extra height. Not changing back and forth between styles would add to the consistency between articles, and make values easier to find.   ~ Tom.Reding (talkdgaf)  17:58, 7 December 2023 (UTC)

::: I will likely not be the one to implement it if we decide to go with it, but I feel like having two systems will just be more complicated (and lead to a lot more debug issues if/when things need updating). I will note that there are a ton of templates (mainly government- or settlement-related) that have this sort of "header-plus-bulleted-entry" style with the offset value, so it's not like it will be unique in its layout. Primefac (talk) 19:03, 7 December 2023 (UTC)

::: The vast majority of stars are not going to need that amount of clutter. Note that you could always resort to having two templates: one for detail (e.g. Proxima Centauri) and for not (e.g. Epsilon Tauri). Praemonitus (talk) 22:38, 7 December 2023 (UTC)

:::{{ping|DMacks|Tom.Reding|Praemonitus|Primefac}} So, where are we here? Leave unchanged, go to the new version with sub-grouping always, or sub-grouping only with multiple lines? Jo-Jo Eumerus (talk) 08:24, 17 December 2023 (UTC)

::::I strongly oppose leaving it unchanged, since it creates a problem, and the alternatives solve the problem (without creating any problem as user- or editor-visible:). Among the alternatives, I agree with Tom.Reding's preference for consistency, rather than different layouts and entry-titles depending how many entries there are. I don't see the need for two different templates even if we did have two different modes: it would be easy to have the single template conditionalize itself on the presence of more than one sub-entry of a type. Obviously reducing code duplication is good, and having fewer options is simpler and less error-prone. For Praemonitus's concern, the dividing line and internal header for the set would be omitted altogether if there are no entries (just like infoboxes usually omit entries that have no values). DMacks (talk) 08:55, 17 December 2023 (UTC)

:::::I can get behind the new layout. I don't think the "we can't have a single entry like this" complaint has merit, but I'm not going to fight to have a single template layout even if it means a lack of ease of updating. Primefac (talk) 13:10, 17 December 2023 (UTC)

:::::: We already use the multiple template approach depending on the number of components, so I see no reason not to do the same in this case. I'd argue that most of the magnitude information is of little interest to the vast majority of readers anyway, and this discussion is concerning only a minority of the articles. There's no reason to introduce additional clutter just for data that usually isn't presented and most people don't read or appreciate. Praemonitus (talk) 14:03, 17 December 2023 (UTC)

:::::::Meh, I would probably punt the "sub-grouping always" and "sub-grouping only when multiple lines" to a parameter. Or is it possible to have the template count the number of parameters it has received. Jo-Jo Eumerus (talk) 14:50, 17 December 2023 (UTC)

::::::::If there's no agreement, I like the grouping-parameter idea over forcing whichever one, at least from a user's perspective, and not from an implementation/TE's perspective.   ~ Tom.Reding (talkdgaf)  14:59, 17 December 2023 (UTC)

:::::::: Yes, that's a good suggestion. It raises the question: if we use such a parameter, can it be set to a default value based on the input value of other parameters? Praemonitus (talk) 16:24, 17 December 2023 (UTC)

::::::::{{ml|ParameterCount|main|...}} counts the number of parameters matching a lua pattern. DMacks (talk) 18:17, 17 December 2023 (UTC)

:::::::::'fraid that I don't know how to write up such a template. Jo-Jo Eumerus (talk) 07:25, 23 December 2023 (UTC)

::::::::::I will volunteer to work on it, but astronomy is not my field so I would first like to see either consensus for the desired results or consensus that it doesn't really matter much/instead up to the template-author. DMacks (talk) 12:03, 23 December 2023 (UTC)

:::::::::::I think we can start with a counter version i.e "sub-grouping" when more than one non-empty parameter and "one line" when only one. Jo-Jo Eumerus (talk) 07:32, 27 December 2023 (UTC)

=Poll=

{{ping|DMacks|Tom.Reding|Praemonitus|Primefac}}So that this doesn't get abandoned: Do folks prefer a template with always sub-grouping, two templates one with sub-grouping and one without, or a template with a parameter that tells whether to subgroup, or something else? Jo-Jo Eumerus (talk) 07:17, 9 January 2024 (UTC)

  • First choice to always sub-group, second choice switch based on count, hard no to the parameter option because then we'll just end up arguing at every page which flavour of output should be used. Primefac (talk) 07:26, 9 January 2024 (UTC)
  • First choice to always sub-group, second choice switch based on count.   ~ Tom.Reding (talkdgaf)  12:42, 9 January 2024 (UTC)

Notification: exoplanet.eu dead

The template contains the line:

:{{#if:{{{EPE|}}}|Extrasolar Planets
Encyclopaedia
[http://exoplanet.eu/star.php?st={{{EPE}}} data]

The exoplanet.eu site no longer supports direct links to star systems, and doesn't have unique pages for star systems. The only way to get this link working is to make a default archive.org link, but this is not recommended as the data will be outdated. Recommend removing exoplanets.eu from this template, the site is for planets afterall. -- GreenC 02:41, 23 December 2023 (UTC)

: Support: yes, that has been dead and irrelevant for a while now. Praemonitus (talk) 05:38, 23 December 2023 (UTC)

:If it doesn't work anymore and can't be repaired, it should be removed. Jo-Jo Eumerus (talk) 07:24, 23 December 2023 (UTC)

::{{done}}. Primefac (talk) 07:28, 9 January 2024 (UTC)

Starbox relpos title isn't centered

{{Starbox begin | name=Example }}

{{Starbox relpos

| reference =

| epoch = 2009

| primary = HD 107148 A

| component = HD 107148 B

| angdistsec = 34.9

| posang = 174.7

| projsep = 1,790

}}

{{Starbox end}}

For reasons I can't discern, the title row of the {{tl|Starbox relpos}} template isn't being centered. I also think "Angular distance" should be linked and the "Observed separation (projected)" label should be simplified to "Projected separation". Praemonitus (talk) 18:29, 8 January 2024 (UTC)

:Should be sorted now, I think the main issue was the code being written wrong, but trying to shove everything onto one line probably didn't help either. Primefac (talk) 07:37, 9 January 2024 (UTC)

:: Thank you. Praemonitus (talk) 14:10, 9 January 2024 (UTC)

Title of template:Starbox catalogue

The {{tl|starbox catalogue}} template frequently includes the primary designation of the star (and its variations) as well as a list of other identifiers. For this reason, shouldn't the template be simply titled 'Designations' rather than 'Other designations'? Praemonitus (talk) 15:51, 26 May 2024 (UTC)

Edit request 20 February 2025

{{Edit template-protected|Template:Starbox astrometry|answered=yes}}

I have modified the sandbox to prevent wrapping of unit fields containing a slash character: "km/s" and "mas/yr", using {{t|nowrap}} to include the preceding space (previously  ) and the whole unit. I have tested the results to see that they prevent the wrapping shown at R Canis Majoris, HD 187474, and HD 174881, and that nothing terrible happens on major pages including Sirius and Alpha Centauri. Can you apply this to the main template? Lithopsian (talk) 18:26, 20 February 2025 (UTC)

:@Lithopsian Template:Starbox begin/sandbox has no edits from you? Sohom (talk) 00:04, 24 February 2025 (UTC)

::Ah, much confusion. I edited Template:Starbox astrometry/sandbox for {{t|Starbox astrometry}}. I got redirected to this talk page so my edit request shows as being for this page, and I didn't notice. Lithopsian (talk)

::: {{done}} * Pppery * it has begun... 21:57, 24 February 2025 (UTC)

:Thanks. The starboxes are much tidier now. Lithopsian (talk) 17:23, 25 February 2025 (UTC)

{{edit template-protected|Template:Starbox catalog|answered=yes}}

I have edited the sandbox to drop the hard wrapping at 250px. The designation list will now wrap naturally either at the width required by other sections of the starbox or at the width of the longest unbroken string of characters in the designation list. This has been discussed at Wikipedia talk:WikiProject Astronomical objects#Starbox catalog wrapping with no objection. Lithopsian (talk) 20:25, 9 March 2025 (UTC)

:{{done}} Primefac (talk) 13:10, 11 March 2025 (UTC)

Template-protected edit request on 6 May 2025

{{edit template-protected|Template:Starbox astrometry|answered=yes}}

Please add nowrap clauses around the " mas/yr" units for prop_mo_ra2 and prop_mo_dec2, the same as already in place for prop_mo_ra and prop_mo_dec. These units can otherwise wrap at the "/" character. which can be confusing and disconcerting. I'll offer HD 142 as an example where this happens (for me), but it may depend on your theme and other aspects of your setup such as available fonts and DPI. Lithopsian (talk) 14:10, 6 May 2025 (UTC)

:{{complete2}}. P.I. Ellsworth , ed. put'er there 18:54, 6 May 2025 (UTC)

Edit request 15 May 2025

{{Edit template-protected|Template:Starbox detail|answered=yes}}

In {{t|Starbox detail}}, the metallicity units "[Fe/H]" can wrap at the slash, which is unfortunate. Other units where this could happen contain no-break-spaces. In the sandbox, I have tested no-wrapping this unit. The field caption "Metallicity [Fe/H]" may still wrap at the space. Please promote this version to the live template. Lithopsian (talk) 19:48, 15 May 2025 (UTC)

: {{done}} * Pppery * it has begun... 03:26, 16 May 2025 (UTC)