Jump to content

User:Xiaomingyan/test/doc

From Meta, a Wikimedia project coordination wiki

Function

[edit]

Purpose

[edit]

Infobox law enforcement agency is an infobox template for use in articles on individual law enforcement agencies.

The template provides an overview of key:

  • structural
  • jurisdictional
  • operational characteristics

of a law enforcement agency.

Automatic categorisation

[edit]

This template automatically categorises the article it is placed into. An including article will be categorised into one or more categories according to the law enforcement agency article categorisation standards of the Law Enforcement Wikiproject. These categories will be set if the law enforcement agency's relevant parameter values are used in the template. Automatic categorisation is currently undergoing enhancement, as of 7 November 2008, and not all of this categorisation is currently being done automatically.

The template allows for country names which are usually pre-empted with a 'the' for example specifying United Kingdom will result in the template using the United Kingdom. Do not specify the/The United Kingdom as a parameter value.

The template allows for some common category naming which does not comply to the above standard, for example, using in instead of of, and putting the State name first as in 'state' law enforcement agencies.

Cautions

[edit]

If a new combination of parameters is used, then the expected category for automatic categorisation might not exist. If so, manually create the necessary category. This is a once off process. See also Deficiencies - Automatic categorisation below.

There might be problems when (very) non standard naming conventions have been used for existing categories. These non standard named categories will slowly disappear over time and become deprecated, being replaced by standard named ones.

Deficiencies

[edit]

Automatic categorisation

[edit]

If no existing category can be identified for the relevant required categorisation, then the least standard / least preferred category name structure might be "red linked". The standard for category naming should be used, NOT necessarily the "red linked" form.

Parameter checking

[edit]

This template does NOT cross check parameters for nonsensical combinations of parameters or missing mandatory parameters.

Acknowledgements

[edit]

This template was initially inspired by {{Infobox Government agency}}, February 2008.

Usage

[edit]

The following skeleton can be copied and edited into an article. For a description of each parameter, see Template parameters, below.

The skeleton contains some abbreviations for the sake of brevity and these are not actual wiki text. Accordingly they need to be edited or removed as follows:

  • Remove the ' . . up to N' comments altogether.
  • Replace the template list sub skeletons, for example as shown for the international parameter, with a list of names, or with the number of things.

See the examples below for how the skeleton will look after being copied and edited.

Skeleton

[edit]
{{User:Xiaomingyan/test
|agencyname      = 
|nativename      = 
|nativenamea     = 
|nativenamer     = 
|commonname      = 
|abbreviation    = 
|fictional       = 
|patch           = 
|patchcaption    = 
|logo            = 
|logocaption     = 
|badge           = 
|badgecaption    = 
|flag            = 
|flagcaption     = 
|imagesize       = 
|motto           = 
|mottotranslated = 
|formedyear      = 
|formedmonthday  = 
|preceding1      = 
 (...up to 6...)
|dissolved       = 
|superseding     = 
|employees       = 
|volunteers      = 
|budget          = 
|legalpersonality = 
|country         = 
|countryabbr     = 
|national        = 
|federal         = 
|international   = NNN or {{collapsible list |title=NNN |[[country1]] . . |[[countryNNN]]}}
|divtype         = 
|divname         = 
|divdab          = 
|subdivtype      = 
|subdivname      = 
|subdivdab       = 
|map             = 
|mapcaption      = 
|dmap            =
|sizearea        = 
|sizepopulation  = 
|legaljuris      = 
|governingbody   = 
|governingbodyscnd = 
|constitution1   = 
 (...up to 6...)
|police          = 
|local           = 
|military        = 
|paramilitary    =
|provost         = 
|gendarmerie     = 
|religious       = 
|speciality1     = 
 (...up to 6...)
|secret          = 
|overviewtype    = 
|overviewbody    = 
|headquarters    = 
|hqlocmap        = 
|hqlocmapwidth   = 
|hqlocmapheight  = 
|hqlocmapborder  = 
|hqlocleft       = 
|hqloctop        = 
|hqlocmappoptitle = 
|sworntype       = 
|sworn           = 
|unsworntype     = 
|unsworn         = 
|unsworntype1    =
|unsworn1        =
|multinational   = NNN or {{collapsible list |title=NNN |[[country1]] . . |[[countryNNN]]}}
|electeetype     = 
|minister1name   = 
|minister1pfo    = 
 (...up to 6...)
|chief1name      = 
|chief1position  = 
 (...up to 6...)
|parentagency    = 
|child1agency    = 
 (...up to 6...)
|unittype        = 
|unitname        = NNN or {{collapsible list |title=NNN |[[Unit1]] . . |[[UnitNNN]]}}
|officetype      = 
|officename      = NNN or {{collapsible list |title=NNN |[[Office1]] . . |[[OfficeNNN]]}}
|provideragency  = 
|uniformedas     = 
|stationtype     = 
|stations        = NNN or {{collapsible list |title=NNN |[[Station1]] . . |[[StationNNN]]}}
|airbases        = NNN or {{collapsible list |title=NNN |[[Airbase1]] . . |[[AirbaseNNN]]}}
|lockuptype      = 
|lockups         = NNN or {{collapsible list |title=NNN |[[Lockup1]] . . |[[LockupNNN]]}}
|vehicle1type    = 
|vehicles1       = NNN or {{collapsible list |title=NNN |[[Vehicle1]] . . |[[VehicleNNN]]}}
 (...up to 3...)
|boat1type       = 
|boats1          = NNN or {{collapsible list |title=NNN |[[Boat1]] . . |[[BoatNNN]]}}
 (...up to 3...)
|aircraft1type   = 
|aircraft1       = NNN or {{collapsible list |title=NNN |[[Aircraft1]] . . |[[AircraftNNN]]}}
 (...up to 3...)
|animal1type     = 
|animals1        = NNN or {{collapsible list |title=NNN |[[Animal1]] . . |[[AnimalNNN]]}}
 (...up to 3...)
|person1name     = 
|person1reason   = 
|person1type     = 
 (...up to 6...)
|programme1      = 
 (...up to 6...)
|activity1name   = 
 (...up to 6...)
|activitytype    = 
|anniversary1    = 
 (...up to 6...)
|award1          = 
 (...up to 6...)
|patronsaint     =
|website         = 
|footnotes       = 
|reference       = 
}}

Information box width

[edit]

Some articles may benefit from having a narrower information box than the one generated by default.

Adding

|narrowerbox     = Yes

will reduce the width of the generated information box.

Note this might cause the length of the generated information box to increase, due to increased text wrap within table cells in the information box. Editors should take care to check the presentation of the information box if they add or remove this parameter.

Alternative skeleton

[edit]

Use this alternative if you prefer a skeleton with underscored parameter names instead of concatenated parameter names.

Example usage

[edit]

The text of the presented template instantiations in the examples below has been manually wrapped to get a better fit in the browser frame. Do not add unnecessary new lines when using the template. Varying frame width and screen resolution, then you might still get "overflow" from one example to the next example, etc., when viewing this documentation.

User:Xiaomingyan/test/logo
New York City Police Department
Common name New York Police Department
Abbreviation NYPD
格言 Fidelis ad Mortem
Agency overview
Formed 1845
Preceding agency Municipal Police
Legal personality Governmental: Government agency
Jurisdictional structure
Operations jurisdiction* City of User:Xiaomingyan/test/paramdab in the state of User:Xiaomingyan/test/paramdab, United States
General nature
Operational structure
Sworn members 36,127 (November, 2007)
Elected officer responsible Raymond Kelly, Commissioner
Agency executive Joseph Esposito, Chief of Police
Units Template:Collapsible list
Boroughs Template:Collapsible list
Facilities
Precincts 76
Police boats 9
Helicopters 7
Website
http://www.nyc.gov/html/nypd
Footnotes
* Divisional agency: Division of the country, over which the agency has usual operational jurisdiction.
Note: Data for organisation as at February 2008.
{{User:Xiaomingyan/test
|agencyname      = New York City Police Department
|commonname      = New York Police Department
|abbreviation    = NYPD
|patch           = Law Enforcement WikiProject.png
|flag            = 
|motto           = Fidelis ad Mortem
|mottotranslated = 
|formedyear      = 1845
|preceding1      = Municipal Police
|employees       = 
|budget          = 
|divtype         = State
|divname         = New York
|subdivtype      = City
|subdivname      = New York
|map             = 
|mapcaption      = 
|governingbody   = 
|constitution1   = 
|police          = Yes
|local           = Yes
|headquarters    = 
|sworn           = 36,127 (11, 2007)
|unsworn         = 
|minister1name   = [[Raymond W. Kelly]]
|minister1pfo    = [[Commissioner]]
|chief1name      = [[Joseph Esposito]]
|chief1position  = [[Chief of Police]]
|unitname        = {{collapsible list |Aviation |Emergency Service
 |Organized Crime Control Bureau |Scuba Team and Harbor |Special Victims
 |Major Case Squad |Taxi Squad |Movie and Television |School Safety
 |Real Time Crime |Auxillay Police |Crime Scene |Evidence Collection
 |Transit Bureau |Housing Bureau |Highway Patrol |Transportation Bureau}}
|officetype      = Borough
|officename      = {{collapsible list |Manhattan North |Manhattan South
 |Brooklyn North |Brooklyn South |Queens North |Queens South |Bronx
 |Staten Island}}
|stationtype     = Precinct
|stations        = 76
|boat1type       = Police boat
|boats1          = 9
|aircraft1type   = Helicopter
|aircraft1       = 7
|website         = http://www.nyc.gov/html/nypd
|footnotes       = Data for organisation as at February 2008.
}}

A free use image has been substituted for the actual patch.

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.
Ministry of Public Security
公安部
gōng ān bù
Abbreviation MPS
Agency overview
Legal personality Governmental: Government agency
Jurisdictional structure
National agency People's Republic of China
Governing body State Council
General nature
Operational structure
Headquarters Beijing
Minister responsible Meng Jianzhu, Public Security
Child agencies
Departments Template:Collapsible list
Website
http://www.mps.gov.cn/ (Chinese)
http://www.mps.gov.cn/cenweb/English/index.htm (English)
Footnotes
Data for organisation as at February 2008.
{{User:Xiaomingyan/test
|agencyname      = Ministry of Public Security
|abbreviation    = MPS
|nativename      = 公安部
|nativenamer     = gōng ān bù
|country         = People's Republic of China
|governingbody   = State Council
|national        = Yes
|police          = Yes
|headquarters    = [[Beijing]]
|electeetype     = Minister
|minister1name   = [[Meng Jianzhu]]
|minister1pfo    = Public Security
|child1agency    = [[People's Armed Police]]
|child2agency    = [[Public Security Bureaus]]
|unittype        = Department
|unitname        =
 {{collapsible list |title=14 |Economic Crime Investigation
 |Public Order Administration |Border Control | Criminal Investigatios
 |Exit and Entry Administration |Fire Control |Security Protection
 |Public Information Network Security Supervision
 |Penitentiary Administration |Traffic Control |Legal Affairs
 |International Cooperation |Drug Control |Counter Terrorism}}
|website         =
 http://www.mps.gov.cn/ (Chinese)<br>http://www.mps.gov.cn/
cenweb/English/index.htm (English)
|footnotes       = Data for organisation as at February 2008.
}}

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.
User:Xiaomingyan/test/logo
Lincolnshire Police
{{User:Xiaomingyan/test
|agencyname      = Lincolnshire Police
|patch           =
|patchcaption    =
|badge           = Law Enforcement WikiProject.png
|motto           = 
|mottotranslated = 
|formedyear      = 1946
|preceding1      = Lincolnshire Constabulary
|preceding2      = Boston Police Force
|preceding3      = Grantham Police Force
|preceding4      = Lincoln Police Force
|preceding5      = Grimsby Police Force
|employees       = 
|budget          = £108.6{{Citation needed}}
|country         = United Kingdom
|divtype         = Shire
|divname         = Lincolnshire
|map             = EnglandPoliceLincolnshire.png
|mapcaption      = Jurisdiction over [[Lincolnshire]]
 excluding [[North Lincolnshire]] and [[North East Lincolnshire]].
|sizearea        = 5,921 km²
|sizepopulation  = 646,000
|legaljuris      = [[England]] and [[Wales]]
|governingbody   = 
|constitution1   = 
|police          = Yes
|local           = Yes
|overviewtype    = [[Police authority]]
|overviewbody    = Lincolnshire Police Authority
|headquarters    = [[Nettleham]], [[Lincolnshire]]
|sworn           = 1,234{{Citation needed}}
|unsworn         = 
|electeetype     = 
|minister1name   = 
|minister1pfo    = 
|chief1name      = Tony Lake
|chief1position  = Chief Constable
|officetype      = Division
|officename      = {{collapsible list |title=3 |West |East |South}}
|stations        =
 {{collapsible list |title=11 |Boston |Gainsborough  |Grantham
 |Lincoln |Louth |Mablethorpe |Market Rasen |Skegness |Sleford |Spalding
 |Stamford}}
|website         = http://www.lincs.police.uk/
|footnotes       = Data for organisation as at February 2008.
}}

A free use image has been substituted for the actual badge.

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.

For details on how to set up a snapshot information box, see Snapshot information boxes below.

Europol
Agency overview
Formed July 1, 1999
Legal personality Governmental: Government agency
Jurisdictional structure
International agency
Countries Template:Collapsible list
Map of Europol's jurisdiction.
Governing body European Council
Constituting instruments
General nature
Operational structure
Headquarters The Hague, Netherlands
Multinational agency
Nationalities of personnel Yes
Agency executive Max-Peter Ratzel, Director
Website
http://www.europol.europa.eu/
Footnotes
Data for organisation as at February 2008.
{{User:Xiaomingyan/test
|agencyname      = Europol
|logo            = EUROPOL logo.svg
|logocaption     = Logo of Europol
|formedyear      = 1999
|formedmonthday  = July 1
|constitution1   =
 [http://europa.eu/eur-lex/en/treaties/dat/C_2002325EN.000501.html
 Treaty on Eurpoean Union Title VI]
|constitution2   =
 [http://www.europol.europa.eu/index.asp?page=legalconv
 The Europol Convention]
|country         = European Union
|governingbody   = European Council
|international   =
 {{collapsible list |title=27 |{{flagicon|Austria}}[[Austria]]
 |{{flagicon|Belgium}}[[Belgium]] |{{flagicon|Bulgaria}}[[Bulgaria]]
 |{{flagicon|Cyprus}}[[Cyprus]]
 |{{flagicon|Czech Republic}}[[Czech Republic]]
 |{{flagicon|Denmark}}[[Denmark]] |{{flagicon|Estonia}}[[Estonia]]
 |{{flagicon|Finland}}[[Finland]] |{{flagicon|France}}[[France]]
 |{{flagicon|Germany}}[[Germany]] |{{flagicon|Greece}}[[Greece]]
 |{{flagicon|Hungary}}[[Hungary]]
 |{{flagicon|Ireland}}[[Republic of Ireland|Ireland]]
 |{{flagicon|Italy}}[[Italy]] |{{flagicon|Latvia}}[[Latvia]]
 |{{flagicon|Lithuania}}[[Lithuania]]
 |{{flagicon|Luxembourg}}[[Luxembourg]]
 |{{flagicon|Malta}}[[Malta]] |{{flagicon|Netherlands}}[[Netherlands]]
 |{{flagicon|Poland}}[[Poland]] |{{flagicon|Portugal}}[[Portugal]]
 |{{flagicon|Romania}}[[Romania]] |{{flagicon|Slovakia}}[[Slovakia]]
 |{{flagicon|Slovenia}}[[Slovenia]] |{{flagicon|Spain}}[[Spain]]
 |{{flagicon|Sweden}}[[Sweden]]
 |{{flagicon|United Kingdom}}[[United Kingdom]]}}
|multinational   = Yes
|map             = Europol-members-map.png
|headquarters    = [[The Hague]], [[Netherlands]]
|hqlocmap        = EU_map_brown.svg
|hqlocleft       = 90
|hqloctop        = 132
|employees       = 
|budget          = 
|chief1name      = [[Max-Peter Ratzel]]
|chief1position  = Director
|website         = http://www.europol.europa.eu/
|footnotes       = Data for organisation as at February 2008.
}}

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.
Australian Federal Police
Abbreviation AFP
Agency overview
Formed October 19, 1979
Preceding agencies
Employees 6,036 (30 June 2007)[1]
Volunteers Small numbers for non operations related activity.
Legal personality Governmental: Government agency
Jurisdictional structure
Federal agency Australia
Governing body Parliament of Australia
Constituting instrument Australian Federal Police Act 1979
General nature
Operational structure
Headquarters 68 Northbourne Avenue, Canberra City, ACT 2601, Australia
Sworn members 2,501 (30 June 2007)[1]
Unsworn members 3,535 (30 June 2007)[1]
Minister responsible The Hon Bob Debus MP, Member for Macquarie, Home Affairs
Agency executive Mick Keelty, Commissioner
Functions Template:Collapsible list
Offices Template:Collapsible list
Website
http://www.afp.gov.au/
Footnotes
The Australian Federal Police, while a federal agency, provides direct policing for dependant Australian territories.



Data for organisation as at February 2008.

{{User:Xiaomingyan/test
|agencyname      = Australian Federal Police
|abbreviation    = AFP
|formedyear      = 1979
|formedmonthday  = October 19
|budget          = 
|preceding1      = [[Commonwealth Police]]
|preceding2      = [[Australian Capital Territory Police]]
|preceding3      = [[Federal Bureau of Narcotics]]
|constitution1   =
 [http://www.austlii.edu.au/au/legis/cth/consol_act/afpa1979225
 Australian Federal Police Act 1979]
|country         = Australia
|governingbody   = Parliament of Australia
|federal         = Yes
|police          = footnote
|local           = footnote
|headquarters    = 68 Northbourne Avenue, [[Canberra]] City, ACT 2601,
 [[Australia]]
|employees       = 6,036 ''(30 June 2007)''
<ref>http://www.afp.gov.au/__data/assets/pdf_file/61787/
8_Appendixes.pdf Australian Federal Police Annual Report 2006–07
 Appendix 6</ref>
|volunteers      = Small numbers for non operations related activity.
|sworn           = 2,501 ''(30 June 2007)''
<ref name="afp0607">http://www.afp.gov.au/__data/assets/pdf_file/61787/
8_Appendixes.pdf Australian Federal Police Annual Report 2006–07
 Appendix 6</ref>
|unsworn         = 3,535 ''(30 June 2007)''
<ref name="afp0607">http://www.afp.gov.au/__data/assets/pdf_file/61787/
8_Appendixes.pdf Australian Federal Police Annual Report 2006–07
 Appendix 6</ref>
|electeetype     = Minister
|minister1name   = The Hon Bob Debus MP, Member for Macquarie
|minister1pfo    = Home Affairs
|chief1name      = [[Mick Keelty]]
|chief1position  = [[Commissioner]]
|unittype        = Function
|unitname        =
 {{collapsible list |title=9 |[[Australian Hi-Tech Crime Centre]]
 |Counter Terrorism |Economic and Special Operations |Aviation
 |Border |International |Protection |International Deployment Group
 |intelligence}}
|officetype      = Office
|officename      =
 {{collapsible list |title=9 |Adelaide Office |Brisbane Office
 |Darwin Office |Hobart Office |Melbourne Office |Perth Office
 |Sydney Office |Protective Service, Kingston |Winchester Centre, ACT}}
|website         = http://www.afp.gov.au/
|footnotes       = The Australian Federal Police, while a federal
 agency, provides direct policing for dependant Australian territories.
<br><br>Data for organisation as at February 2008.
}}

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.

Template parameters

[edit]

Template:Infobox law enforcement agency/parameters

Parameter test

[edit]
Agency Name
Native Name
Romanised Agency Name
Common name Common agency name
Abbreviation AN
This is a fictional organisation.

User:Xiaomingyan/test/logo

格言 Motto is a good motto
Motto is better when translated
Agency overview
Formed Formed Month Day, Formed Year
Preceding agencies
  • Absorbed Agency One
  • Absorbed Agency Two
  • Absorbed Agency Three
  • Absorbed Agency Four
  • Absorbed Agency Five
  • Absorbed Agency Six
Dissolved Latember DD, Year
Superseding agency Supersed By Agency
Employees Number of employees
Volunteers Number of volunteers
Annual budget Budget
Legal personality Governmental: Government agency
Jurisdictional structure
National agency
(Operations jurisdiction)
C
Federal agency
(Operations jurisdiction)
C
International agency
Countries Template:Collapsible list
Operations jurisdiction* Sub division type of User:Xiaomingyan/test/paramdab in the division type of User:Xiaomingyan/test/paramdab, C
Size Area km2
Population Population count
Legal jurisdiction As per operations jurisdiction.
Primary governing body Governing Body
Secondary governing body Secondary governing body
Constituting instruments
  • Constituting Instrument One
  • Constituting Instrument Two
  • Constituting Instrument Three
  • Constituting Instrument Four
  • Constituting Instrument Five
  • Constituting Instrument Six
General nature
Specialist jurisdictions
Operational structure
Overviewed by Over View Type Over View Body
Headquarters An address for the agency
Sworn types Number of sworn members
Unsworn types Number of unsworn members
Multinational agency
Nationalities of personnel Template:Collapsible list
Elected officers responsible
  • Minister Named One, portfolio Named One
  • Minister Named Two, portfolio Named Two
  • Minister Named Three, portfolio Named Three
  • Minister Named Four, portfolio Named Four
  • Minister Named Five, portfolio Named Five
  • Minister Named Six, portfolio Named Six
Agency executives
  • Name of Chief One, Title of Chief One
  • Name of Chief Two, Title of Chief Two
  • Name of Chief Three, Title of Chief Three
  • Name of Chief Four, Title of Chief Four
  • Name of Chief Five, Title of Chief Five
  • Name of Chief Six, Title of Chief Six
Parent agency Parent Agency Name
Child agencies
  • Child Agency One
  • Child Agency Two
  • Child Agency Three
  • Child Agency Four
  • Child Agency Five
  • Child Agency Six
Unit Types Template:Collapsible list
Office Types Template:Collapsible list
Services provided by Providing Agency
Uniformed as Uniformed as Agency
Facilities
Station Types Number of stations
Airbases Template:Collapsible list
Lockup Types Number of lockups
Vehicle One Types Number of vehicle ones
Vehicle Two Types Number of vehicle twos
Vehicle Three Types Number of vehicle threes
Boat One Types Number of boat ones
Boat Two Types Template:Collapsible list
Boat Three Types Number of boat threes
Aircraft Type Ones Number of aircraft ones
Aircraft Type Twos Number of aircraft twos
Aircraft Type Threes Number of aircraft threes
Animal One Types Template:Collapsible list
Animal Two Types Template:Collapsible list
Animal Three Types Number of animal threes
Website
http://www.website.agency.gov
Footnotes
* Divisional agency: Division of the country, over which the agency has usual operational jurisdiction.
Note: Footnotes
 See the reference[2] below for the source of the above data.
{{User:Xiaomingyan/test
|agencyname      = Agency Name
|nativename      = Native Name
|nativenamea     = 
|nativenamer     = Romanised Agency Name
|commonname      = Common agency name
|abbreviation    = AN
|fictional       = Yes
|patch           = Law Enforcement WikiProject.png
|patchcaption    = Caption for patch
|logo            = 
|logocaption     = Caption for logo
|badge           = 
|badgecaption    = Caption for badge
|flag            =
|flagcaption     = Caption for flag
|motto           = Motto is a good motto
|mottotranslated = Motto is better when translated
|formedyear      = Formed Year
|formedmonthday  = Formed Month Day
|preceding1      = Absorbed Agency One
|preceding2      = Absorbed Agency Two
|preceding3      = Absorbed Agency Three
|preceding4      = Absorbed Agency Four
|preceding5      = Absorbed Agency Five
|preceding6      = Absorbed Agency Six
|dissolved       = Latember DD, Year
|superseding     = Supersed By Agency
|employees       = Number of employees
|volunteers      = Number of volunteers
|budget          = Budget
|nongovernment   =
|country         = Country
|countryabbr     = C
|national        = Yes
|federal         = Yes
|international   =
 {{collapsible list |title=4 |country1 |country2
 |country3 |country4}}
|divtype         = Division type
|divname         = Name of division
|divdab          =
|subdivtype      = Sub division type
|subdivname      = Name of subdivision
|subdivdab       = Disambiguation of sub division
|map             = 
|mapcaption      = Caption for jurisdiction map
|sizearea        = Area km<sup>2</sup>
|sizepopulation  = Population count
|legaljuris      = opsjuris
|governingbody   = Governing Body
|governingbodyscnd = Secondary governing body
|constitution1   = Constituting Instrument One
|constitution2   = Constituting Instrument Two
|constitution3   = Constituting Instrument Three
|constitution4   = Constituting Instrument Four
|constitution5   = Constituting Instrument Five
|constitution6   = Constituting Instrument Six
|police          = Yes
|local           = footnote
|military        = Yes
|religious       = footnote
|speciality1     = water
|speciality2     = rail
|speciality3     = road
|speciality4     = education
|speciality5     = vehicle
|speciality6     = envher
|overviewtype    = Over View Type
|overviewbody    = Over View Body
|headquarters    = An address for the agency
|hqlocmap        =
|hqlocleft       = 
|hqloctop        = 
|hqlocmappoptitel = Pop up map title.
|sworntype       = Sworn type
|sworn           = Number of sworn members
|unsworntype     = Unsworn type
|unsworn         = Number of unsworn members
|multinational   =
 {{collapsible list |title=4 |countryA |countryB
 |countryC |countryD}}
|minister1name   = Minister Named One
|minister1pfo    = portfolio Named One
|minister2name   = Minister Named Two
|minister2pfo    = portfolio Named Two
|minister3name   = Minister Named Three
|minister3pfo    = portfolio Named Three
|minister4name   = Minister Named Four
|minister4pfo    = portfolio Named Four
|minister5name   = Minister Named Five
|minister5pfo    = portfolio Named Five
|minister6name   = Minister Named Six
|minister6pfo    = portfolio Named Six
|chief1name      = Name of Chief One
|chief1position  = Title of Chief One
|chief2name      = Name of Chief Two
|chief2position  = Title of Chief Two
|chief3name      = Name of Chief Three
|chief3position  = Title of Chief Three
|chief4name      = Name of Chief Four
|chief4position  = Title of Chief Four
|chief5name      = Name of Chief Five
|chief5position  = Title of Chief Five
|chief6name      = Name of Chief Six
|chief6position  = Title of Chief Six
|parentagency    = Parent Agency Name
|child1agency    = Child Agency One
|child2agency    = Child Agency Two
|child3agency    = Child Agency Three
|child4agency    = Child Agency Four
|child5agency    = Child Agency Five
|child6agency    = Child Agency Six
|unittype        = Unit Type
|unitname        =
 {{collapsible list |title=4 |Unit Name 1 |Unit Name 2
 |Unit Name 3 |Unit Name 4}}
|officetype      = Office Type
|officename      =
 {{collapsible list |title=4 |Office1 |Office2 |Office3
 |Office4}}
|provideragency  = Providing Agency
|uniformedas     = Uniformed as Agency
|stationtype     = Station Type
|stations        = Number of stations
|lockuptype      = Lockup Type
|lockups         = Number of lockups
|vehicle1type    = Vehicle One Type
|vehicles1       = Number of vehicle ones
|vehicle2type    = Vehicle Two Type
|vehicles2       = Number of vehicle twos
|vehicle3type    = Vehicle Three Type
|vehicles3       = Number of vehicle threes
|boat1type       = Boat One Type
|boats1          = Number of boat ones
|boat2type       = Boat Two Type
|boats2          =
 {{collapsible list |title=Number of boat twos |Sea Goer
 |Water Glider |Always Afloat}}
|boat3type       = Boat Three Type
|boats3          = Number of boat threes
|aircraft1type   = Aircraft Type One
|aircraft1       = Number of aircraft ones
|aircraft2type   = Aircraft Type Two
|aircraft2       = Number of aircraft twos
|aircraft3type   = Aircraft Type Three
|aircraft3       = Number of aircraft threes
|animal1type     = Animal One Type
|animals1        =
 {{collapsible list |title=Number of animal ones |Fido
 |Defor |Spot |Getim }}
|animal2type     = Animal Two Type
|animals2        =
 {{collapsible list |title=Number of animal twos
 |Sire's Pride |Mare's Joy |Equinus }}
|animal3type     = Animal Three Type
|animals3        = Number of animal threes
|person1name     = Notable Person One
|person1reason   = reason one
|person2name     = Notable Person Two
|person2type     = Person Type Two
|person3name     = Notable Person Three
|person3reason   = reason three
|person3type     = Person Type Three
|person4name     = Notable Person Four
|person4reason   = reason four
|person5name     = Notable Person Five
|person5type     = Person Type Five
|person6name     = Notable Person Six
|person6reason   = reason six
|person6type     = Person Type Six
|programme1      = Programme One
|programme2      = Programme Two
|programme3      = Programme Three
|programme4      = Programme Four
|programme5      = Programme Five
|programme6      = Programme Six
|activity1name   = Activity One
|activity2name   = Activity Two
|activity3name   = Activity Three
|activity4name   = Activity Four
|activity5name   = Activity Five
|activity6name   = Activity Six
|activitytype    = action
|anniversary1    = Anniversary One
|anniversary2    = Anniversary Two
|anniversary3    = Anniversary Three
|anniversary4    = Anniversary Four
|anniversary5    = Anniversary Five
|anniversary6    = Anniversary Six
|award1          = Award One
|award2          = Award Two
|award3          = Award Three
|award4          = Award Four
|award5          = Award Five
|award6          = Award Six
|patronsaint     = Patron saint
|website         = http://www.website.agency.gov
|footnotes       = Footnotes
|reference       = Reference for the data
}}

This text has been manually and artificially wrapped for presentation
purposes. Do not add any unnecessary new lines when using the template.

Notes for template editors

[edit]

Snapshot information boxes

[edit]

To put a snapshot copy of the information box from a main article for a law enforcement agency in an article related to the law enforcement agency:

  1. Instead of adding the template to the law enforcement agency's (main) article, create a new template using the Infobox law enforcement agency template, for example Template:Foo City Police.
  2. Copy the following parameter instantiations into the Infobox law enforcement agency template call in Template:Foo City Police:
    | sharedcat = Foo City Police
    | infotype = {{{infotype|related}}}
    | subname = {{{subname|}}}
    | doc = {{{doc|<noinclude>doc</noinclude>}}}
  3. Create the category Category:Foo City Police, so that all articles related to Foo City Police can be categorised together. The categorisation of the main and related articles will then be done automatically by the template.
  4. Add {{Foo City Police |infotype=main}} to the main article for Foo City Police.
  5. Add {{Foo City Police}} to the articles related to Foo City Police.
  6. Also, for example, include:
    | subname = Training Academy
    in the Foo City Police Training Academy article to properly place the article within the Foo City Police category page.

Also categorise the new Foo City Police template into Category:Snapshotinfoboxes for law enforcement agencies.

If any images for patch, logo, badge, flag are provided, then the first image in this list is placed in the noncollapsible section of the infobox and any further images are placed in the collapsible section of the infobox by the template.

Usage for snapshot information boxes

[edit]

Usage for the Foo City Police snapshot information box template will be:

User:Xiaomingyan/test/snapshotinfoboxusage

This is available via {{Infobox law enforcement agency/snapshotinfoboxusage |Foo City Police}}.

Automatic categorisation

[edit]

The automatic bulk categorisation is done by the sub template Template:Infobox law enforcement agency/autocat.

The automatic single categorisation, for a snapshot information box, is done in the main template.

Automatic categorisation can be turned off by setting the doc parameter to any value. This parameter is not documented above, and is not for use in articles. The doc parameter should only be used for documentation purposes, for example in the template use examples to turn off categorisation of the documentation and the template, etc.

If the template cannot find a geographic category for the article, country sub division, country division, or country, then the article is placed in to the hidden category Category:Law enforcement agency articles with no available geographic category.

Automatic disambiguation

[edit]

The automatic disambiguation is done by the sub template Template:Infobox law enforcement agency/paramdab:

{{paramdab |paramdab|param|paramtype|paramarea|abbr}}. Only parameter 2 is mandatory.

A disambiguable parameter, param, will be disambiguated by the template if possible.

A disambiguable parameter, param, can have its disambiguation set by using the corresponding parameter, paramdab.

The template will try, in order:

  1. [[paramdab|param]]
  2. [[param (Paramtype)|param]]
  3. [[param (paramtype)|param]]
  4. [[param, Paramarea|param]]
  5. [[param (abbr paramtype)|param]]
  6. [[param]]

If there is no link available the article is placed into the hidden category Category:Law enforcement agency articles with no operations jurisdiction link.

Regression testing

[edit]

To assist in the testing of changes to existing parameters, temporarily add the following to the entry point template:

{{#if:{{{parameter|}}}|[[Category:Infobox law enforcement agency parameter use]]}}

This will allow the quick checking of articles which use the relevant parameter via the hidden category Category:Infobox law enforcement agency parameter use.

Checklists for template editors

[edit]

Adding or modifying a parameter:

Template administration categories

[edit]

The following are hidden categories which are used to help administer this template:

Structure of template call relationships

[edit]

Sub calls

[edit]
{{Infobox law enforcement agency}}
agencyclass = enforcement
{{Infobox Corrections agency}}
agencyclass = correction
{{Infobox Probation agency}}
agencyclass = probation
{{Infobox law enforcement agency/main}}
{{Infobox law enforcement agency/autocat}} {{Infobox law enforcement agency/paramdab}} {{Infobox law enforcement agency/logo}}
{{Infobox law enforcement agency/autocat specialist}} {{Infobox law enforcement agency/autocat geography}}
{{Infobox law enforcement agency/autocat geography}}

Para calls

[edit]
{{Infobox law enforcement agency/autocat geography}} {{Infobox law enforcement agency/autocat subdivision}}
{{Infobox law enforcement agency/autocat typesubdivision}}
{{Infobox law enforcement agency/autocat division}}
{{Infobox law enforcement agency/autocat typedivision}}
{{Infobox law enforcement agency/autocat country}}

References

[edit]
  1. a b c http://www.afp.gov.au/__data/assets/pdf_file/61787/8_Appendixes.pdf Australian Federal Police Annual Report 2006–07 Appendix 6
  2. Reference for the data

Template:Organization infoboxes