Jump to content

Template talk:Table cell templates

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Usage of Template:Shade on non-percentages

[edit]

This template is not usable with non-percentage numerical values because it assumes all values ({{{0}}} and {{{max}}}) are percentages. But the spec says color-mix requires percentages 0 through 100. Invalid values are a parse error. The solution would be for both {{{0}}} and {{{max}}} to be normalized by dividing by {{#expr: {{{max|100}}} / 100}}. -- Hexware (talk) 22:47, 23 September 2026 (UTC)Reply

Not sure what you mean; what is a non-percentage numerical value? Primefac (talk) 08:48, 24 September 2026 (UTC)Reply
Numbers used to show comparative growth but aren't percentages themselves. For example, PCI Express#Comparison table uses {{shade|xxx}} to show comparative speeds. And it broke once speeds broke 100 Gb/s. I was going to fix it with the {{{max}}} parameter set to 484, but then the whole table loses shading because of invalid CSS. --Hexware (talk) 16:38, 25 September 2026 (UTC)Reply
Should be sorted now, swapped to just using {{%}}. Primefac (talk) 20:48, 26 September 2026 (UTC)Reply

"table-IUCN" templates (Template:IUCN-LC etc)

[edit]

Is it ok if I merge these into one template? I would also like to change the colour scheme to match {{IUCN status}}. Thanks Let Me Edit It (talk) 16:05, 27 September 2026 (UTC)Reply

Makes sense, easier to have something like {{IUCN-des|XX}} (where XX is the designation) than a different templates for each. Going to have to think of a short/good name though since IUCN is already a redirect to {{cite IUCN}}. Primefac (talk) 17:29, 27 September 2026 (UTC)Reply
How about {{IUCN cell}}? Let Me Edit It (talk) 17:31, 27 September 2026 (UTC)Reply
Go for it. Primefac (talk) 17:32, 27 September 2026 (UTC)Reply
 Done. Will add the links when I get around to it. I think for TemplateData etc, it might be better for it to have its own doc page. Let Me Edit It (talk) 18:04, 27 September 2026 (UTC)Reply

Template-protected edit request on 15 October 2026 - align with 'no'

[edit]

Change: "no table-no2 notheme" to "table-no skin-invert".

Change "background: #FFE3E3" to "background: #FFC7C7" Byejohnny (talk) 18:55, 15 October 2026 (UTC)Reply

 Not done for now: please establish a consensus for this alteration before posting an edit request. —⁠andrybak (talk) 03:06, 2 November 2026 (UTC)Reply

Nomination for merging of Template:Site active

[edit]

Information icon Template:Site active has been nominated for merging with Template:Active. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. LazyLune (talk • edits) 12:10, 30 October 2026 (UTC)Reply