Difference between revisions of "Template:Infobox pirate/doc"
m (Migrating 6 interwiki links, now provided by Wikidata on d:Q6175939) |
m (1 revision) |
(No difference)
|
Latest revision as of 03:31, 22 March 2014
40px | This is a documentation subpage for Template:Infobox pirate. It contains usage information, categories and other content that is not part of the original template page. |
Infobox pirate may be used to summarize information about an individual involved in piracy in a standard manner.
Contents
Usage
Edward Teach | |
---|---|
— Pirate — | |
File:Bbeard Sword.jpg Blackbeard (18th century lithograph) | |
Nickname | Blackbeard |
Type | Pirate |
Born | c. 1660 |
Place of birth | Bristol, England |
Died | November 22, 1718 |
Place of death | Ocracoke, North Carolina |
Allegiance | None |
Years active | 1712 – 1718 |
Rank | Captain |
Base of operations | Atlantic |
Commands | Queen Anne's Revenge |
The infobox should be added using the {{infobox pirate}} template, as shown below:
{{Infobox pirate |name = |image = |caption = |nickname = |alias = |type = |birth_date = |death_date = |birth_place = |death_place = |allegiance = |serviceyears = |base of operations = |rank = |commands = |battles = |wealth = |laterwork = }}
- 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.).
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.