Template talk:Overlay

(Redirected from Template talk:Overlay/testcases)
Latest comment: 1 year ago by OlliverWithDoubleL in topic A bug on mobile dark mode

To do list

edit

Bugs

edit
  • pop up tip no longer (if it ever did) works on linked overlay images on pointer dvice overs

Overlay on Commons

edit

Fantastic work on the template! Excellent stuff. However, there is already a template on Wikimedia Commons with the name "overlay", which is used for overlaying images on Google Earth. Is there a way the name of this template could be altered so that we could port it for use on Commons also? For example, I really like what you've done with my Brisbane River image, and would like to include the overlay on that image's info page. Any suggestions? Cheers - Gobeirne (talk) 19:57, 11 January 2009 (UTC)Reply

Many thanks for the feedback!
Does the name have to be the same in both Wikipedia and Commons? Could it be called, for example, Overlay legend, or Legend overlay? (I note that Legend is already taken.) I have put in the redirects here in Wikipedia, just now.
If you want me to do the port, then it might be a 2 to 4 months before I get to it. I am just not getting much wikitime at the moment. Note that {{colevel}} and its subpages will also need to be ported.
Note that I intend to up the number of legend overlays available from 30 to 50, and add more to Brisbane, see Talk:Brisbane#Locations of facilities and features, but when I will get do this I do not really know.
Peet Ern (talk) 05:26, 13 January 2009 (UTC)Reply
I have started to move it to Commons as Overlay legend. Peet Ern (talk) 01:29, 14 January 2009 (UTC)   Done Peet Ern (talk) 03:29, 15 January 2009 (UTC)Reply

margin

edit

A regular image has a margin between it and article text. I don't know this template well enough to edit it, but it would be nice if it had a margin-defined space around it. See Rorschach test for an example of how the article text butts up against the overlay template. — Reinyday, —Preceding undated comment added 18:25, August 24, 2009‎

Can we please have this. See GNOME for another example. --85.76.42.69 (talk) 13:00, 13 June 2014 (UTC)Reply

fixed. Frietjes (talk) 14:18, 7 October 2016 (UTC)Reply

Full minimal skeleton

edit

The full minimal skeleton is not full (at least not anymore). Without "legend1start =", the template generates an error: "Template:Colevel/item set: No items or first or last item out of bounds". Vincent Lextrait (talk) 14:23, 30 December 2012 (UTC)Reply

Is this now working OK? I would guess that it is related to one of the errors and fixes referred to in the section below. — Richardguk (talk) 04:59, 31 December 2012 (UTC)Reply
Yes, it is now working fine, I have removed the now unnecessary line in the article I was trying to fix. Thanks. Vincent Lextrait (talk) 14:06, 31 December 2012 (UTC)Reply

Bug in legend display

edit

The legends do not display correctly anymore, the number "10" appears everywhere. Vincent Lextrait (talk) 14:30, 30 December 2012 (UTC)Reply

Thanks to whoever fixed it! Vincent Lextrait (talk) 03:08, 31 December 2012 (UTC)Reply
This was caused by recent errors in the subtemplates {{Colevel/process item}}, {{Colevel/display item}} and {{Colevel/find first}}; discussed at Wikipedia:Village pump (technical): #Template:Overlay and #Template event list. Hopefully everything is now working as expected. — Richardguk (talk) 04:57, 31 December 2012 (UTC)Reply

White on yellow

edit

I am unable to read the white-on-yellow labels. (It is possible that this might be due to my display settings.) The labels are used on an image in the article "Dota 2", which is currently at FAC.

Can the white-on-yellow text be changed to another colour, perhaps grey or black on yellow? Thanks. Axl ¤ [Talk] 11:06, 26 June 2014 (UTC)Reply

I second this. DARTHBOTTO talkcont 18:02, 26 June 2014 (UTC)Reply
fixed. Frietjes (talk) 14:09, 7 October 2016 (UTC)Reply

A bug on mobile dark mode

edit

There is an unfortunate bug on the wikipedia mobile app. Here's what's happening: if one uses dark mode on the mobile app, the number overlays show up as ugly black rectangles superimposed over the background image, because their empty space is rendered as black instead of transparent. I believe this is because dark mode renders images' empty space as black by default, in order to fit in with the black background of the page (although why it doesn't just render them as transparent is beyond me, but then again that might not be what's happening). Is there any way to force transparency of the labels' empty space?

I used this template to add numbering to the chemical structure diagrams on Asymmetric carbon, look at that page on mobile dark mode to see the issue. OlliverWithDoubleL (talk) 19:46, 26 October 2023 (UTC)Reply