Template talk:Infobox U.S. county: Difference between revisions
DefaultFree (talk | contribs) |
|||
Line 35: | Line 35: | ||
== Template-protected edit request on 16 November 2023 - pass through "module" parameter to [[Template:Infobox settlement]] == |
== 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= |
{{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? |
{{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? |
||
Line 43: | Line 43: | ||
Thanks! [[User:DefaultFree|DefaultFree]] ([[User talk:DefaultFree|talk]]) 23:54, 16 November 2023 (UTC) |
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) |
Revision as of 00:49, 17 November 2023
Template:Infobox U.S. county is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Infobox U.S. county template. |
|
Archives: 1, 2, 3Auto-archiving period: 3 months |
United States: U.S. counties Template‑class | ||||||||||
|
This template was nominated for deletion. Please review the prior discussions if you are considering re-nomination:
|
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. (Example). DiscoA340 (talk) 14:06, 2 May 2023 (UTC)
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)
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)
- Probably not. – Jonesey95 (talk) 04:25, 28 September 2023 (UTC)
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)
- 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)
Template-protected edit request on 16 November 2023 - pass through "module" parameter to Template:Infobox settlement
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
{{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)