Template:Multiple image is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use ((edit template-protected)) to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Multiple image template. |
|
Archives: Index, 1, 2, 3Auto-archiving period: 90 days |
The template has a border correction for using it inside infoboxes, but it doens't adjust the font size appropriately. Namely, it reduces the font size (for the captions) that has been already reduced by the surrounding infobox, which results in vioulation of MOS:SMALLTEXT. For example, see Baltimore, where the current default skin produces 94% (.thumbcaption
) × 94% (div.thumbinner
) × 88% (.infobox
) = 78% font size (10.886px), well below the acceptable 85% lower limit (11.9px). As far as can I see from the documentation, there's currently no option to correct this manually, but in principle it would be nice to implement this correction automatically (either by using something like |infobox=yes
to correct both the border and the font size, or by using the font size relative to the document instead of the parent). — Mikhail Ryazanov (talk) 21:52, 5 December 2023 (UTC)
<div style="font-size:110%">...</div>
. But this search shows 2800 calls with border = infobox
: hastemplate:"Multiple image" insource:"border = infobox". That's impractical for a wrapper in every article. I suggest the module automatically adjusts the size for border = infobox
. There might be an optional override to not adjust the size. PrimeHunter (talk) 01:45, 11 December 2023 (UTC)@Frietjes: Could Module:Multiple image be modified in order to correct this? Jarble (talk) 17:05, 22 December 2023 (UTC)
@Frietjes, PrimeHunter, and Mikhail Ryazanov: But now the font size is too large for when the template is used in collage mode (ex: New York City). Chronus (talk) 02:37, 5 January 2024 (UTC)
addClass('thumbcaption')
(here) and thumbinner
(here), the latter of which also adds unnecessary padding; then all the captions should use the regular infobox font. Hopefully, these classes are not needed for anything besides messing up the appearance. — Mikhail Ryazanov (talk) 03:25, 5 January 2024 (UTC)|border=infobox
. is that better? Frietjes (talk) 17:02, 8 January 2024 (UTC)
|border=infobox
" is exactly what's needed. But for some reason the captions are still wrapped in <div class="thumbcaption text-align-center">
instead of <div class="text-align-center">
, even though this shouldn't add the thumbcaption
class for 'infobox'
. Any ideas? — Mikhail Ryazanov (talk) 22:26, 8 January 2024 (UTC)
If direction is vertical, then image_gap should be applied to margin-bottom, not margin-right. Probably needs new if test and css adjustment just above line 265. Mathglot (talk) 09:38, 8 December 2023 (UTC)
@Frietjes: I tried to align an image footer to the left inside a frame, but it appears to be aligned to the center:
Is it possible to align this footer to the left side of the frame? Jarble (talk) 19:38, 4 January 2024 (UTC)
Border of template can also be removed using the following shortcode:
|border = none
Add to description, — Andrew Pertsev (talk) 12:35, 7 January 2024 (UTC)
How to center two image with different widths that are positioned vertically to each other? It's not enough with align parameter for now. Natsuikomin (talk) 08:55, 10 January 2024 (UTC)
|align=center
, as above. --Redrose64 🌹 (talk) 21:31, 10 January 2024 (UTC)As translatable SVG files come around, it would be great if this module can support different languages of a SVG file. Tipically you can call a file with a language switch with [[File:image.svg|thumb|lang=es]] (the svg file is in english but with spanish data stored and can be called using this "lang=" code). The module don't support any code more from "image.svg" so I can't call the desired language version. I don't know how to start to get this. Thanks Manlleus (talk) 01:12, 18 January 2024 (UTC)
@Frietjes: I wish we had an option to include cropped images in groups of multiple images. Could this feature be implemented using ((CSS image crop))? Jarble (talk) 17:54, 23 January 2024 (UTC)
@Frietjes: According to its documentation, this template allows a maximum of 10 images. Isn't it possible to include more than 10 images in this template, as shown here?
Jarble (talk) 21:34, 30 January 2024 (UTC)