🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Module_talk:Multiple_image/sandbox
Jump to content

Template talk:Multiple image

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


image_size and other width statements

[edit]

Shouldn't this template be fixed to show the pixel size is deprecated at Wikipedia? We no longer allow things like 200px as a static size and now use the equivalent upright=.8. We need an overhaul to allow the upright statement and then correct the document accordingly. Fyunck(click) (talk) 18:29, 1 May 2025 (UTC)[reply]

Caption overwriting image array on mobile

[edit]

Please see this talk page thread for the original issue. I am moving the discussion here. There appears to be a problem with either {{infobox}} or {{multiple image}}. See this test case (mobile link) for a simplified version. The caption is rendered on top of the images in mobile, as in this screen shot. If I expand the rendered code and add a {{clear}} between the div block for the images and the div block for the caption, it solves the problem. See this version of my sandbox in mobile. – Jonesey95 (talk) 19:47, 25 July 2025 (UTC)[reply]

It's because the thumb class becomes right floating at those sizes.. Seems there is an error somewhere in the MediaWiki core definitions, because tnone should prevent that. Regardless, it is probably better to reimplement the template with it's own css and use flexblox, as .thumb is no longer supported to begin with. The clear would be a working temporary work around. —TheDJ (talkcontribs) 14:03, 27 July 2025 (UTC)[reply]
I removed the thumb class from the sandbox, and it doesn't have the issue. Will that cause any issues? It looks like tmulti and one of tright, tleft, or tnone is assigned in each case, if I am reading the code correctly. – Jonesey95 (talk) 14:24, 27 July 2025 (UTC)[reply]
I don't think that is going to work. I can see some differences on Desktop in that case. This really seems to be a bug in Minerva (and it has been there for a LONG time. I was going to bypass it with templatestyles, but i need to target the sibling of tmulti and with the current wrapping, I don't think that's possible. hmm. —TheDJ (talkcontribs) 19:29, 27 July 2025 (UTC)[reply]
I worked around it in the article by using |footer= in this template instead of |caption= in {{infobox}}. I am not seeing differences in the desktop version of /testcases, but I see many differences in the mobile version. It leans me toward agreeing with you that something is wrong with Minerva. – Jonesey95 (talk) 23:57, 27 July 2025 (UTC)[reply]
I've filed this as phab:T400582TheDJ (talkcontribs) 19:54, 28 July 2025 (UTC)[reply]

Adapting to non-WMF wikis

[edit]

Any good fellow willing to document how to adapt the CSS (and the module too, I suspect) for third party wikis? I can't for the life of me get the backgrounds working, and alignment is ignored too. I suppose this all depends on some of those mysterious overrides used on WMF wikis or some CSS I can't find. Tactica (talk) 02:23, 19 October 2025 (UTC)[reply]

Request: enhance to support image cropping

[edit]

Can someone enhance Template:Multiple image to support image cropping? This request was made by another editor in May 2023 (now in the Talk archives), but got no reply. So I'm repeating the request (because I need it). The template Template:Easy CSS image crop only supports a single image. I can look into doing the enhancement if no one else wants to. Noleander (talk) 20:16, 9 November 2025 (UTC)[reply]

Its generally not a good idea to cram too much functionality in one and the same template. Its a maintenance nightmare. I would suggest simple uploading a separate cropped image. —TheDJ (talkcontribs) 07:42, 11 November 2025 (UTC)[reply]
[edit]

How do I change the text size for captions and footers? ~2025-35738-78 (talk) 08:48, 24 November 2025 (UTC)[reply]