Jump to content

Template talk:Infobox law enforcement agency

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Tracking

[edit]

Hey Frietjes, could you update the tracking? I think the parameter list is out of sync. Also, the logic for the image captions seems strange. Thanks! Plastikspork ―Œ(talk) 18:57, 12 July 2020 (UTC)[reply]

Plastikspork, I think I generally sorted it out. I created Category:Pages using infobox law enforcement agency with paramilitary parameter to separately track that parameter since it seems commonly used, and added additional tracking to find pages using invisible |formed= or |formedmonthday= data. we should probably just merge all of these into |formed=. Frietjes (talk) 14:50, 13 July 2020 (UTC)[reply]
@Frietjes and Plastikspork: I will update the doc to remove defaults for image captions for example "Patch of the |{agencyname=". I recently added TemplateData and using the monthly parameter usage report I see that |imagesize= is still used in several articles. Originally, the code included both |imagesize= and |image_size= with |imagesize= removed in Rehman's re-write in April 2018. |imagesize= will need to be replaced with underscore |image_size= in the articles. I want to see what articles are using "Local civilian agency" for the "General nature" label. It is tricky as the parameter |local= has two uses in the code for the "General nature" label. Firstly, it changes |police= from "Civilian police" to "Local civilian police" when used together. Secondly, |local= can also be used in isolation to display "Local civilian agency". Frietjes explains in the section above, {{Infobox law enforcement agency|military=|provost=|gendarmerie=|local=y}}. Is there a way to generate a list of all articles that use |local= for "Local civilian agency" in isolation without |police=? As I am considering removing it or renaming etc.. Usage report shows |local= is used 689 times.--Melbguy05 (talk) 07:36, 17 July 2020 (UTC)[reply]
Hi Melbguy05! Rather than try to figure out the tortured logic, I just put some hidden categories next to the labels associated with |local=y. You can find the entries in Category:Pages using law enforcement agency with local civilian agency general nature and Category:Pages using law enforcement agency with local civilian police general nature. I also added Category:Pages using law enforcement agency with civilian police general nature, but I don't think you were interested in that one :) Let me know if need more tracking. Thanks! Plastikspork ―Œ(talk) 13:34, 17 July 2020 (UTC)[reply]
Hi @Plastikspork: thanks for the quick reply. The switch code (3) - local civilian agency displayed with local civilian police as (4) didn't check if |police= was blank. I have changed (4) so that it now checks that |police= is blank which means now only local civilian police displays. I think this was the intention of the infobox code author Pee Tern (now Aoziwe), I discussed this a few weeks ago User talk:Aoziwe on their talk trying to understand |local=. An agency that didn't use the word police was termed a local civilian agency.--Melbguy05 (talk) 15:41, 17 July 2020 (UTC)[reply]
@Frietjes and Plastikspork: Hi, I want to check the codes used from Template:Specialist lea type descr in |speciality1= to |speciality6= to perhaps revise the wording and add new ones. From the monthly parameter usage report I can see the unique values for |speciality2= to |speciality5= but not |speciality1= which has over > 50 unique values. Is there another way to see the unique values of |speciality1=? Otherwise, I need to check each of the 216 articles that use |speciality1=. thanks --Melbguy05 (talk) 05:21, 29 January 2021 (UTC)[reply]
@Melbguy05: Here are the pages using the speciality parameters:
Parameter Pages
speciality1 ARAS (Lithuania), Airport Security Police (Bermuda), Airport Security Unit (Hong Kong), Amazonian Guard, Amtrak Police Department, Anti-Corruption Commission (Bangladesh), Anti-Narcotics Force, Armed Police Force (Nepal), Assam Rifles, Australian Border Force, BKA ASE, Bangladesh Coast Guard, Beijing Special Weapons and Tactics Unit, Belfast Harbour Police, Border Force, Border Guard (Poland), Border Guard Command (Iran), Border Police of Georgia, Border Police of North Macedonia, Border Protection Troops, Border Service of the Federal Security Service of the Russian Federation, Brigada Especial Operativa Halcón, Brigade Speciale Beveiligingsopdrachten, British Transport Police, Bundesgrenzschutz, California Exposition and State Fair Police, California Highway Patrol, Canadian National Police Service, Canadian Pacific Police Service, Central Anticorruption Bureau, Central Motorway Police Group, Centre for Combating Extremism, China Coast Guard, Citizenship and Migration Board (Estonia), Civil Guard (Spain), Co-op City Department of Public Safety, Coast Guard (Albania), Coast Guard (Russia), Coast Guard Administration (Taiwan), Colombia Migration, Commission Against Corruption (Macau), Compagnies Républicaines de Sécurité, Compañía de Tropas de Operaciones Especiales, Connecticut State Environmental Conservation Police, Corps of the Port Captaincies – Coast Guard, Corrupt Practices Investigation Bureau, Corruption Eradication Commission, Counter-terrorism Rapid Response, Croatian Coast Guard, Cuerpo Guardia de Infantería, Customs Operational Battle Force Response Assault, Customs Surveillance Service, Cyprus Port and Marine Police, Detachment 88, Dienst Speciale Interventies, Direction centrale de la police aux frontières, Directorate General of Customs and Excise (Indonesia), Directorate General of Marine and Fisheries Resources Surveillance (Indonesia), Directorate General of Taxes (Indonesia), Directorate-General of Customs and Indirect Taxes, Dutch Caribbean Coast Guard, Economic and Financial Crimes Commission, Enforcement Directorate, Estonian Border Guard, Federal Air Marshal Service, Federal Police Special Units, Federal Protective Service (Russia), Federal Railroad Police, Federal Service for Alcohol Market Regulation, Finnish Border Guard, Finnish Customs, Florida Fish and Wildlife Conservation Commission, Force One (police), Foreigners and Borders Service, Frontier Corps, Georgetown University Police Department, German Federal Coast Guard, Gilgit Baltistan Scouts, Government Protection Bureau, Government Railway Police, Groupe de sécurité de la présidence de la République, Grupo Alacrán, Grupo Albatros, Grupo Especial Uno, Grupo Especial de Operaciones Federales (Argentina), Guarda Fiscal, Guardia di Finanza, Havering Parks Constabulary, Her Majesty's Customs (Gibraltar), IRS Criminal Investigation, Icelandic special forces, Immigration Enforcement, Imperial Guard (Japan), Independent Commission Against Corruption (Hong Kong), Independent Commission Against Corruption (New South Wales), Indonesia Forest Rangers, Indonesian Maritime Security Agency, Indonesian Sea and Coast Guard, Institutional Protection Service, Internal Security Forces, Iowa Department of Transportation Motor Vehicle Enforcement Agency, Iranian Diplomatic Police, Iranian Traffic Police, Israel Anti-Drug Authority, Israel Border Police, Kenya Coast Guard Service, Khyber Pakhtunkhwa Police, Library of Congress Police, Lithuanian State Border Guard Service, Main Directorate for Drugs Control, Main Directorate for Traffic Safety, Maine Capitol Police, Malaysian Anti-Corruption Commission, Malaysian Maritime Enforcement Agency, Malaysian Special Branch, Marine Region, Maritime Border Command (Australia), Massachusetts Institute of Technology Police Department, Metropolitan Manila Development Authority, Ministry of Internal Affairs (Udmurtia), Mobile Brigade Corps, Moldovan Border Police, National Border Service, National Park Service Law Enforcement Rangers, National Police Intervention Force, Nature Protection Service (Spain), New York City Department of Citywide Administrative Services Police, New York City Department of Environmental Protection Police, New York City Department of Homeless Services Police, New York City Housing Authority Police Department, New York City Human Resources Administration Police Department, New York City Parks Enforcement Patrol, New York State Department of Environmental Conservation Police, New York State Forest Rangers, New York State Park Police, Northern Ireland Security Guard Service, Norwegian Coast Guard, Norwegian Police Security Service, Nucleo Operativo Centrale di Sicurezza, OMON, Organisation for Counter Terrorist Operations, Parks Police Service, Pennsylvania Capitol Police, People's Armed Police, Perm Krai, Philippine Coast Guard, Philippine Constabulary, Podlaski Border Guard Regional Unit, Police Integrity Commission, Police and Border Guard Board, Polícia Judiciária, Port Authority of New York and New Jersey Police Department, Public Force of Costa Rica, Puerto Rico Natural Resources Ranger Corps, RENEA, Raggruppamento Operativo Speciale, Rapid Action Battalion, Rapid Action Force, Rapid Deployment Unit, Research and Intervention Brigade, Rhode Island Capitol Police, Royal Marechaussee, SEPTA Transit Police, SOBR, Santa Clara County Department of Protective Services, Security Police (Japan), Serious Fraud Office (New Zealand), Serious Fraud Office (United Kingdom), Service de la protection, Service national de la police ferroviaire, Sevastopol Police, Shin Bet, Smithsonian Institution Office of Protection Services, Special Action Force, Special Operations Command (Singapore), Special Operations Group (Jammu and Kashmir), Special Protection Group, Special Purpose Police Unit, Special State Protection Service of Georgia, Special Suppressive Antiterrorist Unit (Greece), Special Tactical Squad, Sri Lanka Coast Guard, State Border Guard Service of Ukraine, State Service for Medications and Drugs Control, State Surveillance and Defense Police, Swedish Coast Guard, Tennessee Valley Authority Police, Thunder Squad, Trup Tindakan Cepat, U.S. Immigration and Customs Enforcement, UK Border Agency, UNGERIN, Ukrainian Sea Guard, Unidad Especial de Intervención, United States Border Patrol, United States Park Police, United States Postal Inspection Service, United States Secret Service, Unité permanente anticorruption, University of the Philippines Diliman Police, VIP Protection Unit, Via Rail Police Service, Victoria Transit Patrol, Volgograd Oblast Police, West Midlands Serious Crime Squad, Wisconsin Capitol Police, Zentrale Unterstützungsgruppe Zoll, Zollkriminalamt
speciality2 Armed Police Force (Nepal), Australian Border Force, Border Guard (Poland), Border Guard Command (Iran), Border Police of Georgia, Citizenship and Migration Board (Estonia), Civil Guard (Spain), Cuerpo Guardia de Infantería, Customs Operational Battle Force Response Assault, Customs Surveillance Service, Enforcement Directorate, Federal Air Marshal Service, Finnish Border Guard, Florida Fish and Wildlife Conservation Commission, Frontier Corps, Grupo Albatros, Guarda Fiscal, Guardia di Finanza, Iranian Diplomatic Police, Iranian Traffic Police, Lithuanian State Border Guard Service, Mobile Brigade Corps, OMON, People's Armed Police, Public Force of Costa Rica, Puerto Rico Natural Resources Ranger Corps, Royal Marechaussee, Serious Fraud Office (New Zealand), Serious Fraud Office (United Kingdom), Special Operations Command (Singapore), Special Security and Protection Battalion, U.S. Immigration and Customs Enforcement, UK Border Agency, UNGERIN, Wisconsin Capitol Police, Zentrale Unterstützungsgruppe Zoll
speciality3 Australian Border Force, Border Guard (Poland), Border Guard Command (Iran), Civil Guard (Spain), Finnish Border Guard, Florida Fish and Wildlife Conservation Commission, Guarda Fiscal, Guardia di Finanza, OMON, Puerto Rico Natural Resources Ranger Corps, UNGERIN
speciality4 Border Guard Command (Iran), Florida Fish and Wildlife Conservation Commission, Guardia di Finanza, OMON, Puerto Rico Natural Resources Ranger Corps
speciality5 OMON
I know you asked for sample values, and this is just a list of the articles. I will work on generating a list of all unique values shortly. Thanks! Plastikspork ―Œ(talk) 22:59, 3 February 2021 (UTC)[reply]

Facilities header: separate parameters with a new header Equipment

[edit]

The header for vehicles, boats, aircraft and animals parameters is "Facilities". I propose separating these with a new header "Equipment". This leaves stations, airbases and lockups parameters which are buildings with the Facilities header. I created a test case. Some definitions of facilities do include equipment. I prefer a precise heading. The documentation advises editors they can use the buildings parameters for equipment as well. The usage report shows that |lockuptype= does not have any equipment values so separating shouldn't affect any articles.--Melbguy05 (talk) 08:21, 10 February 2021 (UTC)[reply]

Colours parameter

[edit]

Hi @Procrastinater: I reverted your edit to the infobox as you removed the |Dissolved= parameter. What is the purpose of the new parameter you wish to add |Colours=? In the future instead of changing the live infobox you can use the infobox sandbox Template:Infobox law enforcement agency/sandbox for testing and view your changes at Template:Infobox law enforcement agency/testcases. Regards, Melbguy05 (talk) 12:57, 19 September 2023 (UTC)[reply]

Overviewed by?

[edit]

Should read “overseen by” or “supervised by”. An overview is a summary. Kaihsu (talk) 22:33, 8 March 2024 (UTC)[reply]

@Kaihsu: Changed it to "Overseen by". Melbguy05 (talk) 07:22, 11 March 2024 (UTC)[reply]
Thanks. There are still: Overseen by {{{overseetype}}} {{{overviewbody}}}{{{overseebody}}}
The noun is “oversight”. Kaihsu (talk) 07:26, 11 March 2024 (UTC)[reply]
Is {{{overviewbody}}} correct? Kaihsu (talk) 19:41, 13 March 2024 (UTC)[reply]
OMG UCSD Kaihsu, I knew it would happen some day! Plastikspork ―Œ(talk) 13:26, 3 May 2024 (UTC)[reply]

@Plastikspork: Hi, you helped me with tracking a few years ago. I was hoping you might be able to help again. I need a tracking category for |overviewbody=. I am replacing |overviewbody= with |oversightbody=. I have been using the TemplateData monthly parameter usage report to find articles using |overviewbody=. Thanks Melbguy05 (talk) 08:57, 3 May 2024 (UTC)[reply]

Melbguy05, sure I have added Category:Pages using infobox law enforcement agency with overviewbody parameter for you. Thanks! Plastikspork ―Œ(talk) 13:23, 3 May 2024 (UTC)[reply]