Template talk:Infobox U.S. county

Latest comment: 1 month ago by Jonesey95 in topic Flags should NOT be in this infobox

Hawaii Time Zone

edit

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

Replace the map

edit

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?

edit

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

Flags should NOT be in this infobox

edit

Per MOS:INFOBOXUSE, "infoboxes should avoid flag icons." • SbmeirowTalk09:48, 28 September 2024 (UTC)Reply

See MOS:INFOBOXFLAG: Human geographic articles – for example, settlements and administrative subdivisions – may have flags of the country and first-level administrative subdivision in infoboxes.Jonesey95 (talk) 15:28, 28 September 2024 (UTC)Reply