Jump to content

Template talk:Infobox U.S. county: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
m Archiving 1 discussion(s) to Template talk:Infobox U.S. county/Archive 3) (bot
 
(13 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Permanently protected}}
{{Permanently protected}}
{{talk header}}
{{talk header|archive_age=90|archive_bot=lowercase sigmabot III|minthreadsleft=4}}
{{WikiProject United States|U.S. counties=yes}}
{{Old AfD multi |date1=31 December 2014 |result1='''Do not merge''' |link1={{canonicalurl:Wikipedia:Templates for discussion/Log/2014 December 31#Template:Infobox_U.S._county}} |date2=2019 March 14 |result2='''Keep''' |link2={{canonicalurl:Wikipedia:Templates for discussion/Log/2019 March 14#Template:Infobox U.S. county}}}}
{{Old AfD multi |date1=31 December 2014 |result1='''Do not merge''' |link1={{canonicalurl:Wikipedia:Templates for discussion/Log/2014 December 31#Template:Infobox_U.S._county}} |date2=2019 March 14 |result2='''Keep''' |link2={{canonicalurl:Wikipedia:Templates for discussion/Log/2019 March 14#Template:Infobox U.S. county}}}}
{{WikiProject banner shell|
{{WikiProject United States|U.S. counties=yes}}
}}
{{User:MiszaBot/config
{{User:MiszaBot/config
| algo = old(90d)
| algo = old(90d)
Line 12: Line 14:
| minthreadsleft = 4
| minthreadsleft = 4
}}
}}

== 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. [[User:CAMERAwMUSTACHE|CAMERAwMUSTACHE]] ([[User talk:CAMERAwMUSTACHE|talk]]) 20:37, 11 December 2023 (UTC)

:On second thought, change <pre>[[Hawaii–Aleutian Time Zone|HADT]]</pre> to <pre>{{#ifeq:{{{state}}}|Hawaii||[[Hawaii–Aleutian Time Zone|HADT]]}}</pre> [[User:CAMERAwMUSTACHE|CAMERAwMUSTACHE]] ([[User talk:CAMERAwMUSTACHE|talk]]) 20:39, 11 December 2023 (UTC)

{{Resolved|[[User:Kk.urban|Kk.urban]] ([[User talk:Kk.urban|talk]]) 01:16, 21 January 2024 (UTC)}}

== Parameters for Government section ==

The government subsection of the infobox only has the one leader parameter, so perhaps a second parameter for legislative bodies (such as county councils, as a fair few have their own articles) and types of government would work well to keep it from looking too small and out of place. '''[[User:SounderBruce|<span style="background:#5d9731; color:white; padding:2px;">Sounder</span>]][[User talk:SounderBruce|<span style="background:#1047AB; color:white; padding:2px;">Bruce</span>]]''' 09:20, 15 January 2024 (UTC)

== Template-protected edit request on 19 January 2024 ==

{{edit template-protected|Template:Infobox U.S. county|answered=yes}}
The [[Hawaii–Aleutian Time Zone]] is split between Hawaii and Alaska. Alaska observes daylight saving time, but Hawaii does not. Thus, please change:

<nowiki>Hawaii = [[Hawaii–Aleutian Time Zone|HADT]]</nowiki>

to

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

and please add

<nowiki>
| Hawaii = {{#ifeq:{{{state}}}|Hawaii||−9}}
</nowiki>

below

<nowiki>
| Alaska = −8
</nowiki>

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

:{{complete2}}. '''''[[User:Paine Ellsworth|<span style="font-size:92%;color:darkblue;font-family:Segoe Script">P.I.&nbsp;Ellsworth</span>]]'''''&thinsp;,&nbsp;[[Editor|<span style="color:black">ed.</span>]]&nbsp;[[User talk:Paine Ellsworth|<sup>put'er&nbsp;there</sup>]]&nbsp;<small>14:23, 20 January 2024 (UTC)</small>


== Replace the map ==
== Replace the map ==
Line 70: Line 33:
:::OK. Like I suggested at VPT, I guess this is an issue with SVG processing or something got corrupted at Commons. [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 06:25, 17 June 2024 (UTC)
:::OK. Like I suggested at VPT, I guess this is an issue with SVG processing or something got corrupted at Commons. [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 06:25, 17 June 2024 (UTC)
::::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]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 09:34, 17 June 2024 (UTC)
::::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]]. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 09:34, 17 June 2024 (UTC)
:::::Yikes! Thanks for the explanation.--[[User:NapoliRoma|NapoliRoma]] ([[User talk:NapoliRoma|talk]]) 18:19, 17 June 2024 (UTC)
:::::Yikes is right. Thanks. I wish there was a systematic way to correct these. [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 19:10, 17 June 2024 (UTC)
::::::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. [[User:PrimeHunter|PrimeHunter]] ([[User talk:PrimeHunter|talk]]) 21:47, 17 June 2024 (UTC)
:::::::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. [[User:StefenTower|<span style="color: green;">'''Stefen <span style="white-space: nowrap;">Tower<sub>s among the rest!</sub></span>'''</span>]] <sup>[[User talk:StefenTower|Gab]] • [[Special:Contributions/StefenTower|Gruntwerk]]</sup> 22:04, 17 June 2024 (UTC)

== Flags should NOT be in this infobox ==

Per [[MOS:INFOBOXUSE]], "infoboxes should avoid flag icons." • [[User:Sbmeirow|<span style="color:#8D38C9;">Sbmeirow</span>]] • [[User talk:Sbmeirow|<span style="color:#8D38C9;White;">Talk</span>]] • 09:48, 28 September 2024 (UTC)
:See [[MOS:INFOBOXFLAG]]: {{tq|Human geographic articles – for example, settlements and administrative subdivisions – may have flags of the country and first-level administrative subdivision in infoboxes. }} – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 15:28, 28 September 2024 (UTC)

== Edit request 1 December 2024 ==

{{edit template-protected|answered=yes}}
'''Description of suggested change:'''

There is a miscapitalization bug in the way the Congressional district "At-large" is handled. It generates a link to the over-capitalized redirect [[Alaska's At-large congressional district]] (in the case of Alaska; do other states do similar?). Maybe someone who knows how to code templates can see an easy fix to make it link instead to [[Alaska's at-large congressional district]] so that these won't show up in the maintenance report at [[Wikipedia:Database reports/Linked miscapitalizations]]. [[User:Dicklyon|Dicklyon]] ([[User talk:Dicklyon|talk]]) 01:05, 1 December 2024 (UTC)
:{{done}}<!-- Template:ETp --> – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 03:11, 1 December 2024 (UTC)
::Thanks! You so quick! [[User:Dicklyon|Dicklyon]] ([[User talk:Dicklyon|talk]]) 04:20, 1 December 2024 (UTC)

Latest revision as of 14:59, 1 December 2024

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]

Edit request 1 December 2024

[edit]

Description of suggested change:

There is a miscapitalization bug in the way the Congressional district "At-large" is handled. It generates a link to the over-capitalized redirect Alaska's At-large congressional district (in the case of Alaska; do other states do similar?). Maybe someone who knows how to code templates can see an easy fix to make it link instead to Alaska's at-large congressional district so that these won't show up in the maintenance report at Wikipedia:Database reports/Linked miscapitalizations. Dicklyon (talk) 01:05, 1 December 2024 (UTC)[reply]

 DoneJonesey95 (talk) 03:11, 1 December 2024 (UTC)[reply]
Thanks! You so quick! Dicklyon (talk) 04:20, 1 December 2024 (UTC)[reply]