Template talk:Multiple image
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 |
Removing the image gap[edit]
@Frietjes: I tried to display these images with a gap of only one pixel, but the gap is much larger:
Is it possible to remove the gap between these images? Jarble (talk) 18:03, 1 February 2024 (UTC)
- Jarble, probably not because Template:Multiple image/styles.css specifies a 1px margin, you can only increase the gap, but a css expert would know more. by the way, the default value for
|image_gap=
is 1, so setting it to 1 does nothing. Frietjes (talk) 18:14, 1 February 2024 (UTC)
standard width?[edit]
This template only seems to support widths in px, which is deprecated. Can it scale relative to user default? — kwami (talk) 03:41, 8 February 2024 (UTC)
- Widths in px are not deprecated. That's just a weird thing that FA people decided ;) —TheDJ (talk • contribs) 08:40, 8 February 2024 (UTC)
- They do override user preferences. For those of us who wish to allow readers to adjust the display of articles so that they can read them (if they have poor vision or hi-res monitors), is there a way to do that with this template? — kwami (talk) 08:43, 8 February 2024 (UTC)
- No. not right now. Templates do not have access to the value of the user preferences, and with all the calculations this template does, it will probably not be easy to create the needed scale derived factors and keep the same results. This is one of the known documented downsides of building templates that emulate the core thumbnails. —TheDJ (talk • contribs) 08:45, 8 February 2024 (UTC)
- They do override user preferences. For those of us who wish to allow readers to adjust the display of articles so that they can read them (if they have poor vision or hi-res monitors), is there a way to do that with this template? — kwami (talk) 08:43, 8 February 2024 (UTC)
Aligning images towards the top or the bottom?[edit]
Let's say I have two coats of arms that have the same width (shield size), but one has a crown on top. Can I align the images toward the bottom so that the shields themselves both appear to be the same size, but one has a crown on top 'undisturbed'? I have already set the image width. Worldlydev (talk) 10:12, 26 March 2024 (UTC)
- We first discussed that on-and-off for several years starting 2008 and did not get a workable solution to implement. At least in part, it was due to technical limitations of certain browsers of that era. Interesting to see how many participants in Template talk:Multiple image/Archive 1#Height specifications and horizontal matching and Template talk:Multiple image/Archive 1#Vertical alignment of unequal-height images (take N+1) are still active. I agree it would be useful feature...our sets of chemical images still look poor and their captions amateurish. DMacks (talk) 04:16, 16 May 2024 (UTC)
Dark mode support[edit]
This edit request to Module:Multiple image has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Implement changes in Module:Multiple image/sandbox, which fixes a bug to provide support for dark mode.
(Using nil
for the value parameter causes the property to not be set at all. In the previous form, the div would have background-color
set without a value, causing it to default to transparent
.) Snowmanonahoe (talk · contribs · typos) 15:29, 6 May 2024 (UTC)
- The new edit is included in this request. Snowmanonahoe (talk · contribs · typos) 17:04, 8 May 2024 (UTC)
- Done * Pppery * it has begun... 20:26, 10 May 2024 (UTC)
[edit]
@Frietjes: See the example below: