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
 
(26 intermediate revisions by 12 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}}
{{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}}
{{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}}}}
{{User:MiszaBot/config
{{User:MiszaBot/config
| algo = old(90d)
| algo = old(90d)
Line 13: Line 15:
}}
}}


== Leader(s) ==
== Replace the map ==

Maybe I'm just misreading the template instructions, but it implies that you can put multiple leaders in the infobox without actually saying how to do it. For instance, if a county has a County Mayor and a Vice Mayor (or equivalent), it seems like you can only put one, in the template. Am I missing something? [[User:Nfutvol|nf utvol]] ([[User talk:Nfutvol|talk]]) 15:35, 2 November 2023 (UTC)
:[https://en.wikipedia.org/w/index.php?search=insource%3A%2Fleader_title%2F+hastemplate%3A%22Infobox+U.S.+county%22&title=Special:Search&ns0=1&ns4=1&ns10=1&ns12=1&searchToken=1ueirtkoeqdnzbug5y5nvuoev Here are pages] that use {{para|leader_title}}. See [[Chester County, Pennsylvania]], for an example of a place with multiple leaders and how the parameter is used. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:13, 2 November 2023 (UTC)

== Template-protected edit request on 16 November 2023 - pass through "module" parameter to [[Template:Infobox settlement]] ==

{{edit template-protected|Template:Infobox U.S. county|answered=yes}}
{{tl|Infobox settlement}} lets callers embed child infoboxes inside it using {{para|module}}; see [[WP:IEmbed]]. I'd like to be able to do the same with {{tl|Infobox U.S. county}}. Could someone with template editing powers add the following, passing through the "module" parameter if present?

{{TextDiff||<nowiki>| module = {{{module|}}}</nowiki>}}

{{TextDiff|<nowiki>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox U.S. county with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox U.S. county]] with unknown parameter "_VALUE_"|ignoreblank=y| area codes | area percentage | area_footnotes | area_land_km2 | area_land_sq_mi | area_total_km2 | area_total_sq_mi | area_water_km2 | area_water_sq_mi | census estimate yr | census yr | city type | coordinates | county | demonym | density_km2 | density_sq_mi | district | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | district10 | ex image | ex image cap | ex image size | flag | flag border | flag size | flag wl | footnotes | founded | founded date | founded title | founded year | image_flag | image_seal | largest city | largest city wl | leader type | leader_name | leader_title | logo | logo size | map_county | motto | name | named for | nickname | official_name | other_cities | pop | pop_est_as_of | pop_est_footnotes | population_as_of | population_demonym | population_density_km2 | population_density_sq_mi | population_est | population_footnotes | population_total | seal | seal size | seal wl | seat | seat wl | state | time zone | time zone 1 | time zone 2 | type | tz note | tz note 1 | tz note 2 | web | website | ZIP codes }}</nowiki>|<nowiki>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox U.S. county with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox U.S. county]] with unknown parameter "_VALUE_"|ignoreblank=y| area codes | area percentage | area_footnotes | area_land_km2 | area_land_sq_mi | area_total_km2 | area_total_sq_mi | area_water_km2 | area_water_sq_mi | census estimate yr | census yr | city type | coordinates | county | demonym | density_km2 | density_sq_mi | district | district2 | district3 | district4 | district5 | district6 | district7 | district8 | district9 | district10 | ex image | ex image cap | ex image size | flag | flag border | flag size | flag wl | footnotes | founded | founded date | founded title | founded year | image_flag | image_seal | largest city | largest city wl | leader type | leader_name | leader_title | logo | logo size | map_county | module | motto | name | named for | nickname | official_name | other_cities | pop | pop_est_as_of | pop_est_footnotes | population_as_of | population_demonym | population_density_km2 | population_density_sq_mi | population_est | population_footnotes | population_total | seal | seal size | seal wl | seat | seat wl | state | time zone | time zone 1 | time zone 2 | type | tz note | tz note 1 | tz note 2 | web | website | ZIP codes }}</nowiki>}}

Thanks! [[User:DefaultFree|DefaultFree]] ([[User talk:DefaultFree|talk]]) 23:54, 16 November 2023 (UTC)
:{{done}}<!-- Template:ETp --> [[User:SWinxy|SWinxy]] ([[User talk:SWinxy|talk]]) 00:49, 17 November 2023 (UTC)

== County executives and district attorneys ==

Should we include the county executive as well as the district attorney of a county? [[Special:Contributions/2600:100C:A103:309B:8DBE:362A:250C:185D|2600:100C:A103:309B:8DBE:362A:250C:185D]] ([[User talk:2600:100C:A103:309B:8DBE:362A:250C:185D|talk]]) 01:46, 30 November 2023 (UTC)

:Wikipedia is not a directory, per [[WP:NOTDIRECTORY]]. In general I feel the absolute maximum number of people should be included in community infoboxes should be 1 or 2 top people max. For example, for cities (yeah I know this isn't a county), I feel that maybe the Mayor and City Manager is the most that should ever be included, because of [[WP:NOTDIRECTORY]], so the same for counties too, only the top 1 or 2 people of power. • [[User:Sbmeirow|<span style="color:#8D38C9;">Sbmeirow</span>]] • [[User talk:Sbmeirow|<span style="color:#8D38C9;White;">Talk</span>]] • 23:48, 30 November 2023 (UTC)
::I agree here but what would encompass this? Both of these are pretty powerful in general. [[Special:Contributions/2600:100C:A103:309B:78B5:8E87:10D3:39D|2600:100C:A103:309B:78B5:8E87:10D3:39D]] ([[User talk:2600:100C:A103:309B:78B5:8E87:10D3:39D|talk]]) 01:41, 7 December 2023 (UTC)

== 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)

== 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)
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. &mdash; [[User:RAGentry|<span style="color:#00afaa">'''RAGentry'''</span>]] [[User talk:RAGentry|<span style="color:#f5246c">'''(talk)'''</span>]] [[Special:Contributions/RAGentry|<span style="color:#f98137">'''(contributions)'''</span>]] 18:41, 30 May 2024 (UTC)


== "Location within the state" map broken? ==
== Template-protected edit request on 19 January 2024 ==


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


*[[Liberty County, Texas]]
<nowiki>Hawaii = [[Hawaii–Aleutian Time Zone|HADT]]</nowiki>
*[[Van Wert County, Ohio]]
*[[Macomb County, Michigan]]


[[User:NapoliRoma|NapoliRoma]] ([[User talk:NapoliRoma|talk]]) 19:04, 16 June 2024 (UTC)
to


: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]]. [[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> 23:23, 16 June 2024 (UTC)
<nowiki>Hawaii = {{#ifeq:{{{state}}}|Hawaii||[[Hawaii–Aleutian Time Zone|HADT]]}}</nowiki>
::I don't think so. [[:File:Map of Texas highlighting Liberty County.svg]] is not showing Texas for me. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 05:33, 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)
:::::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 ==
and please add


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)
<nowiki>
: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)
| Hawaii = {{#ifeq:{{{state}}}|Hawaii||−9}}
</nowiki>


== Edit request 1 December 2024 ==
below


{{edit template-protected|answered=yes}}
<nowiki>
'''Description of suggested change:'''
| Alaska = −8
</nowiki>


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)
in the two places where each occurs. [[User:Kk.urban|Kk.urban]] ([[User talk:Kk.urban|talk]]) 20:13, 19 January 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]