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
Line 12: Line 12:
| minthreadsleft = 4
| minthreadsleft = 4
}}
}}

== Issue with Visual Editor ==

Partially copied from [[Wikipedia talk:VisualEditor#Possible issue with Visual Editor]]

I know that there are limitations with Visual Editor and templates but I've started to notice it acting weird on a few specifically. If you edit [[Template:Infobox U.S. county]], it doesn't create a new line for each new parameter added. ([https://en.wikipedia.org/w/index.php?title=User%3ADiscoA340%2Fsandbox&diff=1148899465&oldid=1148899393&diffmode=source Example]). [[User:DiscoA340|DiscoA340]] ([[User talk:DiscoA340|talk]]) 14:06, 2 May 2023 (UTC)


== Add census codes to info box ==
== Add census codes to info box ==

Revision as of 02:35, 17 November 2023

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.

Add census codes to info box

You list codes like Zips, Area Codes, and Congressional Districts (which may be represented by census codes). However, you do not list the Congressional Disctrict FIPS codes, nor do you list the County FIPS codes or GEOID codes. Since we live in a data world where much data across government agencies are released at a county level using census codes it only stands to reason to add them to this info box. Yes, there are county lists of FIPS codes. However, by keeping that separate, the user has to look in 2 places - the County articles for more information about the county and then find the page that lists the codes. It just stands to reason that all codes related to the county should be listed in the info box. Drmissio (talk) 13:26, 14 August 2023 (UTC)[reply]

District Attorney

Should we include the District Attorney of a county in the infobox? I feel it may be useful. 2600:100C:A119:D49D:C449:8744:DADD:960A (talk) 00:56, 28 September 2023 (UTC)[reply]

Probably not. – Jonesey95 (talk) 04:25, 28 September 2023 (UTC)[reply]

Leader(s)

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? nf utvol (talk) 15:35, 2 November 2023 (UTC)[reply]

Here are pages that use |leader_title=. See Chester County, Pennsylvania, for an example of a place with multiple leaders and how the parameter is used. – Jonesey95 (talk) 17:13, 2 November 2023 (UTC)[reply]

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

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

+
| module = {{{module|}}}
{{#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 }}
+
{{#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 }}

Thanks! DefaultFree (talk) 23:54, 16 November 2023 (UTC)[reply]

 Done SWinxy (talk) 00:49, 17 November 2023 (UTC)[reply]