Template talk:Infobox U.S. county

From WikiProjectMed
Jump to navigation Jump to search
WikiProject iconUnited States: U.S. counties Template‑class
WikiProject iconThis template is within the scope of WikiProject United States, a collaborative effort to improve the coverage of topics relating to the United States of America on Wikipedia. If you would like to participate, please visit the project page, where you can join the ongoing discussions.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by WikiProject U.S. counties.

Hawaii Time Zone

Hawaii does not observe Daylight Savings Time, yet Hawaii is in the | timezone1_DST parameter, resulting in HADT appearing in the DST line on pages such as Kauai County, Hawaii, despite the fact that DST is not observed there. I think that Hawaii should be removed from here and released with something like Aleutian as only settlements in the Aleutian Islands use HADT. CAMERAwMUSTACHE (talk) 20:37, 11 December 2023 (UTC)[reply]

On second thought, change
[[Hawaii–Aleutian Time Zone|HADT]]
to
{{#ifeq:{{{state}}}|Hawaii||[[Hawaii–Aleutian Time Zone|HADT]]}}
CAMERAwMUSTACHE (talk) 20:39, 11 December 2023 (UTC)[reply]
Resolved
 – Kk.urban (talk) 01:16, 21 January 2024 (UTC)[reply]

Template-protected edit request on 19 January 2024

The Hawaii–Aleutian Time Zone is split between Hawaii and Alaska. Alaska observes daylight saving time, but Hawaii does not. Thus, please change:

Hawaii = [[Hawaii–Aleutian Time Zone|HADT]]

to

Hawaii = {{#ifeq:{{{state}}}|Hawaii||[[Hawaii–Aleutian Time Zone|HADT]]}}

and please add

| Hawaii = {{#ifeq:{{{state}}}|Hawaii||−9}}

below

| Alaska = −8

in the two places where each occurs. Kk.urban (talk) 20:13, 19 January 2024 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. put'er there 14:23, 20 January 2024 (UTC)[reply]

Replace the map

Hi all, is there a way to replace the map using this template to put an interactive map in the place of the automatic static maps? See the counties of California such as Los Angeles County, California which have an interactive map but use Template:Infobox settlement instead of this template. If this is not possible, it would be nice if someone could edit this template to make it possible to replace the automatic map with a map of the editor's choosing. — RAGentry (talk) (contributions) 18:41, 30 May 2024 (UTC)[reply]

"Location within the state" map broken?

I noticed this when looking at several Texas counties, and spot checked a couple of other counties in other states, which had the same problem. The county shows up in red, but I'm assuming the outline of the state should be there as well, and it's not. I've tried this on Chrome and Firefox on MacOS, and Safari on iPhone. Examples:

NapoliRoma (talk) 19:04, 16 June 2024 (UTC)[reply]

I have confirmed this with local counties I work on, such as Jefferson County, Kentucky. This may be part of the ongoing infobox issues being reported at WP:VPT. Stefen Towers among the rest! GabGruntwerk 23:23, 16 June 2024 (UTC)[reply]
I don't think so. File:Map of Texas highlighting Liberty County.svg is not showing Texas for me. – Jonesey95 (talk) 05:33, 17 June 2024 (UTC)[reply]
OK. Like I suggested at VPT, I guess this is an issue with SVG processing or something got corrupted at Commons. Stefen Towers among the rest! GabGruntwerk 06:25, 17 June 2024 (UTC)[reply]
Rendering of US county SVG files has changed and fixed replacements must be uploaded at Commons. See Wikipedia:Teahouse#Infobox probelem and Wikipedia:Teahouse#Us couties on article map. PrimeHunter (talk) 09:34, 17 June 2024 (UTC)[reply]
Yikes! Thanks for the explanation.--NapoliRoma (talk) 18:19, 17 June 2024 (UTC)[reply]
Yikes is right. Thanks. I wish there was a systematic way to correct these. Stefen Towers among the rest! GabGruntwerk 19:10, 17 June 2024 (UTC)[reply]
There may be thousands of affected files which will gradually fail when MediaWiki tries to rerender cached versions which worked. The systematic way to correct them is getting somebody to code a bot to fix and reupload the files. The original uploader from 2006 said no. In the meantime, the infobox might omit the maps or add a note like "(may currently display incorrectly"), so viewers are aware it's a known problem that will be fixed. The infobox cannot tell whether a given map works. PrimeHunter (talk) 21:47, 17 June 2024 (UTC)[reply]
Having a message may be fine as long as map_county isn't set, which I had to do when I fixed the map for Jefferson County, Kentucky. Since it's a manual process, I probably will only fix those on my watchlist upon complaint or whenever I can get around to it. It would probably be good to have a resource on this page that clearly explains how to make the fix to the .svg file and use in the template. Stefen Towers among the rest! GabGruntwerk 22:04, 17 June 2024 (UTC)[reply]