Template:Infobox pirate
Infobox pirate | |
---|---|
Piratical career |
This template is a customized wrapper for {{Infobox person}}. Any field from {{Infobox person}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox person}} . Questions? Just ask here or over at Template talk:Infobox person. |
This template uses Lua: |
Infobox pirate may be used to summarize information about an individual involved in piracy in a standard manner.
Usage
The infobox should be added using the {{Infobox pirate}} template, as shown below:
{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} |
Disappeared | {{{disappeared_date}}} {{{disappeared_place}}} |
Status | {{{disappeared_status}}} |
Died | {{{death_date}}} {{{death_place}}} |
Cause of death | {{{death_cause}}} |
Body discovered | {{{body_discovered}}} |
Resting place | {{{resting_place}}} {{{resting_place_coordinates}}} |
Monuments | {{{monuments}}} |
Nationality | {{{nationality}}} |
Other names | {{{other_names}}} |
Citizenship | {{{citizenship}}} |
Education | {{{education}}} |
Alma mater | {{{alma_mater}}} |
Occupation | {{{occupation}}} |
Years active | {{{years_active}}} |
Era | {{{era}}} |
Employer | {{{employer}}} |
Organization | {{{organization}}} |
Agent | {{{agent}}} |
Known for | {{{known_for}}} |
Notable work | {{{notable_works}}} |
Style | {{{style}}} |
Net worth | {{{net_worth}}} |
Height | {{{height}}} |
Television | {{{television}}} |
Title | {{{title}}} |
Term | {{{term}}} |
Predecessor | {{{predecessor}}} |
Successor | {{{successor}}} |
Political party | {{{party}}} |
Movement | {{{movement}}} |
Opponent(s) | {{{opponents}}} |
Board member of | {{{boards}}} |
Criminal charge(s) | {{{criminal_charge}}} |
Criminal penalty | {{{criminal_penalty}}} |
Criminal status | {{{criminal_status}}} |
Spouse(s) | {{{spouse}}} |
Partner(s) | {{{partner}}} |
Children | {{{children}}} |
Parent(s) | {{{parents}}} |
Relatives | {{{relatives}}} |
Call sign | {{{callsign}}} |
Awards | {{{awards}}} |
Piratical career | |
Nickname | {{{nickname}}} |
Other names | {{{alias}}} |
Type | {{{type}}} |
Allegiance | {{{allegiance}}} |
Years active | {{{serviceyears}}} |
Rank | {{{rank}}} |
Base of operations | {{{base of operations}}} |
Commands | {{{commands}}} |
Battles/wars | {{{battles}}} |
Wealth | {{{wealth}}} |
Later work | {{{laterwork}}} |
Website | {{{website}}} |
Signature | |
[[File:{{{signature}}}|{{{signature_size}}}|alt={{{signature_alt}}}]] | |
Notes | |
{{{footnotes}}} |
{{Infobox pirate | honorific_prefix = | name = | honorific_suffix = | image = | image_size = | alt = | caption = | native_name = | native_name_lang = | birth_name = | birth_date = | birth_place = | baptised = | disappeared_date = | disappeared_place = | disappeared_status = | death_date = | death_place = | death_cause = | body_discovered = | resting_place = | resting_place_coordinates = | monuments = | residence = | nationality = | other_names = | citizenship = | education = | alma_mater = | occupation = | years_active = | era = | employer = | organization = | agent = | known_for = | notable_works = | style = | home_town = | salary = | net_worth = | height = | weight = | television = | title = | term = | predecessor = | successor = | party = | movement = | opponents = | boards = | criminal_charge = | criminal_penalty = | criminal_status = | spouse = | partner = | children = | parents = | relatives = | callsign = | awards = | website = | nickname = | alias = | type = | allegiance = | serviceyears = | base of operations = | rank = | commands = | battles = | wealth = | laterwork = | signature = | signature_alt = | signature_size = | footnotes = }}
Parameters
- name – the full name of the person.
- image – optional – an image of the person. The image must be given in the form Example.jpg.
- caption – optional – the text to be placed below the image.
- nickname – optional – nickname(s) by which the person was known.
- alias – optional – alias(s) by which the person was known, i.e. valid given names and surnames.
- type – optional – a specific designation for which particular type of piracy subject was engaged (ex. privateer, buccaneer, corsair, etc.)
- birth_date – optional – the date of birth, if known, using {{Birth date}} or {{Birth date and age}}. For unusual cases, such as where only dates of activities are known, the lived parameter may be used instead.
- death_date – optional – the date of death, if applicable and known, in {{Death date and age}}.
- birth_place – optional – the person's birthplace.
- death_place – optional – the place where the person died.
- allegiance – optional – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates.
- serviceyears – optional – the years during which the person served.
- base of operations – optional – a general area or stronghold used by person.
- rank – optional – the highest rank achieved by the person (most often awarded from colonial officials via letters of marque). Unusual cases, such as this rank not being the last achieved, or the rank being awarded posthumously, may be noted. In cases where the person held different ranks in different armies, multiple ranks should be specified with a date and country note for each.
- commands – optional – for specific ships under direct command of subject.
- battles – optional – any notable battles or wars in which the person participated. This should be omitted if a campaignbox is used in conjunction with this template.
- wealth – optional – an estimate of the accumulated wealth gained during career.
- laterwork – optional – the profession or positions held by the person after they retired from piracy (ex. pirate hunter, farmer, public official, etc.).
Embedding
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person | name = | image = | caption = | birth_date = | birth_place = | <!-- etc. --> | module = {{Infobox pirate/embed | child=yes <!-- or embed=yes or subbox=yes --> | parameter-1 = | parameter-2 = | parameter-3 = | parameter-4 = | <!-- etc. --> }} }}
Example
Edward Teach | |
---|---|
Born | c. 1660 Bristol, England |
Died | November 22, 1718 Ocracoke, North Carolina, U.S. |
Piratical career | |
Nickname | Blackbeard |
Type | Pirate |
Allegiance | None |
Years active | 1712–1718 |
Rank | Captain |
Base of operations | Atlantic Ocean |
Commands | Queen Anne's Revenge |
{{Infobox pirate | name = Edward Teach | image = Bbeard Sword.jpg | caption = Blackbeard (18th century [[lithography|lithograph]]) | birth_date = c. 1660 | birth_place = [[Bristol]], England | death_date = November 22, 1718 | death_place = [[Ocracoke, North Carolina]], U.S. | nickname = Blackbeard | type = [[Pirate]] | allegiance = None | serviceyears = 1712–1718 | rank = Captain | base of operations = Atlantic Ocean | commands = ''[[Queen Anne's Revenge]]'' | battles = | wealth = | laterwork = }}
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). Be cautious about using these if the person is still living, per WP:DOB.
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.
Tracking categories
- Category:Pages using Infobox pirate with unknown parameters (4)
- Category:Pages using deprecated image syntax (0) – 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 (691) – 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=yes
to the infobox.
See also
- {{Infobox person}}
- Pages using embedded infobox templates with the title parameter
- Infobox templates
- Templates calling Infobox person
- Lua-based templates
- Templates tracking Wikidata
- Templates generating hCards
- People and person infobox templates
- WikiProject Piracy templates
- Biographical templates usable as a module
- Templates that add a tracking category