Template talk:Quote box
This is the talk page for discussing improvements to the Quote box template. |
|
Archives: 1, 2, 3Auto-archiving period: 28 days |
Template:Quote box 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. |
Unchanged background color in dark mode for captions of embedded Wikimedia Commons files
[edit]Switching to dark mode changes the specified background colour for the quote-box text (parameter: bgcolor) to black, but that for the Wikimedia file-caption text (parameter: background-color) remains unaffected. Example: https://en.wikipedia.org/wiki/Wichita_Lineman#Background_and_content Birdman euston (talk) 02:49, 25 September 2024 (UTC)
- On closer examination, the specified background colour of the file-caption text does change in dark mode, but to white not black. Birdman euston (talk) 02:58, 25 September 2024 (UTC)
- The background color of the file caption is explicitly set to "background-color:AliceBlue;" in a div tag in that article. I removed it, and dark mode works fine. I don't think this has anything to do with the quote box template. – Jonesey95 (talk) 19:22, 25 September 2024 (UTC)
- Thanks - it's a Wikimedia file causing the problem, to be sure. Since editors often embed them in Wikipedia quote boxes, it's worth noting here that Wikimedia files' non-default background colours are apparently not (fully) compatible with Wikipedia's dark mode at present. Birdman euston (talk) 06:02, 26 September 2024 (UTC)
- I am aware of problems with transparent SVG files, but I don't see anything wrong with the file on that page in dark mode, now that the custom caption background color has been removed. – Jonesey95 (talk) 14:13, 26 September 2024 (UTC)
- Thanks - it's a Wikimedia file causing the problem, to be sure. Since editors often embed them in Wikipedia quote boxes, it's worth noting here that Wikimedia files' non-default background colours are apparently not (fully) compatible with Wikipedia's dark mode at present. Birdman euston (talk) 06:02, 26 September 2024 (UTC)
- The background color of the file caption is explicitly set to "background-color:AliceBlue;" in a div tag in that article. I removed it, and dark mode works fine. I don't think this has anything to do with the quote box template. – Jonesey95 (talk) 19:22, 25 September 2024 (UTC)
Font size is too small
[edit]The font size is terrible, I have to squint my eyes. It is 88%, which is on the brink of the allowed size in MOS:SMALLFONT, 85%. Quote text is not secondary text in Wikipedia, readers will absolutely want to read it in full, so there is no valid reason to make it this small.
I suggest to increase to at least 13px (~93%) on Vector. Jack who built the house (talk) 13:13, 10 November 2024 (UTC)
- I agree with using a higher font-size percentage, but when I tried to take the font size to 100% for accessibility, the pitchforks came out and I reverted the change. Maybe 93% would have more support. – Jonesey95 (talk) 14:08, 10 November 2024 (UTC)
- I thought this had been fixed but I guess I just haven't encountered a quote box template in a while.
- Where's a better, larger place to have this discussion, if the obscurity of this talk page was one of the main objections last time around? Wikipedia talk:Manual of Style/Text formatting? Wikipedia talk:Manual of Style/Accessibility? Belbury (talk) 11:24, 6 December 2024 (UTC)
- The best place is here, with notices at other talk pages. – Jonesey95 (talk) 14:39, 6 December 2024 (UTC)
Template-protected edit request on 9 December 2024
[edit]This edit request to Template:Quote box/styles.css has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
− | .quotebox cite { | + | .quotebox cite { |
This fixes {{reflist}}. There was an extra newline between the backlink and the citation.
@TheDJ: I don't see why display:block
was added. The problem affects the bottom half list items in the boxes in WP:REPEATCITATION. 172.97.141.219 (talk) 08:28, 9 December 2024 (UTC)
- What do you mean, the template realist doesn't use quotebox ? —TheDJ (talk • contribs) 09:16, 9 December 2024 (UTC)
- Ah I see what you mean now. The page WP:REPEATCITATION should not be using template quote box. It is not making a quote, it is giving an example, and usage of the quote box template in way for which it was not designed, is likely to create problems like this. —TheDJ (talk • contribs) 09:19, 9 December 2024 (UTC)
- I chose to use {{qb}} over {{qf}} to avoid adding padding that wasn't there. {{box}} doesn't work in dark mode, whose fixing was my goal. What should we use on WP:Citation overkill, WP:Citation underkill and WP:Contort the citations?
- If
in way for which it was not designed
, why iscite
in the templatestyles? The previous wikitext used<blockquote>
with night-mode-unfriendly inline CSS, so the previous author probably somewhat considered it to be a "quote". 172.97.141.219 (talk) 09:22, 9 December 2024 (UTC)
- I mean
{{qb|1=<ref>{{citation|title=test}}</ref>{{reflist}}}}
should have "test" on the same line. 172.97.141.219 (talk) 09:20, 9 December 2024 (UTC)- Please do not misuse the quote box template. I have fixed the dark mode display on WP:REPEATCITATION. You might want to read more about how to fix dark mode problems at mw:Help:Lint_errors/night-mode-unaware-background-color and similar pages. You can ask for help at WP:VPT. – Jonesey95 (talk) 14:16, 9 December 2024 (UTC)
- I saw your change and propagated it to WP:Citation underkill and WP:Contort the citations.
- I read the suggested mw:Help:Lint_errors/night-mode-unaware-background-color. It seems to be telling me to add
color:black;
. However, the problematic text was already black, and your good solution was to removebackground:white;
. Which part of that page, that when read, applied to WP:REPEATCITATION? - I thought deduplicating styles from 3 pages using {{qb}} was a good idea, but since 2 people said this is misuse, I went over to WP:VPT to ask for a template. 172.97.141.219 (talk) 15:00, 9 December 2024 (UTC)
- Please do not misuse the quote box template. I have fixed the dark mode display on WP:REPEATCITATION. You might want to read more about how to fix dark mode problems at mw:Help:Lint_errors/night-mode-unaware-background-color and similar pages. You can ask for help at WP:VPT. – Jonesey95 (talk) 14:16, 9 December 2024 (UTC)
- Ah I see what you mean now. The page WP:REPEATCITATION should not be using template quote box. It is not making a quote, it is giving an example, and usage of the quote box template in way for which it was not designed, is likely to create problems like this. —TheDJ (talk • contribs) 09:19, 9 December 2024 (UTC)