Jump to content

Template talk:Table cell templates

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:No result)
WikiProject iconTemplates
WikiProject iconThis template (like all templates) is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. This particular template is especially important to the project because it is used in the maintenance of other templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

Cempty and Cnone

[edit]

Sorry, but what is the differences between these templates? Because I can't find in the documentation any references to CEmpty. Redjedi23 (talk) 10:25, 18 May 2024 (UTC)[reply]

If you type into the search bar "template:CEmpty", you can find {{CEmpty}}. It's one of the standard table formatting templates that are available to use. VanIsaac, GHTV contWpWS 19:08, 20 May 2024 (UTC)[reply]
@Vanisaac Yes, I know. The problem is that I don't know when I should use {{CEmpty}} instead of {{CNone}}. They are very similar, but the first one is not documented. Redjedi23 (talk) 13:02, 26 May 2024 (UTC)[reply]

Bug?

[edit]

At Sheryl Crow discography#2000s, there seems to be a bug with this template that causes it to format incorrectly as data-sort-value="" style="background: #ececec; color: #2C2C2C; vertical-align: middle; text-align: center; " class="table-na" | —. 2A0E:1D47:9085:D200:5D5:7FF3:8C6:E734 (talk) 21:57, 9 June 2024 (UTC)[reply]

GIGO. Should be fixed now. Primefac (talk) 14:03, 12 June 2024 (UTC)[reply]

Issue with Dark mode.

[edit]

When using Dark Mode, the {{Not yet}} template retains its light color.

The {{N/a}} template, however, changes color to match the mode.

If this is the wrong location, please let me know. Redacted II (talk) 01:43, 30 July 2024 (UTC) Courtesy links added, no content change. Primefac (talk) 13:17, 30 July 2024 (UTC)[reply]

Sohom Datta, is this just a case of adding the var for dark mode as you did here? Primefac (talk) 13:20, 30 July 2024 (UTC)[reply]
It took a bit more messing around, but the template should be fixed :) Sohom (talk) 13:44, 30 July 2024 (UTC)[reply]
Thanks! Redacted II (talk) 14:01, 30 July 2024 (UTC)[reply]


Dark mode fixes with skin-invert

[edit]

I think it would be a good idea to add the class skin-invert to all the templates that lack it (currently only one or two have it).
Here's an example with {{yes}} and {{no}}:

Example without skin-invert
Foobar Foo Bar
Barfoo Yes No
Example with skin-invert
Foobar Foo Bar
Barfoo Yes No

Here's a screenshot in dark mode:

Pinging Jonesey95 because you've been active in this area. — Qwerfjkltalk 17:49, 20 August 2024 (UTC)[reply]

I posted about this issue a few months ago (somewhere; I can't put my finger to it right now) when the dark mode was just starting to emit Linter errors. I was hoping for a systematic fix so that we didn't need to edit every one of these templates and hope to get it right. I am still hoping for such a fix, maybe a shared CSS file so that if we get it wrong, we don't have to go back and fix all of them again. – Jonesey95 (talk) 19:25, 20 August 2024 (UTC)[reply]