Template talk:Infobox US Supreme Court case
![]() | Template:Infobox US Supreme Court case is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox US Supreme Court case template. |
|
Archives: 1, 2, 3, 4Auto-archiving period: 12 months ![]() |
![]() | This template is used to create infoboxes for United States Supreme Court cases. If you find yourself confused in how to use this template or need assistance, please feel free to leave comments on this page. |
![]() | This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Edit request 31 August 2023_2
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: Simple redirect fix: now that John Marshall Harlan (born 1899) has been moved to John Marshall Harlan II, it would be beneficial for this template to incorporate the page move for each court Harlan served on. Diff:
− | [[John Marshall Harlan | + | [[John Marshall Harlan II|John M. Harlan II]] |
Politicsfan4 (talk) 03:18, 31 August 2023 (UTC)
- This request is for Template:Infobox US Supreme Court case/courts. -- Politicsfan4 (talk) 03:19, 31 August 2023 (UTC)
Done Primefac (talk) 07:49, 31 August 2023 (UTC)
Edit request 31 August 2023_3
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: More cleanup stuff: removing obsolete parameter (SplitOpinion), typo fix ("SubmitDatee" to "SubmitDate"), and fully incorporating the Statement parameter.
Diff:
− | | header21 = {{#if: | + | | header21 = {{#if:{{{Majority|}}}{{{Plurality|}}}{{{PerCuriam|}}}{{{Seriatim|}}}{{{Statement|}}}|Case opinion}}{{#if:{{{Majority2|}}}{{{Plurality2|}}}{{{PerCuriam2|}}}{{{Dissent|}}}{{{Concurrence|}}}{{{Concurrence/Dissent|}}}{{{Seriatim2|}}}|s}} |
− | | Seriatim5 | | + | | Seriatim5 | Statement | Statement2 | SubmitDate |
Politicsfan4 (talk) 18:52, 31 August 2023 (UTC)
Completed. P.I. Ellsworth , ed. put'er there 20:37, 31 August 2023 (UTC)
error
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: Turns out I was wrong and the "SplitOpinion" parameter is not obsolete and exists for a reason (for example Goldwater v. Carter, where |SplitOpinion=yes is supposed to shows the "Case opinion" header). Sorry, my mistake. Diff:
− | | header21 = {{#if: | + | | header21 = {{#if:{{{Majority|}}}{{{Plurality|}}}{{{PerCuriam|}}}{{{Seriatim|}}}{{{SplitOpinion|}}}{{{Statement|}}}|Case opinion}}{{#if:{{{Majority2|}}}{{{Plurality2|}}}{{{PerCuriam2|}}}{{{Dissent|}}}{{{Concurrence|}}}{{{Concurrence/Dissent|}}}{{{Seriatim2|}}}|s}} |
− | | Seriatim5 | Statement | Statement2 | SubmitDate | + | | Seriatim5 | SplitOpinion | Statement | Statement2 | SubmitDate |
Politicsfan4 (talk) 21:36, 31 August 2023 (UTC)
Completed, and thank you for catching that! This infobox template is transcluded to thousands of pages, so it would be better if you were to add any future edits to the template's [sandbox] making sure that it is first synchronized with the live template. Then the changes can be tested using the [testcases] page – see WP:TESTCASES. P.I. Ellsworth , ed. put'er there 22:10, 31 August 2023 (UTC)
Template-protected edit request on 2 July 2024
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Please change the three red
backgrounds to #B60000
(used for Superseded, Overruled, Abrogated)
Reasoning:
- MOS:CONTRAST: "Ensure the contrast of the text with its background reaches at least ... AA level, and AAA level when feasible"
- AAA is feasible when choosing template colors, and therefore required in order to meet the guideline
#FF0000
akared
fails even AA#B60000
is the lightest shade of pure red that passes AAA with white text (from Wikipedia:Manual_of_Style/Accessibility/Colors)
Thanks. Jruderman (talk) 03:35, 2 July 2024 (UTC)
Completed. P.I. Ellsworth , ed. put'er there 04:49, 2 July 2024 (UTC)
Adjusting width for Prior/Procedural/Subsequent fields
[edit]Right now, the template when including Prior / Procedural / Subsequent fields puts a label like "Prior" that takes nearly half the width of the infobox, forcing the details of the prior/etc. into a narrow column. I would like to suggest that we switch this to be something where we put the Prior/etc. label on its own line followed by the list of prior actions giving those actions the full width of the infobox, as demod in Department of Homeland Security v. Regents of the University of California.
Along the sample, I would like to not include the text "Prior" should the prior argument be the only one of these three that are filled out in the template.
Further, it would be nice to have a flag that the text of these three can be entered as a clear list, and then adding a flag to either present the list as a single sentence or as in bullet points (as in the DHS case above). The latter makes sense when the history is complex and the breathing room of a list makes sense (relative to the length of the article), whereas by default when there's only a couple of prior actions they only need to be presented as a single "sentence", or in the case where the article is still relatively short. — Masem (t) 17:45, 2 March 2025 (UTC)
Template-protected edit request on 1 July 2025
[edit]![]() | This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
I was reviewing the "Page information" for some pages which include this template and noticed that there is a low-priority linter error that this template is failing: night-mode-unaware-background-color. My understanding is that resolving this issue would entail specifying the color
style property whenever the background-color
is specified. This would mean that the following changes should be made.
− | | abovestyle = background-color: #99c0ff; padding: 0.2em; line-height: 1.4em; font-size:125%; font-style: italic
| aboveclass = fn
| image = <includeonly>{{{image|[[File:Seal of the United States Supreme Court.svg|100px|Seal of the United States Supreme Court|alt=|link=]]}}}</includeonly>
| caption = <includeonly>[[Supreme Court of the United States]]</includeonly>
| captionstyle = padding-top: 0.5em; font-weight: bold
| headerstyle = background-color: #99c0ff; white-space:nowrap | + | | abovestyle = background-color: #99c0ff; color: black; padding: 0.2em; line-height: 1.4em; font-size:125%; font-style: italic
| aboveclass = fn
| image = <includeonly>{{{image|[[File:Seal of the United States Supreme Court.svg|100px|Seal of the United States Supreme Court|alt=|link=]]}}}</includeonly>
| caption = <includeonly>[[Supreme Court of the United States]]</includeonly>
| captionstyle = padding-top: 0.5em; font-weight: bold
| headerstyle = background-color: #99c0ff; color: black; white-space:nowrap |
It appears that the other locations which set the background-color in this template also set the color property, so I believe that only the two changes noted above would be necessary to resolve this linter error. Ovenel (talk) 22:13, 1 July 2025 (UTC)
- I implemented this into the sandbox, which should be reflected in the testcase page Template:Infobox US Supreme Court case/testcases. I do not see any changes when viewing that page in dark mode (nor in light mode). The changes are still there on the sandbox, but I don't know what else would need to be fixed. Masem (t) 00:20, 2 July 2025 (UTC)
- After looking at the reference link at the end of the page documenting the night-mode-unaware-background-color issue, it appears that the default action for elements with the
infobox
class is to set thebackground-color
andcolor
styles with the important attribute (unless thenotheme
class is applied as well), so that would explain why there doesn't appear to be a change in the dark-mode behavior. - In the recommendations for nightmode compatibility, it appears that the guidance is to avoid specifying colors with inline styles and instead either use the existing classes from the available Wikipedia skins or to use a stylesheet for the template which includes media queries for specifying the dark-mode styles. However, I'm not familiar enough with template development to say what would need to be changed for that purpose. Ovenel (talk) 16:00, 2 July 2025 (UTC)
- After looking at the reference link at the end of the page documenting the night-mode-unaware-background-color issue, it appears that the default action for elements with the