Wikipedia:Templates for discussion/Log/2018 April 5
April 5
[edit]Red and green table highlights
[edit]- The following discussion is an archived debate of the proposed deletion of the template below. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).
The result of the discussion was merge into {{yes}} and {{no}} accordingly (and leave redirects), ensuring that any uses that have parameters are adequately dealt with. Primefac (talk) 02:10, 13 April 2018 (UTC)
- Template:Bad (talk · history · transclusions · logs · subpages)
- Template:No (talk · history · transclusions · logs · subpages)
- Template:Available (talk · history · transclusions · logs · subpages)
- Template:Contained (talk · history · transclusions · logs · subpages)
- Template:Yes (talk · history · transclusions · logs · subpages)
Propose redirecting Template:Bad to Template:No.
Propose redirecting (or deleting if consensus is in favor) Template:Available and Template:Contained to Template:Yes
Compare the appearances:
Template | Total transclusions | No-parameter transclusions |
---|---|---|
Bad | 192 | 3 (user-space) |
No | 3981 | n/a (2,648) |
Available | 107 | 1 (mainspace) |
Contained | 105 | 4 (2 mainspace, 2 userspace) |
Yes | 5407 | n/a (3,849) |
Note: The transclusions on Template:Table cell templates/doc were not included in the above transclusion counts.
The number of no-parameter transclusions is the most relevant number for this request. It shows that the proposed templates are very rarely used to display the default text, which makes them functional duplicates of the more popular highlighting templates. This also means the redirect (or deletion) can be very easily implemented, only replacing the text on a handful of pages.
{{bad}} has a slightly different color than {{no}} (#faa vs. #F99), but they were the same in the template's history. This color change to {{bad}} was made by Telpardec to lighten the background for better contrast ratio with non-black foreground
. With consensus, this change could be implemented to {{no}} as part of the merging.
I was in a hurry when I originally made this request, and made a few formatting mistakes which Pppery nicely corrected; the relevant discussion is collapsed below. Edit: Revised and broadened. E to the Pi times i (talk | contribs) 01:23, 6 April 2018 (UTC)
Discussion about fixing formatting with Pppery
|
---|
|
- It's only fitting that I !vote after fixing and discussing this nomination. Merge as unnecessary template forks. {{3x|p}}ery (talk) 01:26, 6 April 2018 (UTC)
- Merge Looks like duplicate functionality, per nom Galobtter (pingó mió) 08:05, 6 April 2018 (UTC)
- Question/comment. No vote from me, because my red-green colorblindness makes it foolish for me to vote on color issues like this. (1) {{Available}} uses 90ff90 while {{Contained}} uses 99ff99. It seems a small enough difference that it shouldn't matter. Do normal people see any differences between the two? (2) What is the hex for {{Yes}}? It includes style="background:#9F9, but I don't see any standard six-digit hexes, and I checked two invoked modules (Noinclude and Yesno) without finding any color references. (3) {{Yes}} invokes a lot of modules, but Noinclude is the only one I can find, and I don't see any template transclusions, aside from the merge. Are all those templates and modules transcluded/invoked via the merge template, or do they come somewhere else that I'm missing? Nyttend (talk) 11:31, 7 April 2018 (UTC)
- 9F9 = 99FF99 - see Web_colors#Shorthand_hexadecimal_form; available and contained look about the same; I think they probably are from the Tfd template mainly Galobtter (pingó mió) 11:43, 7 April 2018 (UTC)
- Thank you; I didn't know they could be abbreviated like that. I didn't ask about Bad and No, because I can see the difference between them. And thank you for the responses on the other two. Nyttend (talk) 11:46, 7 April 2018 (UTC)
- merge, the colours are similar enough that a merge shouldn't be a problem. Frietjes (talk) 22:33, 10 April 2018 (UTC)
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made on the appropriate discussion page (such as the template's talk page or in a deletion review).