Jump to content

Template talk:Gallery

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Gallery/sandbox)

Can I Use the Pie Chart Template inside of this Template?

[edit]

I am trying to make 2 pie charts be right next to eachother, they are the same size. Can i use Template:Pie chart inside of the gallery template? 😎😎PaulGamerBoy360😎😎 (talk) 15:54, 14 December 2023 (UTC)[reply]

I don't think so. You might have luck with {{Image frame}}. – Jonesey95 (talk) 19:31, 14 December 2023 (UTC)[reply]
[edit]

Last year the <gallery> tag dropped large margin at the left side, and make use of px unit instead to produce more compact view. So this template need to update to follow on. In this template I made changes for these three classes: mod-gallery-default, title, footer. You can see the changes here, and you can also see the effects on c:Template:Gallery. -- Great Brightstar (talk) 16:37, 10 June 2024 (UTC)[reply]

 Done * Pppery * it has begun... 02:03, 9 July 2024 (UTC)[reply]

Too white on dark mode. Can we get rid of white backgrounds?

[edit]

The template uses a white background by default. This is too bright on dark mode. Removing this from the CSS fixes the issue:

.mod-gallery .whitebg .thumb {
background: #fff !important;
}

The default background color for a gallery is the same light grey as an infobox for the standard light theme. Rjjiii (talk) 03:55, 26 July 2024 (UTC)[reply]

[edit]

I tried testing it and couldn't quite tell, but I think the footer size may be in violation of MOS:SMALL. I can't seem to see the source code for the template to see if it is set at 85% or above, but to my eye it appears that it might be below that required threshold. Can I get confirmation whether it is indeed a violation or if I'm just seeing things? And of course, if it is indeed too small, then please adjust it. QuietHere (talk | contributions) 07:16, 26 July 2024 (UTC)[reply]

You were correct. The footer text was at 80%. I have increased it to 85% per MOS:SMALLFONT. – Jonesey95 (talk) 19:12, 26 July 2024 (UTC)[reply]