Template talk:POTD default

Sorry
Accidently screwed up the template by pasting a modified code into the wiki entry. It was for use with another site. All apologies. ~Rodney — Preceding unsigned comment added by 99.16.68.198 (talk • contribs)

Template-protected edit request on 6 May 2020
Please change the line beginning  to the following:

|

This will allow the display of POTDs with dual images, such as May 6, 2020. Further discussion relating to this request can be found at WT:POTD. &mdash;  RAVEN PVFF  &middot; talk &middot; 17:31, 6 May 2020 (UTC)
 * , the "if" for parameter size looks like a bug: . —⁠andrybak (talk) 18:42, 6 May 2020 (UTC)
 * Yes, let's have a sandbox and some testcases please before we start tinkering with code on the main page &mdash; Martin (MSGJ · talk) 22:05, 6 May 2020 (UTC)
 * This is already in the sandbox. * Pppery * it has begun... 22:12, 6 May 2020 (UTC)
 * I have matched the size handling for the two images in the sandbox. I am concerned that support for alttext seems to have gone away in the sandbox, silently replaced by alt1. Is that intentional? What happens to existing POTDs that use alttext? – Jonesey95 (talk) 23:42, 6 May 2020 (UTC)
 * This isn't actually on the Main Page; that's substed from POTD row. I've readded alttext to the above request. &mdash;  RAVEN PVFF  &middot; talk &middot; 02:06, 7 May 2020 (UTC)
 * POTD is currently unprotected. Even if it's used to generate templates for the main page rather than going on the main page itself, shouldn't it still have some level above nothing? &#123;{u&#124; Sdkb  }&#125;  talk 03:09, 7 May 2020 (UTC)
 * Assuming that you're talking about POTD row, protection wouldn't be unwelcome, but it's worth noting that the "protected version" (e.g. Template:POTD protected/YYYY-MM-DD) is created by  26 hours before the scheduled date and only 2 hours before protection is automatically applied, so this gives us time to catch any vandalism or otherwise unexpected output that happens to sneak through. In any case, I don't believe that there's ever been any such issues to date. &mdash;  RAVEN PVFF  &middot; talk &middot; 18:26, 7 May 2020 (UTC)
 * , please edit the sandbox with your proposed change so that template editors can see whether it is working on the testcases page and can do a proper diff with the live template. You might want to add more test cases to show that all of these new parameters really work. – Jonesey95 (talk) 03:36, 7 May 2020 (UTC)
 * The sandbox had already been edited with the proposed change beforehand. I've added another testcase to verify image1, image2, alt1, alt2, imagelink1 and imagelink2. The alt parameters can be checked by hovering over the images to bring up the tooltip, whereas the imagelink parameters can be checked by clicking on the images themselves. I can't find a suitable previous POTD to adapt to test out thumbtime1 and thumbtime2, but I may add an ad hoc testcase for that later. &mdash;  RAVEN PVFF  &middot; talk &middot; 18:26, 7 May 2020 (UTC)
 * Please can you address Jonesey's query on the removed alttext parameter? &mdash; Martin (MSGJ · talk) 20:00, 10 May 2020 (UTC)
 * Sorry, I've re-added alttext to the sandbox. The parameter should work as before. &mdash;  RAVEN PVFF  &middot; talk &middot; 11:19, 11 May 2020 (UTC)
 * this is probably ready to go now, unless you have other concerns &mdash; Martin (MSGJ · talk) 12:34, 11 May 2020 (UTC)
 * ✅. I have updated the live template based on the sandbox code. I am wary that this change will cause Linter bogus image options errors. If I see some that appear to be caused by this change, I'll come back here to see if I can fix them. – Jonesey95 (talk) 18:10, 11 May 2020 (UTC)

Tall images broken
It appears that yes is broken at the moment:. I've stumbled upon this while investigating for. —⁠andrybak (talk) 15:42, 27 May 2020 (UTC)
 * in Special:Diff/988982681. —⁠andrybak (talk) 11:05, 16 November 2020 (UTC)