Jump to content

User:Pee Tern/Sandbox/Template/Table Law enforcement agency powers/doc

From Wikipedia, the free encyclopedia

Function[edit]

Purpose[edit]

Table Law enforcement agency powers provides a standardised table to present the powers and law exemptions held by a law enforcement agency. It is recommended that it be placed in a section of its own, perhaps followed by any relevant encyclopedic explanatory material.

The template:

  • introduces the table by describing generally what LEA powers and law exemptions are. See the examples below.
  • automatically links to the relevant articles for each power.
  • categorises the agency for each power or law exemption the agency has.

Automatic linking[edit]

Links are automatically provided from each power title in the table to the relevant main encyclopedic article for the power.

Automatic categorisation[edit]

This template automatically categorises the article it is placed into. An including article will be categorised into one or more of:

These categories will be set if the law enforcement agency's relevant power parameter values are used in the template.

Deficiencies[edit]

Parameters[edit]

The template does not check that there is at least one power parameter provided. It is possible to produce an empty table.

Usage[edit]

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

Repeat the parameter list for each power the LEA has. Replace the 'power' prefix with the relevant prefix from the list of prefixes provided below for each power or law exemption the LEA has.

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.
  • Remove the ' . . for each power' comment altogether.

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

Skeleton[edit]

==Powers and law exemptions==
{{Table Law enforcement agency powers
|powertitle       = 
|powerinstrument1 = 
 . . up to 6
|poweroverview1   = 
 . . up to 6
|powernotes       = 
 . . for each power
}}

Examples[edit]

Australian Federal Police[edit]

{{Table Law enforcement agency powers
|agencyname       = Australian Federal Police
|conopinstrument1 = 
|conopoverview1   = 
|conopoverview2   = 
|tiinstrument     = 
|tioverview       = 
|assidinstrument  = 
|assidoverview    = 
}}

Australian Federal Police, like all law enforcement agencies, has available to it a range of powers and exemptions from laws not available to normal Government subjects. Australian Federal Police's powers and law exemptions, and how they are subject to judicial or civil overview, are summarised in the following table.

Law Enforcement powers held by Australian Federal Police
Power Enabling Instrument Overview Protocol Notes

Federal Bureau of Investigation[edit]

{{Table Law enforcement agency powers
|agencyname       = Federal Bureau of Investigation
|conopinstrument1 = 
|conopoverview1   = 
|conopoverview2   = 
|tititle          = Wire tap
|tiinstrument     = 
|tioverview       = 
}}

Federal Bureau of Investigation, like all law enforcement agencies, has available to it a range of powers and exemptions from laws not available to normal Government subjects. Federal Bureau of Investigation's powers and law exemptions, and how they are subject to judicial or civil overview, are summarised in the following table.

Law Enforcement powers held by Federal Bureau of Investigation
Power Enabling Instrument Overview Protocol Notes
tititle

Parameters[edit]

Parameter Required Description Data
agencyname no Defaults to PAGENAME Text. Do not link.
powertitle no Alternative title for the power, for example to overide Telecommunication interception with Wire tapping. Defaults to predefined power. Text with initial capital. Do not link. The template will Link.
powerinstrument no Legal instrument giving the LEA the power, for example, a law, enactment, or regulation of the LEA's governing body. Optionally linked or referenced text.
poweroverview no Type of overview applied to the LEA regarding its use of the power, for example, Internal audit, External audit, Judicial instance approval, Governing body reporting and review, Civil authority review, etc. Optionally linked or referenced text.
powernotes no Notes providing further information regarding the power. Optionally linked or referenced text.
Available powers The parameter prefixes for LEA powers and law exemptions currently available in this template are:
assid Assumed identity
arrest Arrest
conop Controlled operation
detention Detention
lethal Lethal force
nonlethal Non lethal force
ti Telecommunications interception
weapexempt Weapon law exemption
zooexempt Animal law exemption
For a power to appear in the table of LEA powers for the agency, at least one of the power's title, instrument, overview, or notes parameters must be provided.

Notes for template editors[edit]

Template editing check list[edit]

  1. Copy and edit the power skeletion below into the correct position in the template, currently in alphabetic order of prefix.
  2. Update parameters table, in particular any new prefixes or powers are added.
  3. update the auto categorisation, in particular if any new powers added.
  4. Update this check list if any new features added to the template, which require a template editor to take note.

Power table row skeleton[edit]

<!--


Main power article (power)-->
|-
{{#if: {{{powertitle|}}}{{{powerinstrument1|}}}{{{powerinstrument2|}}}{{{powerinstrument3|}}}{{{poweroverview1|}}}{{{poweroverview2|}}}{{{poweroverview3|}}}{{{powernotes|}}} |<!--
column 1
-->{{!}} {{#if: {{{powertitle|}}} | [[Main power article|powertitle]] | [[Main power article]] }}<!--
column 2-->
{{!}} {{#if: {{{powerinstrument1|}}} |
*{{{powerinstrument1}}} }}<!--
-->{{#if: {{{powerinstrument2|}}} |
*{{{powerinstrument2}}} }}<!--
-->{{#if: {{{powerinstrument3|}}} |
*{{{powerinstrument3}}} }}<!--
column 3
-->{{!}} {{#if: {{{poweroverview1|}}} |
*{{{poweroverview1}}} }}<!--
-->{{#if: {{{poweroverview2|}}} |
*{{{poweroverview2}}} }}<!--
-->{{#if: {{{poweroverview3|}}} |
*{{{poweroverview3}}} }}<!--
column 4-->
{{!}} {{#if: {{{powernotes|}}} | {{{powernotes}}} }} }}

Power automatic categorisation skeleton[edit]

<!--
-->{{#if: {{{powertitle|}}}{{{powerinstrument1|}}}{{{powerinstrument2|}}}{{{powerinstrument3|}}}{{{poweroverview1|}}}{{{poweroverview2|}}}{{{poweroverview3|}}}{{{powernotes|}}} | [[Category:Law enforcement agency with power  set title]] }}