Template:List of killings by law enforcement officers in the United States Annual Total/doc
This is a documentation subpage for Template:List of killings by law enforcement officers in the United States Annual Total. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis provides a total of the number of rows in the List of killings by law enforcement officers in the United States for a year that has up to 12 monthly articles (i.e. those since and including 2012).
It takes one required parameter, the year a total is sought for. If no valid parameter is given, it will return 0. If a year does not have articles for all the months (e.g. it is the current year, and not December) 0s will be used for the missing months.
Examples
edit{{List of killings by law enforcement officers in the United States Annual Total|year=2024}}
produces:
1117
{{List of killings by law enforcement officers in the United States Annual Total|year=2014}}
produces:
660
{{List of killings by law enforcement officers in the United States Annual Total|year=2011}}
(2011 doesn't have monthly lists) produces:
253
{{List of killings by law enforcement officers in the United States Annual Total|year=3500}}
(far into the future, those lists doesn't exist) produces:
0
See also
edit- {{Lists of killings by law enforcement officers in the United States}}, navbox
- {{Number of killings by law enforcement officers in the United States Prior to 2009}}, used for calculating the total of the "prior to 2009" page
- {{List of killings by law enforcement officers in the US, month}}, the template used in the navbox for the month and month count
- {{Number of killings by law enforcement officers in the United States months list}}, the "counter" template used on the main article