Difference between revisions of "Template:Infobox police officer/doc"
Jump to navigation
Jump to search
imported>Zyxw |
imported>Vanisaac m (→Tracking categories: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 168: | Line 168: | ||
* {{clc|No local image but image on Wikidata}} – Used by [[Template:Wikidata image]] to track articles where an infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, add an image or {{para|nocat_wdimage|yes}} to the infobox. | * {{clc|No local image but image on Wikidata}} – Used by [[Template:Wikidata image]] to track articles where an infobox has no image but [[Wikidata]] has an image name. To exclude articles from this category, add an image or {{para|nocat_wdimage|yes}} to the infobox. | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:People and person infobox templates|Police officer]] | [[Category:People and person infobox templates|Police officer]] | ||
Latest revision as of 20:56, 25 April 2020
| 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. |
Template:Person infobox header Template:Uses Infobox person
Please note that in 2016, the |religion= and |ethnicity= parameters were removed from Template:Infobox person as a result of the RfC: Religion in biographical infoboxes and the RfC: Ethnicity in infoboxes as clarified by this discussion. |
| This template uses Lua: |
Infobox police officer is an infobox for use in articles about notable police officers. If a notable subject is also a police officer, this template can be called from within other templates that are based on {{infobox person}} using the module= parameter in the parent infobox and child=yes in this infobox.
Usage
Separate multiple values using {{plainlist}} or {{ubl}}, or {{flatlist}} or {{hlist}}.
Template:Parameter names example
{{Infobox police officer
|honorific_prefix =
|name =
|honorific_suffix = <!--{{postnom|country=ISO|size=100%|abbr}}-->
|image =
|image_upright =
|alt =
|caption =
|birth_name =
|birth_date = <!--{{birth date and age|YYYY|MM|DD|df=y}}-->
|birth_place =
|death_date = <!--{{death date and age|YYYY|MM|DD|yyyy|mm|dd|df=y}}-->
|death_place =
|resting_place =
|rest_coord = <!--{{coord|LAT|LON|type:landmark|display=inline,title}}-->
|other_names =
|education =
|alma_mater =
|known_for =
|notable_works =
|spouse =
|relatives =
|service_label =
|service =
|allegiance =
|department =
|branch =
|serviceyears =
|status =
|rank =
|badge =
|awards =
|memorials =
|otherwork =
|website = <!--{{URL|example.com}}-->
|module =
}}
Example
Born
Francisco Vincent Serpico
April 14, 1936
Brooklyn, New York City, U.S.
Other namesPaco, SerpicoPolice careerDepartmentNew York Police DepartmentService years1959–1972StatusRetiredRankDetectiveBadge no.5566Shield no.761AwardsNYPD Medal of HonorOther workLecturer
{{Infobox police officer
|name = Frank Serpico
|birth_name = Francisco Vincent Serpico
|birth_date = {{birth date and age|1936|04|14}}
|birth_place = Brooklyn, New York City, U.S.
|other_names = Paco, Serpico
|department = [[New York Police Department]]
|years = 1959–1972
|status = Retired
|rank = Detective
|badge = 5566
|shield = 761
|awards = [[NYPD Medal of Honor]]
|otherwork = Lecturer
}}
Parameters
| honorific_prefix | Honorific prefix(es) |
| name | Subject's name |
| honorific_suffix | {{postnom|country=ISO|size=100%|abbr}} |
| image | Image path |
| caption | Image caption |
| native_name | Use {{plainlist}} or {{ubl}} for multiple entries |
| native_name_lang | ISO 639-2 code, e.g. fr for French |
| birth_date | {{birth date and age}}, or {{birth date}} if deceased |
| birth_place | Where the subject was born |
| death_date | {{death date and age|YYYY|MM|DD|yyyy|mm|dd}} |
| death_place | Where the subject died |
| resting_place | Location of grave, ashes, etc. |
| rest_coord | {{coord|LAT|LON|display=inline,title}} |
| other_names | Other names the subject is known by |
| education | Education |
| alma_mater | College graduated |
| known_for | What the subject is known for |
| notable_works | Notable works authored by subject |
| spouse | Spouse |
| relatives | Family |
| country | Country based in |
| department | Department of subject |
| allegiance | Country or other power the subject served |
| branch | Branch of department |
| serviceyears | Years in the service |
| status | Subject's current status or position |
| rank | Ranks held in the service with dates of promotion |
| badge | Badge number |
| shield | Shield number |
| awards | Awards received |
| memorials | Monument(s) and memorial(s) |
| otherwork | Notable work after leaving the force |
| website | {{URL|example.com}} |
| module | Embedded template |
Microformat
Tracking categories
- Category:Pages using Infobox police officer with unknown parameters (0)
- Category:Pages using deprecated image syntax (1) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format
|image=[[File:Example.jpg]]. To exclude articles from this category, change it to|image=Example.jpg - Category:No local image but image on Wikidata (15) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yesto the infobox.