Template talk:Table cell templates

(Redirected from Template talk:Pending/testcases)
Latest comment: 1 day ago by Primefac in topic Bug?
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.

Template:Table cell templates/doc does not transclude well

edit

Transcluding Template:Table cell templates/doc, as Template:ColorCell/doc does, causes a misnested code tag, emanating from this block of wikitext:

  :<code>{{ {{#switch:{{SUBPAGENAME}}|doc={{#titleparts:{{FULLPAGENAME}}|-1}}|#default={{FULLPAGENAME}}}} }}</code>{{#if:{{{doc|}}}|<!-- force newline after nowiki tags --><nowiki></nowiki>
  {{{doc}}}|<!-- no newline if there is no additional documentation -->}}

which expands to:

  :<code>style="background: none; color: black; vertical-align: middle; text-align: center; "|
  </code>

Would someone make it possible for Template:ColorCell/doc to transclude Template:Table cell templates/doc without misnested <code>...</code> tags? —Anomalocaris (talk) 22:42, 7 June 2023 (UTC)Reply

Dark mode fixes

edit

Implement Template:TBA/sandbox, which adds dark mode support. Snowmanonahoe (talk · contribs · typos) 14:33, 6 May 2024 (UTC)Reply

  Done SWinxy (talk) 05:06, 7 May 2024 (UTC)Reply

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