User:Melbguy05/Infobox law enforcement unit/sandbox
Appearance
This is the sandbox page for User:Melbguy05/Infobox law enforcement unit (diff). See also the companion subpage for test cases. |
This template uses Lua: |
Usage
[edit]A law enforcement unit infobox may be used to summarize information about an individual law enforcement unit or formation, such as command, division, district or department.
{{{unit_name}}} | |
---|---|
{{{native_name}}} {{{native_namea}}} {{{native_namer}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Active | {{{dates}}} |
Country | {{{country}}} |
Agency | {{{agency}}} |
Type | {{{type}}} |
Role | {{{role}}} |
Operations jurisdiction | {{{ops_juris}}} |
Part of | {{{command_structure}}} |
Headquarters | {{{headquarters}}} {{{coordinates}}} |
Motto | {{{motto}}} |
Common name | {{{common_name}}} |
Abbreviation | {{{abbreviation}}} |
Structure | |
{{{sworn_type_label}}} | {{{sworn}}} |
{{{unsworn_type_label}}} | {{{unsworn}}} |
{{{subunit_type_label}}} | {{{subunits}}} |
{{{station_type_label}}} | {{{stations}}} |
Commanders | |
Current commander | {{{current_commander}}} |
Notable commanders | {{{notable_commanders}}} |
Notables | |
Program(s) |
|
Significant operation(s) | {{{significant_operations}}} |
Anniversaries | {{{anniversaries}}} |
Awards | {{{awards}}} |
Equipment | |
Vehicles | {{{vehicles}}} |
Boats | {{{boats}}} |
Aircraft | {{{aircraft}}} |
Animals | {{{animals}}} |
Website | |
{{{website}}} |
{{Infobox law enforcement unit | unit_name = | native_name = | native_namea = | native_namer = | image = | image_size = | alt = | caption = | dates = | country = | agency = | type = | role = | ops_juris = | command_structure = | headquarters = | coordinates = | motto = | motto_translated = | common_name = | abbreviation = <!-- Structure --> | sworn_type_label = | sworn = | unsworn_type_label = | unsworn = | subunit_type_label = | subunits = | station_type_label = | stations = <!-- Commanders --> | current_commander = | notable_commanders = <!-- Notables --> | programs = <!-- or | programmes = --> | significant_operations = | anniversaries = | awards = <!-- Equipment --> | vehicles = | boats = | aircraft = | animals = <!--Website --> website = }}
Example
[edit]National Gendarmerie Intervention Group | |
---|---|
Groupe d'intervention de la Gendarmerie nationale (French) | |
Active | 1974–present |
Country | France |
Agency | National Gendarmerie |
Type | Police tactical unit |
Role | |
Operations jurisdiction |
|
Headquarters | Satory, Yvelines, France |
Motto | "S'engager pour la vie" "To enlist for life" |
Abbreviation | GIGN |
Structure | |
Operatives | Approx. 387 |
Commanders | |
Current commander | Général de Brigade Laurent Phélip |
Notable commanders | |
Notables | |
Significant operation(s) |
|
Awards | Croix de la Valeur Militaire |
<!-- NOTE: This may differ from the actual GIGN infobox in order to provide an example. --> {{Infobox law enforcement unit | unit_name = National Gendarmerie Intervention Group | native_name = {{native name|fr|Groupe d'intervention de la Gendarmerie nationale}} | image = Law Enforcement WikiProject.svg | image_size = 140px | alt = Law Enforcement WikiProject | caption = Law Enforcement WikiProject | dates = 1974–present | country = {{flag|France}} | agency = [[File:Gendarmerie_nationale_logo.svg|20px]] [[National Gendarmerie]] | type = [[Police tactical unit]] | role = {{Plainlist}} * [[Counter-terrorism]] * [[Law enforcement]] * [[Special operations]] {{Endplainlist}} | ops_juris ={{Plainlist}} * National * International {{Endplainlist}} | headquarters = [[Satory]], [[Yvelines]], [[France]] | motto = "''S'engager pour la vie''{{-"}} | motto_translated = To enlist for life | abbreviation = GIGN <!-- Structure --> | sworn_type_label = Operatives | sworn = Approx. 387 | unsworn_type_label = <!-- Commanders --> | current_commander = [[Brigadier general#France|Général de Brigade]] Laurent Phélip | notable_commanders = {{Plainlist}} * [[File:Legion Honneur Officier ribbon.svg|30px|alt=Officer of the Legion of Honour|link=Legion of Honour]] [[Christian Prouteau]] * [[File:Legion Honneur Commandeur ribbon.svg|30px|alt=Commander of the Legion of Honour|link=Legion of Honour]] [[Denis Favier]] ([[:fr:Denis Favier|fr]]) {{Endplainlist}} <!-- Notables --> | significant_operations = {{Plainlist}} * [[January 2015 Île-de-France attacks|2015 Île-de-France attacks]] (2015) * [[Air France Flight 8969]] hijacking (1994) * [[Ouvéa cave hostage taking|Ouvéa cave hostage recovery]] (1988) * [[Grand Mosque seizure]] (1979) * [[Loyada]] hostage recovery (1976) {{Endplainlist}} | awards = [[File:Croix de la Valeur Militaire ribbon.svg|45px|alt=|link=]] {{lang|fr|[[Cross for Military Valour|Croix de la Valeur Militaire]]}} <!-- Equipment --> <!--Website --> }}
Parameter names and description
[edit]Parameter name | Required | Description | Values |
---|---|---|---|
unit_name | yes | Name of the unit. Defaults to the name of the article (PAGENAME) if not provided. | Text. Do not link. |
native_name | no | Unit name in a native language using Western characters (French, German, Spanish, etc.), such as Port Lotniczy im. Fryderyka Chopina. Can also be used for two different names in the same language. Use {{Native name}}. | Text. |
native_namea | no | Unit name in a native language with non-Western characters (Chinese, Japanese, Korean, Arabic, etc.), such as 北京首都国际机场. Use {{Native name}}. | Text. |
native_namer | no | Use in conjunction with native_namea for Romanized name of the unit, such as Běijīng Shǒudū Guójì Jīcháng. Use {{Native name}}. | Text. |
image | no | An image of the unit insignia (logo, patch or badge), if available. | Image file name. |
image_size | no | Size in px of the image. Defaults to 140. | Single number. |
alt | no | Alternative text for visually impaired users, see WP:ALT. | Text. Do not link. |
caption | no | The text to be placed below the image. | Text. Do not link. |
dates | no | The dates that the unit has been or was active; the dates can be indicated by using {{Start date}} (and {{End date}} if required). | Text. Manual of Style Dates |
country | no | If the unit is part of a law enforcement agency of a sovereign state, the name of that state. | Text. Do not link. The template will link. |
agency | no | The name of the unit's parent law enforcement agency, e.g. FBI, NYPD, etc. | Optionally linked text. |
type | no | The general type of unit, e.g. police tactical unit, riot police, water police, transit police, etc. | Optionally linked text. |
role | no | Specializations, typical strategic or tactical use of unit | Optionally linked text. |
ops_juris | no | Name of areas in which the unit has operational jurisdiction to act if not empowered for the entire country, e.g, state, province, territory, shire, county, city, town, etc.; Or if unit has national and international jurisdiction, if relevant, a brief list of the names of the countries. | Optionally linked text. |
command_structure | no | The larger unit(s) of which the unit is a part. | Optionally linked text. |
headquarters | no | Location of the unit's headquarters. | Text, for example, [[Sydney, New South Wales]], [[Australia]] |
coordinates | no | Headquarters latitude and longitude using {{Coord}}. | Coordinates (use {{Coord}} parameter {{display=inline}}). |
motto | no | The motto of the unit. | Optionally linked text. |
motto_translated | no | The English translation of the motto of the unit. | Optionally linked text. |
common_name | no | Common name for the unit. | Text. Do not link. |
abbreviation | no | Abbreviation of the unit name. | Text. |
Structure | no | ||
sworn_type_label | no | Type or title of sworn members, for example 'Police officer', 'Federal agent'. Defaults to 'Sworn member'. The 's' is added by the template. | Optionally linked text. |
sworn | no | Number of sworn members of the unit. | Number with optional citation or comment. |
unsworn_type_label | no | Type or title of unsworn members, for example 'Staff member', 'Civilian'. Defaults to 'Unsworn member'. The 's' is added by the template. | Optionally linked text. |
unsworn | no | Number of unsworn members of the unit. | Number with optional citation or comment. |
subunit_type_label | no | The unit's subunit type, for example 'Squad', 'Team', 'Section'. Defaults to 'Subunit'. The 's' is added by the template. | Optionally linked text. |
subunits | no | Name or number of the unit's subunits. | Text or number. |
station_type_label | no | Generic name or title of a work location of the unit, for example, Station, Office, Precinct. Defaults to 'Station'. | Optionally linked text. |
stations | no | Number of or optionally linked list of the work locations of the unit. | Number or optionally linked text. |
Commanders | no | ||
current_commander | no | The current commander of the unit. | Optionally linked text. |
notable_commanders | no | Any notable former commanders of the unit; judgement of notability is left to individual article editors. | Optionally linked text. |
Notables | no | Key significant notables for the unit. These and other, more numerous, notables should appear in article sections. | |
programs | no | Name of a key unit program, or campaign, for example, most wanted. For other English languages use |programmes= |
Optionally linked text. |
significant_operations | no | Name of an activity or event which the unit participated that is notable. | Optionally linked text. |
anniversaries | no | Name of notable event to be commemorated. | Optionally linked text. Recommended format: [[optionally piped text]] ([[Year]], [[dd Month]]) |
awards | no | Name of award, decoration, honour, or other significant recognition. | Optionally linked text. Recommended format: [[optionally piped text]] ([[Year]], [[dd Month]]) |
Equipment | no | ||
vehicles | no | Name and/or total number of the vehicles used by the unit; if the number of entries is large, it is recommended that this field not be used, and that the full list be given in the article text instead. | Optionally linked text. |
boats | no | Name and/or total number of the water craft used by the unit; if the number of entries is large, it is recommended that this field not be used, and that the full list be given in the article text instead. | Optionally linked text. |
aircraft | no | Name and/or total number of aircraft types used by the unit; if the number of entries is large, it is recommended that this field not be used, and that the full list be given in the article text instead. | Optionally linked text. |
animals | no | Name and/or total number of animal types used by the unit; if the number of entries is large, it is recommended that this field not be used, and that the full list be given in the article text instead. | Optionally linked text. |
Website | no | ||
website | no | Web address for agency website | WWW address. |