Template:Infobox passenger/doc
{{#invoke:Message box|mbox}}
{{Infobox passenger}} may be used to summarize information about a particular person, usually at the top of an article. It is an alternative to more specific templates such as those within the people infobox templates category.
Usage
The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.
Blank template with basic parameters
{{#invoke:Parameter names example|main}}
{{Infobox passenger | tng_person_id = | tng_family_id = | first_names = | last_name = | nationality = | travel_class = <!-- First / Second / Steerage or leave blank are only options --> | maiden_name = <!-- if different from last_name --> | married_name = <!-- if different from last_name --> | hon_prefix = | hon_suffix = | gender = | image = Replace_this_image_male.png | image_size = | alt = | caption = | birth_date = <!-- {{birth date|YYYY|MM|DD}} --> | birth_place = | born_at_sea = | died_at_sea = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | death_cause = | resting_place = | rp_coords = <!-- {{coord|LAT|LONG|display=inline,title}} --> | residence = | other_names = | known_for = | occupation = | title = | term = | predecessor = | successor = | religion = | spouse = | partner = | children = | father = | mother = | relatives = | website = <!-- {{Url|www.example.com}} --> | footnotes = | port_embarked = | port_disembarked= | rich_and_famous = yes <!-- Delete the "yes" to leave blank, or entirely delete any of the following lines that are not applicable to the individual --> | logbook_mention = yes | stowaway = yes | voy_to_adl_1864 = yes | voy_to_lon_1865 = yes | voy_to_adl_1865 = yes | voy_to_lon_1866 = yes | voy_to_adl_1866 = yes | voy_to_lon_1867 = yes | voy_to_adl_1867 = yes | voy_to_lon_1868 = yes | voy_to_adl_1868 = yes | voy_to_lon_1869 = yes | voy_to_adl_1869 = yes | voy_to_lon_1870 = yes | voy_to_adl_1870 = yes | voy_to_lon_1871 = yes | voy_to_adl_1871 = yes | voy_to_lon_1872 = yes | voy_to_adl_1872 = yes | voy_to_lon_1873 = yes | voy_to_adl_1873 = yes | voy_to_lon_1874 = yes | voy_to_adl_1874 = yes | voy_to_lon_1875 = yes | voy_to_adl_1875 = yes | voy_to_lon_1876 = yes | voy_to_adl_1876 = yes | voy_to_lon_1877 = yes | voy_to_adl_1877 = yes | voy_to_lon_1878 = yes | voy_to_adl_1878 = yes | voy_to_lon_1879 = yes | voy_to_adl_1879 = yes | voy_to_lon_1880 = yes | voy_to_adl_1880 = yes | voy_to_lon_1881 = yes | voy_to_adl_1881 = yes | voy_to_lon_1882 = yes | voy_to_adl_1882 = yes | voy_to_lon_1883 = yes | voy_to_adl_1883 = yes | voy_to_lon_1884 = yes | voy_to_adl_1884 = yes | voy_to_lon_1885 = yes | voy_to_adl_1885 = yes | voy_to_lon_1886 = yes | voy_to_adl_1886 = yes | voy_to_lon_1887 = yes }}
Parameters
Do not use all these parameters for any one person. The list is long to cover a wide range of people. Only use those parameters that convey essential or notable information about the subject. The parameters highlighted in yellow provide the most functionality for the website and are the most important (but not critical). Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.
Parameter | Explanation |
---|---|
first_names | First name(s) of person. |
last_name | Common last name of person (provide maiden_name or married_name (below) if different from last_name). |
maiden_name | Birth name or maiden/nee name of person. For genealogy purposes on this website, it is normally preferred that the maiden name is used for the last_name above and so this parameter would be left blank. |
married_name | Married name if different from last_name. It is normally preferred for genealogy purposes on this website that the maiden name is used for last_name and so this field provides opportunity to capture married name. |
gender | Gender - either male or female. |
tng_person_id | Is a genealogy code used to uniquely identify an individual such as "I159" for Edelsten, Frederick Alexander - I159. This code can only be allocated by an administrator. |
tng_family_id | Is a genealogy code used to uniquely identify a family such as "F2001" for Bruce Family - F2001. This code can only be allocated by an administrator. |
hon_prefix | To appear on the line above the person's name |
hon_suffix | To appear on the line below the person's name |
image | Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may use Image:Replace this image male.png, Image:Replace this image female.png or other placeholder images, or just leave blank for no image to display. |
image_size | Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. This parameter should not normally need to be set. |
alt | Alt text for image, for visually impaired readers. See WP:ALT. |
caption | Caption for image, if needed. Try to include date of photo and the photographer. |
birth_date | Date of birth: {{birth date and age|1930|1|15}} (if living) or {{birth date|1930|1|15}} (if dead). See Template:Birth date for details. |
birth_place | Place of birth: city, administrative region, sovereign state. |
born_at_sea | Any text entered here will be visible in the passenger's Infobox. Typical examples, yes or City of Adelaide (1873). |
died_at_sea | Any text entered here will be visible in the passenger's Infobox. Typical examples, yes or Fell overboard 17 June 1873. |
death_date | Date of death: {{death date and age|1995|10|9|1930|1|15}} (if birth date is known) or {{death date|1995|10|9}} (if birth date unknown). See Template:Death date for details. |
death_cause | Cause of death. |
resting_place | Mainly intended for recording passengers who have died at sea, but could alternatively be used to record place of burial, ash-scattering, etc. |
rp_coords | Mainly intended for recording coordinates of burials at sea, but could also be used coordinates of place of burial, ash-scattering etc. Use {{coord}} template. |
residence | Location(s) where the person notably resides/resided, if different from birth place. |
nationality | Nationality. |
other_names | Other notable names for the person, if different. |
known_for | A brief description of why the person is notable. |
occupation | Occupation. |
title | Multiple uses:
|
term | Years the person held the title listed above. |
predecessor | Person who previously held the title listed above. |
successor | Person who subsequently held the title listed above. |
religion | If known, then religion is used by template to inject a Category:Religion category into page. |
spouse | Name of spouse(s), followed by years of marriage. Use the format Name (1950–present) for current spouse and Name (1970–1999) for former spouse(s). Separate entries with a line break (<br />). For deceased persons still married at time of death, close the date range with death year. |
partner | For unmarried life partners (of any gender or sexual preference), not business partners. Use same format as spouse. |
children | Number of children (i.e. 3), or list of names if notable, in which case, separate entries with a line break (<br />). |
father | Name of father. |
mother | Name of mother. |
relatives | Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries with a line break (<br />). |
website | Unlikely to be useful, but if there is a significant website relating to the person can be recorded here. Unofficial websites should be placed under ==External links== in the body of the article. Use {{Url}} as {{Url|www.example.com}}. |
footnotes | Notes about any of the infobox data. |
travel_class | First, Second, Steerage or leaving blank are only options. Leaving blank or omitted will not display this parameter. |
port_embarked | Name of the Port where the passenger embarked the City of Adelaide if different from voyage origin. For example, might be Plymouth for a voyage from London to Adelaide. Only use for passengers who have undertaken only one voyage on the City of Adelaide. Leaving blank or omitted will not display this parameter. |
port_disembarked | Name of the Port where the passenger disembarked the City of Adelaide if different from voyage destination. For example, might be Cape Town for a voyage from Adelaide to London. Only use for passengers who have undertaken only one voyage on the City of Adelaide. Leaving blank or omitted will not display this parameter. |
rich_and_famous | If the passenger might reasonably be considered to be either rich or famous, then set this parameter to yes. |
logbook_mention | If the passenger is mentioned in the ship's log book, then set this parameter to yes. |
stowaway | If the passenger was a stowaway, then set this parameter to yes. |
voyage_to_adelaide_in_1864 | If the passenger was on the Voyage to Adelaide in 1864, then set this parameter to yes. |
. . . | . . . |
voyage_to_london_in_1887 | If the passenger was on the Voyage to London in 1887, then set this parameter to yes. |
Examples
{{safesubst:#invoke:br separated entries|main}} | |
---|---|
April 1845 – September 1892 | |
First Class Passenger ♂ | |
{{#invoke:InfoboxImage|InfoboxImage|image=Slwa b2976218 1 Sir Thomas Cockburn-Campbell-Crop.jpg|size=300px|sizedefault=frameless|alt=Sir Thomas Cockburn-Campbell|suppressplaceholder=yes}} Sir Thomas Cockburn-Campbell | |
Place of birth | Exeter |
Place of death | Perth, Western Australia |
Nationality | English |
Occupation | Politician Newspaper Editor |
Known for | First President of the WA Legislative Council President of the Perth Amateur Operatic Society |
Title | 4th Baronet Campbell of Gartsford |
Genealogy Data | |
Person ID | I21 |
Family ID | F41 |
Father | Sir Alexander Thomas Cockburn-Campbell (1804-1871) |
Mother | Grace Spence |
Spouse | Lucy Anne Trimmer (m.1870) |
Children | 2 sons and 4 daughters |
Voyage Data | |
Role | First Class Passenger |
{{safesubst:#invoke:br separated entries|main}} |
{{Infobox passenger | tng_person_id = I21 | tng_family_id = F41 | first_names = Thomas | last_name = Cockburn-Campbell | nationality = English | travel_class = First | hon_prefix = Sir | gender = male | image = Slwa b2976218 1 Sir Thomas Cockburn-Campbell-Crop.jpg | image_size = 300px | alt = Sir Thomas Cockburn-Campbell | caption = Sir Thomas Cockburn-Campbell | birth_date = April 1845 | birth_place = Exeter | death_date = September 1892 <!-- {{Death date and age|1892|9|DD|1845|4|DD}} (death date then birth date) --> | death_place = Perth, Western Australia | known_for = First President of the WA Legislative Council<br/>President of the Perth Amateur Operatic Society | occupation = Politician<br/>Newspaper Editor | title = 4th Baronet Campbell of Gartsford | spouse = Lucy Anne Trimmer (m.1870) | children = 2 sons and 4 daughters | father = Sir Alexander Thomas Cockburn-Campbell (1804-1871) | mother = Grace Spence | rich_and_famous = yes | voy_to_adl_1864 = yes }}
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}}, {{birth date and age}}, {{birth-date}} or {{birth-date and age}} are used in the infobox. (but 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.