Jump to content

Template:Number of killings by law enforcement officers in the United States Month Or 0/doc

From Wikipedia, the free encyclopedia

Usage[edit]

This template provides the number of rows in a monthly table that is part of the List of killings by law enforcement officers in the United States series, minus one to account for the table header row.

It takes two named parameters, the month (fully spelled out as in the article name) and year. These parameters are required. They can be in either order, but must be labeled.

If no article is found, or the page does not contain a table with id="killed", the template returns 0.

Examples[edit]

{{Number of killings by law enforcement officers in the United States Month Or 0|month=April|year=2015}} produces:

100

{{Number of killings by law enforcement officers in the United States Month Or 0|month=December|year=3500}} (far into the future, that list doesn't exist) produces:

0