Difference between revisions of "Template:Infobox pirate/doc"

From blackwiki
Jump to navigation Jump to search
imported>Adavidb
m (updated category sort)
imported>Colonies Chris
m (minor fixes, replaced: Atlantic → Atlantic (2), 712 – 171 → 712–171 (2), {{clc| → {{Category link with count| (3), {{Basepage subpage → {{When on basepage)
 
Line 129: Line 129:
 
| type     = [[Pirate]]
 
| type     = [[Pirate]]
 
| allegiance     = None
 
| allegiance     = None
| serviceyears     = 1712 – 1718
+
| serviceyears     = 1712–1718
 
| rank     = Captain
 
| rank     = Captain
| base of operations = [[Atlantic Ocean|Atlantic]]
+
| base of operations = Atlantic Ocean
 
| commands     = ''[[Queen Anne's Revenge]]''
 
| commands     = ''[[Queen Anne's Revenge]]''
 
| battles     =  
 
| battles     =  
Line 150: Line 150:
 
| type     = [[Pirate]]
 
| type     = [[Pirate]]
 
| allegiance     = None
 
| allegiance     = None
| serviceyears     = 1712 – 1718
+
| serviceyears     = 1712–1718
 
| rank     = Captain
 
| rank     = Captain
| base of operations = [[Atlantic Ocean|Atlantic]]
+
| base of operations = Atlantic Ocean
 
| commands     = ''[[Queen Anne's Revenge]]''
 
| commands     = ''[[Queen Anne's Revenge]]''
 
| battles     =  
 
| battles     =  
Line 165: Line 165:
  
 
== Tracking categories ==
 
== Tracking categories ==
* {{clc|Pages using Infobox pirate with unknown parameters}}
+
* {{Category link with count|Pages using Infobox pirate with unknown parameters}}
* {{clc|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
+
* {{Category link with count|Pages using deprecated image syntax}} – Used by [[Module:InfoboxImage]] to track articles where an infobox uses image syntax in the format <kbd><nowiki>|image=[[File:Example.jpg]]</nowiki></kbd>. To exclude articles from this category, change it to {{samp|<nowiki>|image=Example.jpg</nowiki>}}.
* {{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.
+
* {{Category link with count|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.
  
 
== See also ==
 
== See also ==
Line 174: Line 174:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
{{Basepage subpage|
+
{{When on basepage|
 
[[Category:People and person infobox templates|Pirate]]
 
[[Category:People and person infobox templates|Pirate]]
 
[[Category:WikiProject Piracy templates|{{PAGENAME}}]]
 
[[Category:WikiProject Piracy templates|{{PAGENAME}}]]

Latest revision as of 15:26, 14 May 2019

Template:Uses infobox person

Template:Tracks Wikidata

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:

Template:Parameter names example

{{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.
  • imageoptional – an image of the person. The image must be given in the form Example.jpg.
  • captionoptional – the text to be placed below the image.
  • nicknameoptional – nickname(s) by which the person was known.
  • aliasoptional – alias(s) by which the person was known, i.e. valid given names and surnames.
  • typeoptional – a specific designation for which particular type of piracy subject was engaged (ex. privateer, buccaneer, corsair, etc.)
  • birth_dateoptional – 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_dateoptional – the date of death, if applicable and known, in {{Death date and age}}.
  • birth_placeoptional – the person's birthplace.
  • death_placeoptional – the place where the person died.
  • allegianceoptional – the country or other power the person served. Multiple countries may be indicated together with the corresponding dates.
  • serviceyearsoptional – the years during which the person served.
  • base of operationsoptional – a general area or stronghold used by person.
  • rankoptional – 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.
  • commandsoptional – for specific ships under direct command of subject.
  • battlesoptional – any notable battles or wars in which the person participated. This should be omitted if a campaignbox is used in conjunction with this template.
  • wealthoptional – an estimate of the accumulated wealth gained during career.
  • laterworkoptional – 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
File:Bbeard Sword.jpg
Blackbeard (18th century lithograph)
Bornc. 1660
Bristol, England
DiedNovember 22, 1718
Piratical career
NicknameBlackbeard
TypePirate
AllegianceNone
Years active1712–1718
RankCaptain
Base of operationsAtlantic Ocean
CommandsQueen Anne's Revenge

Template:Wikidata image

{{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

Template:UF-hcard-person

Tracking categories

See also