Difference between revisions of "Template:Infobox police officer/doc"
(typo) |
m (1 revision) |
(No difference)
|
Latest revision as of 03:31, 22 March 2014
40px | This is a documentation subpage for Template:Infobox police officer. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Instructions for use of {{Infobox police officer}}. For notable police officers.
Separate multiple values using {{Plainlist}} or {{Flatlist}}.
Blank
{{Infobox police officer | honorific_prefix = | name = | honorific_suffix = | image = | caption = | currentstatus = | department = | native_name = | native_name_lang = | birth_date = <!-- {{birth date and age|YYYY|MM|DD|df=y}} --> | death_date = <!-- {{death date and age|YYYY|MM|DD|yyyy|mm|dd|df=y}} --> | nickname = | badgenumber = | birth_place = | death_place = | resting_place = | resting_place_coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} --> | religion = | allegiance = | service = | serviceyears = | rank = | awards = | memorials = | relations = | almamater = | laterwork = | module = | url = <!-- {{URL|example.com}} --> }}
Syntax
{{Infobox police officer | honorific_prefix = <!-- honorific preffix(es) --> | name = <!-- The officer's name --> | honorific_suffix = <!-- honorific suxffix(es) --> | image = <!-- Image name --> | caption = <!-- Caption for the image--> | currentstatus = <!-- The officer's current status or position --> | department = <!-- Department where the officer is based--> | native_name = <!-- name in local language. If more than one, separate using {{tl|Plain list}} --> | native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{tl|lang}} instead --> | birth_date = <!-- Use {{birth date and age|YYYY|MM|DD}} if still alive, or {{birth date|YYYY|MM|DD}} if deceased --> | death_date = <!-- Use {{death date and age|YYYY|MM|DD|yyyy|mm|dd}} (death date, then birth date) --> | nickname = <!-- Other names the officer is known for--> | badgenumber = <!-- Badge number--> | birth_place = <!-- Where the officer was born--> | death_place = <!-- Where the officer died--> | resting_place = <!-- Location of grave, ashes, etc --> | resting_place_coordinates = <!-- Coordinates of grave, etc; {{Coord|LAT|LON|type:landmark|display=inline,title}} --> | religion = <!-- Religion or Faith of the person --> | allegiance = <!-- Country or other power the person served. --> | service = <!-- Country based in --> | serviceyears = <!-- Years in the service --> | rank = <!-- Ranks held in the service with dates of promotion --> | awards = <!-- Awards given --> | memorials = <!-- Monument(s) and memorial(s) --> | relations = <!-- Family --> | almamater = <!-- College graduated --> | laterwork = <!-- Notable work after leaving the force --> | module = <!-- embedded template --> | url = <!-- Personal or official website; {{URL|example.com}} --> }}
Example
{{Infobox police officer | name = Francisco Vincent Serpico | image = | caption = | currentstatus = Imaginary | department = [[New York City Police Department|New York City Police Department (NYPD)]] | birth_date = {{Birth date and age|1936|04|14}} | nickname = {{Plainlist| * Paco * Serpico }} | badgenumber = 5566 | birth_place = [[Brooklyn]], [[New York City]], [[New York]], U.S. | serviceyears = 1959{{spaced ndash}}June 15, 1972 | rank = 1960: Commissioned as a [[Police Officer|Patrolman]]<br/>1971: Promoted to [[Detective]] | awards = [[New York City Police Department Medal of Honor|NYPD Medal of Honor]] | relations = | laterwork = Lecturer on occasion to students at universities and police academies }}
Francisco Vincent Serpico | |
---|---|
Imaginary | |
New York City Police Department (NYPD) | |
Born | ഏപ്രിൽ 14, 1936|
Nickname(s) |
|
Badge number | 5566 |
Place of birth | Brooklyn, New York City ,New York, U.S. |
Years of service | 1959 – June 15, 1972 |
Rank |
1960: Commissioned as a Patrolman 1971: Promoted to Detective |
Awards | NYPD Medal of Honor |
Other work | Lecturer on occasion to students at universities and police academies |
Microformat
The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583).
To include a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes; nor collapse nested elements which use them.