Template talk:Color box

Documentation
Can somebody move the documentation of this template to a subpage? Thanks in advance. Tinlinkin (talk) 06:13, 7 June 2009 (UTC)
 * ✅ &mdash; Martin (MSGJ · talk) 13:23, 7 June 2009 (UTC)

Request: Don't include color: if parameter 3 not specified
Currently the code uses color:, so if no third parameter is specified, the style tag contains a literal. Would someone please fix that? Thanks!
 * Actually, all three parameters need to be optional in my opinion. This would be done by changing " " to " " and doing the same thing for all three parameters.--Dudemanfellabra (talk) 21:17, 20 August 2009 (UTC)
 * ✅. Of course, you'll still need to put the | to keep the parameters in their correct places, e.g. for . &mdash; Martin (MSGJ · talk) 22:39, 20 August 2009 (UTC)

Cross-reference needed
Please add a "see also" link to the documentation, referring to the template colorbox (note no space) for an alternative version of this template using gray borders instead of black. •••Life of Riley (T–C) 01:33, 11 January 2010 (UTC)
 * ✅ The documentation is not locked; I added in the link as you requested. --Dudemanfellabra (talk) 01:39, 11 January 2010 (UTC)

Two colours in the same box
Hi there. Is it possible to produce a box that is half one colour and half another? I would like to start using this template to help indicate rank for judoka in the article infobox, and sixth to eight degree 'black belts' actually wear a red and white belt. CanadianJudoka (talk) 23:42, 3 September 2012 (UTC)


 * This is for the diagonal split. I'd been trying to find it myself! Frank12 (talk) 18:04, 14 December 2012 (UTC)

Template-protected edit request on 23 May 2015
Please replace the newline after the TfM notice with a space. It's causing strange line breaks in a lot of places (see the infobox of California Institute of Technology. Jc86035 (talk • contribs) Use &#123;&#123;re&#124;Jc86035&#125;&#125; to reply to me 13:46, 23 May 2015 (UTC)
 * Yes check.svg Done -- Red rose64 (talk) 13:50, 23 May 2015 (UTC)

Template-protected edit request on 25 May 2015
Can someone add   to the deletion template? It is causing the boxes in the university and university athletics infoboxes to be a mess. If there is a reason as to why this shouldn't be done, I'd be happy to learn. Thanks.

 Corky  |  Chat?  17:05, 25 May 2015 (UTC)
 * Red information icon with gradient background.svg Not done: The notice is there to attract attention to the TfD discussion, and for good reasons: first, if it weren't there, and the template suddenly changed its behaviour - or even was deleted - people would complain about not being pre-warned, and rightly so. Second, participation at TfD is not as great as it perhaps should be, so the more people that are made aware, the better. If a great number of different people express a convincing opinion - one way or the other - in a short period of time, the discussion will be closed and the notice removed. -- Red rose64 (talk) 18:44, 25 May 2015 (UTC)

Template-protected edit request on 27 May 2015
Please noinclude the TfM notice. There have already been several complaints on the TfM page, it is completely irrelevant to readers, and it has been stuck there for several days now (enough for anyone to notice). The only comments it is attracting to the TfD nomination are complaints calling for its removal. Jc86035 (talk • contribs) Use &#123;&#123;re&#124;Jc86035&#125;&#125; to reply to me 11:38, 27 May 2015 (UTC)
 * Yes check.svg Done - in this case, the bad outweigh the good. If greater participation is sought, perhaps the proposal could be advertised at WP:VP/T; the general readership is uninterested in the merging of three nearly-identical colour box templates. Alakzi (talk) 12:05, 27 May 2015 (UTC)
 * Please revert. If people who actually use the template are denied the opportunity to participate, the only people who discuss it will be one or two of the TfD regulars, and yet another TfD will be rubberstamped through on the nod. -- Red rose64 (talk) 12:10, 27 May 2015 (UTC)
 * People who use the template have had six days to be made aware of the consolidation proposal. The continued defacement of thousands of articles is hard to justify, especially where it concerns a template so trivial in nature. Your portrayal of TfD "regulars" as the proverbial hive mind is uncalled for. Besides, there has been vigorous opposition to (part of) the proposal; your concern appears to be unfounded. Alakzi (talk) 12:27, 27 May 2015 (UTC)

Template-protected edit request on 9 August 2015
Revised code incorporating  parameter, per WP:Templates for discussion/Log/2015 July 27: Useddenim (talk) 20:57, 9 August 2015 (UTC)
 * Yes check.svg Done I made the correction. Thanks Useddenim for showing the clear consensus in the request, hope I made the correct change. Qed237&#160;(talk) 21:11, 9 August 2015 (UTC)
 * May I suggest changing the template documentation, perhaps also including the merge. Qed237&#160;(talk) 21:13, 9 August 2015 (UTC)

'Maroon' works and 'maroon' does not?
I notice one color box which had "maroon" displayed white, but it worked when I set it to "Maroon" with a capitalized M... WhisperToMe (talk) 13:58, 4 January 2017 (UTC)
 * Looks like it works just fine. Are you sure you didn't just mis-type marron by mistake? Useddenim (talk) 16:35, 4 January 2017 (UTC)
 * I think I figured it out. There was an extra space which caused the color box to malfunction. See this, Compare with this, and now see Pharr-San Juan-Alamo High School WhisperToMe (talk) 12:53, 5 January 2017 (UTC)

Diagonal split color box
Discussion at Wikipedia_talk:Manual_of_Style/Accessibility AngusWOOF  ( bark  •  sniff ) 21:51, 17 September 2019 (UTC)

Border width
Is there any way to change the width of the border? Vesuvio14 (talk) 19:00, 20 June 2022 (UTC)


 * No worries, resolved. Vesuvio14 (talk) 10:02, 21 June 2022 (UTC)

Edit request to complete TfD nomination
Template:Color box has been listed at Templates for discussion (nomination), but it was protected, so it could not be tagged. Please add:

to the top of the page to complete the nomination. Thank you. Qwerty284651 (talk) 01:44, 6 October 2022 (UTC)
 * ✅.  P.I. Ellsworth &thinsp;, ed.  put'r there 04:26, 6 October 2022 (UTC)
 * Nominated the template with the wrong criteria. My bad. Qwerty284651 (talk) 14:58, 6 October 2022 (UTC)
 * @Paine Ellsworth remove this nom from your noinclude list. Qwerty284651 (talk) 15:12, 6 October 2022 (UTC)
 * ✅ I have removed the nomination. Terasail [✉️] 18:12, 6 October 2022 (UTC)
 * @Terasail, thanks, mate. Qwerty284651 (talk) 18:14, 6 October 2022 (UTC)

"Template:Color box inline" listed at Redirects for discussion
An editor has identified a potential problem with the redirect Template:Color box inline and has thus listed it for discussion. This discussion will occur at Redirects for discussion/Log/2022 October 6 until a consensus is reached, and readers of this page are welcome to contribute to the discussion. Qwerty284651 (talk) 15:06, 6 October 2022 (UTC)

Edit request 15 April 2024
Add CSS class mw-no-invert to avoid inversion by the dark mode gadget

Diff: Andumé (talk) 04:53, 15 April 2024 (UTC)
 * ✅ * Pppery * <sub style="color:#800000">it has begun... 14:26, 15 April 2024 (UTC)