Template:Infobox peer/doc: Difference between revisions
m (1 revision) |
(No difference)
|
Latest revision as of 12:59, 18 June 2015
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory Infobox Peer may be used to summarize information about a member of the peerage.
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.
This is the template shown on the top righthand side of the template page.
{{Infobox peer | name = | image = | caption = | birth_date = {{Birth date|YYYY|MM|DD|df=y}} | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | death_place = | title = | tenure = | other_names = | known_for = | nationality = | locality = }}
Blank template with all parameters
{{Infobox peer | name = | image = | image_size = | caption = | birth_name = | birth_date = {{Birth date|YYYY|MM|DD|df=y}} | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | death_place = | death_cause = | body_discovered = | resting_place = | resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} --> | title = | tenure = | other_titles = | residence = | nationality = | locality = | other_names = | wars_and_battles = | offices = | networth = | known_for = | years_active = | predecessor = | heir = | successor = | spouse = | issue = | parents = | occupation = | signature = | footnotes = | misc = }}
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 describe why the person is notable. 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 |
---|---|
name | Common name of person (defaults to article name if left blank; provide birth_name (below) if different from name). |
image | Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the Template:WPBiography on the talkpage. Do not use Image:Replace this image male.svg, Image:Replace this image female.svg or other placeholder images; the proposal to use such placeholders has been rejected by the community. |
image_size (imagesize) |
Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 225px if empty or omitted. |
caption | Caption for image, if needed. Try to include date of image and the artist, if known. |
birth_name | Name at birth, if different from name. |
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. |
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_place | Place of death: city, administrative region, sovereign state. |
death_cause | Cause of death. |
body_discovered | Place where the body was discovered (If different from place of death). |
resting_place | Place of burial, ash-scattering, etc. |
resting_place_coordinates | Coordinates for place of burial, ash-scattering etc. Use {{coord}} template. |
title | Main peerage title and number. |
tenure | Years the person held the title listed above. |
other_titles | Other titles and numbers. |
other_names | Other notable names for the person, if different from name and birth_name. |
known_for (known) |
A brief description of why the person is notable. |
years_active | Years of documented activity. |
nationality | Nationality. |
residence | Location(s) where the person notably resides/resided, if different from birth place. |
locality | The counties or other regional subdivisions that were the person's primary area of landownership and political influence. |
networth | Estimated net worth at death. |
wars_and_battles | Major wars or battles in which the person took part. |
offices | Major official positions the person held. |
predecessor | Person who previously held the title listed above. |
heir | parameter description missing |
successor | Person who subsequently held the title listed above. |
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/>). |
issue | Descending in order of birth, separated by line breaks (<br />); listed by name and highest shorthand title. Individuals without articles and/or who died as infants may be omitted from the list on an arbitrary basis. |
parents | Names of parents, if notable. Separate entries with a line break (<br/>). |
occupation | Occupation(s) of the person. Separate entries with a comma. |
signature | An image of the person's signature. Image is displayed at a width of 128px, same format as {{Infobox Writer}}, {{Infobox officeholder}} and {{Infobox Philosopher}}. |
footnotes | Notes about any of the infobox data. |
misc | Miscellaneous information. |
Example
Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory