Template talk:Infobox solar eclipse

(Redirected from Template talk:Infobox Solar eclipse)
Latest comment: 1 month ago by Jfhutson in topic Add previous and next params

Changes to template edit

I suggest that the following changes be made to the template:

  • Change "General eclipse" to "Partial eclipse". General eclipse is not the correct terminology here.
  • Add the Saros series number, the eclipse number within the Saros series and the total number of eclipses in that Saros series. For example, this information for the total solar eclipse of 2008 August 1 can appear as Saros: 126 (47th of 72)

-- B.D.Mills  (T, C) 00:02, 17 August 2008 (UTC) I have made these changes. -- B.D.Mills  (T, C) 01:14, 17 August 2008 (UTC)Reply

Date displayed in italics edit

Why is the date displayed in italics? I don't know of any other area of Wikipedia where dates are displayed in italics. I suggest that we change it to standard font style. nagualdesign 22:25, 30 August 2017 (UTC)Reply

Infobox generates dead link edit

at Solar eclipse of August 2, 2027 infobox generates dead link to https://eclipse.gsfc.nasa.gov/SEcat5/SE2021-2120.html Mateusz Konieczny (talk) 12:54, 25 April 2019 (UTC)Reply

@Mike Peel and Tomruen: this template appears to be malfunctioning. Probably because of changes to the NASA website. Can you help fix it?
@Coffeeandcrumbs: This template looks nothing like it did when I was editing it, sorry! I think you need @Frietjes: to fix Module:Solar eclipse. Thanks. Mike Peel (talk) 12:42, 3 July 2019 (UTC)Reply
probably fixed now, but ymmv, so let me know if I broke something. Frietjes (talk) 12:56, 3 July 2019 (UTC)Reply
@Mateusz Konieczny, Mike Peel, Tomruen, and Coffeeandcrumbs: so I fixed it by changing the link to the SEsearchmap.php page but we could just as easily link to SEdata.php page which includes a link back to the SEsearchmap. which link should we use as the main link (or is there another one that's better)? I am inclined to change it to the more data-rich SEdata.php page but I really don't care that much. Frietjes (talk) 13:04, 3 July 2019 (UTC)Reply
The latter appears to contain more relevant info for referencing. But I believe you linked to the wrong page. I think you meant https://eclipse.gsfc.nasa.gov/SEsearch/SEdata.php?Ecl=+20190702 which is what I think is preferable for sourcing reasons. --- Coffeeandcrumbs 13:09, 3 July 2019 (UTC)Reply
Sorry, I see my error now. I am talking about the eclipse yesterday but OP was talking about a future eclipse. I agree with you. --- Coffeeandcrumbs 13:13, 3 July 2019 (UTC)Reply
okay, done. I can easily change it back if there are any problems. Frietjes (talk) 13:52, 3 July 2019 (UTC)Reply

Image not displaying edit

Hello. Any idea why articles such as this displays the image from Wikidata, but not the article on the recent eclipse? Rehman 09:09, 3 January 2020 (UTC)Reply

Images edit

I intend to add or change an image for the Solar eclipse of April 20, 2023 and Solar eclipse of March 7, 1970, but I cannot do how they manage to do it. I would like some help in this one. MarioJump83 (talk) 04:15, 21 April 2023 (UTC)Reply

Answered at Wikipedia:Help_desk/Archives/2023_April_21#Adding_or_changing_an_image_in_solar_eclipse_infobox. PrimeHunter (talk) 13:40, 21 April 2023 (UTC)Reply
It's odd to have an ignored image parameter and not say where the data is located so I have added mention of it.[1] PrimeHunter (talk) 22:50, 21 April 2023 (UTC)Reply

Image param implemented improperly? edit

The image parameter seems to be incorrectly implemented in this template. Every infobox I've ever seen has wanted input like |image = File:Whatever.jpg or |image= Whatever.jpg. This template seems to be incapable of parsing this, and instead just embeds whatever text you supply in the place where an image is supposed to go. The only way around it, currently, seems to be |image= [[File:Whatever.jpg]] -- which causes its own problems. That is, if the image is too big to be displayed at 100% in the infobox, if the viewer has selected a different thumb size than the infobox's default width, and of course if you |thumb| it will display a thumbnail frame in the infobox. Is there any way of fixing this? jp×g 03:47, 18 October 2023 (UTC)Reply

I would have fixed this myself, but it seems to be doing this in a Lua module, so it is beyond my fathomings, and I must humbly ping @Frietjes:. jp×g 04:22, 18 October 2023 (UTC)Reply
Note that this param is used very infrequently (approx 20-30 times out of all 500some uses of the template). It might be preferable to just make the module wrap the thing up in whatever image syntax and just go through and manually fix them all (I would be fine with doing this). jp×g 04:28, 18 October 2023 (UTC)Reply
User:JPxG, I added Module:InfoboxImage. Frietjes (talk) 17:41, 20 October 2023 (UTC)Reply
Beautiful. I'll go through the transclusions and make sure everything works fine. @Frietjes: is this modification somewhat universal, i.e. I can caveman-style plug-and-chug it into any infobox templates I see that require this same fix? Or must it be applied by a Lua artisan? jp×g 00:41, 21 October 2023 (UTC)Reply
Update: this seems to not like .gifs. For example, [2] just has the text "File:SolarEclipse 1133-08-02.gif" where the image should go. Strange but true. jp×g 01:04, 21 October 2023 (UTC)Reply
Oh, it is not a .gif issue -- it's an issue with this being in |map= and not |image=. Hmm. jp×g 01:07, 21 October 2023 (UTC)Reply
User:JPxG, most of that change is universal. the "ifnotempty" macro/function may or may not be implemented. I have added the same filter to |map= as well. Frietjes (talk) 20:35, 23 October 2023 (UTC)Reply

Add previous and next params edit

What about adding params for previous and next eclipse? It could also be interesting in total eclipses to link to the previous and next total eclipses. -- JFHutson (talk) 17:35, 8 April 2024 (UTC)Reply