Template talk:Color

(Redirected from Template talk:Color/doc)
Latest comment: 1 day ago by 70.22.1.45 in topic dark mode problem/alternative

Interwiki

edit

Hi! Could an admin add Polish interwiki to the template -> pl:Szablon:Kolor, please. Thanks Electron (talk) 15:28, 18 November 2011 (UTC)Reply

  Done by JAn Dudík. —LLarson (said & done) 15:01, 15 August 2016 (UTC)Reply
Thanks, better late than never ;) Electron (talk) 21:05, 16 August 2016 (UTC)Reply

Redirects

edit

I notice the documentation here is missing a list of redirects, as present elsewhere.

In particular, I would like to ask for the documentation to note that Template: Colour is redirected here. In other words, that Wikipedia is fine with editors using their preferred spelling of this word when invoking templates. ~Without having to experiment on their own, as I had to. Thanks, ~~ — Preceding unsigned comment added by CapnZapp (talkcontribs) 06:14, 25 January 2014 (UTC)Reply

  Done per CapnZapp’s request. —LLarson (said & done) 15:01, 15 August 2016 (UTC)Reply
  Brohoof! CapnZapp (talk) 20:57, 15 August 2016 (UTC)Reply

Urgent: Please fix this template for printed content Template:Color/styles.css.

edit

Firstly, apologies for writing in English if this is not your first language (this is an automated message).

This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is important this notice is acted on ASAP.

To fix this:

  1. Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
  2. Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`

If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.

For any questions feel free to ask them at phab:T369874.

Jon (WMF) (talk) 18:19, 2 August 2024 (UTC) on behalf of the web team.Reply
This change has since been made. -- Beland (talk) 23:02, 12 September 2024 (UTC)Reply

dark mode problem/alternative

edit

@Theknightwho: Thank you for striving to improve Wikipedia.

Regarding this edit (and any others like it), apparently {{color}} does not function in dark mode, so Wikipedia's Spanish alphabet section said the letters that used to be part of the Spanish alphabet were shown in red, but displayed them in the same white as the rest of the alphabet. i switched that page back to this format

<span style="color: RED ">this format</span>

which seems to work in light or dark mode.

If any text on Wikipedia is supposed to be in non-default colors, editors need to know if the wiki code they use is going to work. i'm not sure where else to spread the word about this hiccup, though.

i tried to use {{!xt|this template}} to get a reddish color, but Preview replaced my text with a big bold reddish alert saying, "Template:!xt is only for examples of style and formatting. Do not use it in actual articles." If the {color} template can not be made to work in dark mode, could the {color} template be set to display an {!xt}-style Preview alert about {color} not working in dark mode?

...Should this post move to Wikipedia:Village pump (idea lab)?

Wishing everyone safe, happy, productive editing. --70.22.1.45 (talk) 13:38, 28 August 2025 (UTC)Reply