Difference between revisions of "Template:Infobox peer/doc"
Jump to navigation
Jump to search
imported>BD2412 (→Example: minor fixes, mostly disambig links using AWB) |
imported>Zyxw m (add Category:Infobox templates with module parameter using AWB) |
||
| Line 10: | Line 10: | ||
<pre> | <pre> | ||
{{Infobox peer | {{Infobox peer | ||
| − | |name = | + | | name = |
| − | |image = | + | | image = |
| − | |caption = | + | | caption = |
| − | |birth_date = {{Birth date|YYYY|MM|DD|df=y}} | + | | birth_date = {{Birth date|YYYY|MM|DD|df=y}} |
| − | |birth_place = | + | | birth_place = |
| − | |death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | + | | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> |
| − | |death_place = | + | | death_place = |
| − | |title = | + | | title = |
| − | |tenure = | + | | tenure = |
| − | |other_names = | + | | other_names = |
| − | |known_for = | + | | known_for = |
| − | |nationality = | + | | nationality = |
| − | |locality = | + | | locality = |
}} | }} | ||
</pre> | </pre> | ||
| Line 31: | Line 31: | ||
<pre> | <pre> | ||
{{Infobox peer | {{Infobox peer | ||
| − | |name = | + | | name = |
| − | |image = | + | | image = |
| − | |image_size = | + | | image_size = |
| − | |caption = | + | | caption = |
| − | |birth_name = | + | | birth_name = |
| − | |birth_date = {{Birth date|YYYY|MM|DD|df=y}} | + | | birth_date = {{Birth date|YYYY|MM|DD|df=y}} |
| − | |birth_place = | + | | birth_place = |
| − | |death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | + | | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> |
| − | |death_place = | + | | death_place = |
| − | |death_cause = | + | | death_cause = |
| − | |body_discovered = | + | | body_discovered = |
| − | |resting_place = | + | | resting_place = |
| − | |resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} --> | + | | resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} --> |
| − | |title = | + | | title = |
| − | |tenure = | + | | tenure = |
| − | |other_titles = | + | | other_titles = |
| − | |residence = | + | | residence = |
| − | |nationality = | + | | nationality = |
| − | |locality = | + | | locality = |
| − | |other_names = | + | | other_names = |
| − | |wars_and_battles = | + | | wars_and_battles = |
| − | |offices = | + | | offices = |
| − | |networth = | + | | networth = |
| − | |known_for = | + | | known_for = |
| − | |years_active = | + | | years_active = |
| − | |predecessor = | + | | predecessor = |
| − | |heir = | + | | heir = |
| − | |successor = | + | | successor = |
| − | |spouse = | + | | spouse = |
| − | |issue = | + | | issue = |
| − | |parents = | + | | parents = |
| − | |occupation = | + | | occupation = |
| − | |signature = | + | | signature = |
| − | |footnotes = | + | | footnotes = |
| − | |misc = | + | | misc = |
}} | }} | ||
</pre> | </pre> | ||
| Line 186: | Line 186: | ||
{{Infobox peer | {{Infobox peer | ||
| − | |name = Richard Neville | + | | name = Richard Neville |
| − | |image = Richard Neville.jpg | + | | image = Richard Neville.jpg |
| − | |image_size = | + | | image_size = |
| − | |caption = Richard Neville, from the ''Rous Roll''. | + | | caption = Richard Neville, from the ''Rous Roll''. |
| − | |birth_name = | + | | birth_name = |
| − | |birth_date = {{birth date|1428|11|22|df=yes}} | + | | birth_date = {{birth date|1428|11|22|df=yes}} |
| − | |birth_place = | + | | birth_place = |
| − | |death_date = {{death date and age|1471|04|14|1428|11|22|df=yes}} | + | | death_date = {{death date and age|1471|04|14|1428|11|22|df=yes}} |
| − | |death_place = [[Chipping Barnet|Barnet]], [[Hertfordshire]] | + | | death_place = [[Chipping Barnet|Barnet]], [[Hertfordshire]] |
| − | |death_cause = Killed in battle | + | | death_cause = Killed in battle |
| − | |body_discovered = | + | | body_discovered = |
| − | |resting_place = [[Bisham]], [[Berkshire]] | + | | resting_place = [[Bisham]], [[Berkshire]] |
| − | |resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} --> | + | | resting_place_coordinates = <!-- {{coord|LAT|LONG|display=inline,title}} --> |
| − | |tenure = 1449–1471 | + | | tenure = 1449–1471 |
| − | |title = 6th Earl of Salisbury | + | | title = 6th Earl of Salisbury |
| − | |residence = [[Middleham Castle]], ''et al.'' | + | | residence = [[Middleham Castle]], ''et al.'' |
| − | |nationality = [[England|English]] | + | | nationality = [[England|English]] |
| − | |locality = [[Warwickshire]], [[Yorkshire]] | + | | locality = [[Warwickshire]], [[Yorkshire]] |
| − | |other_names = Warwick the Kingmaker | + | | other_names = Warwick the Kingmaker |
| − | |years_active = c. 1449–1471 | + | | years_active = c. 1449–1471 |
| − | |wars_and_battles = [[Wars of the Roses]]<br>• [[Battle of Towton]]<br>• [[Battle of Barnet]] | + | | wars_and_battles = [[Wars of the Roses]]<br>• [[Battle of Towton]]<br>• [[Battle of Barnet]] |
| − | |offices = Captain of Calais<br>Admiral of England<br>Steward of the [[Duchy of Lancaster]] | + | | offices = Captain of Calais<br>Admiral of England<br>Steward of the [[Duchy of Lancaster]] |
| − | |networth = c. £7000 at death | + | | networth = c. £7000 at death |
| − | |known_for = Party to the [[Wars of the Roses]] | + | | known_for = Party to the [[Wars of the Roses]] |
| − | |predecessor = [[Anne de Beauchamp, 15th Countess of Warwick]] | + | | predecessor = [[Anne de Beauchamp, 15th Countess of Warwick]] |
| − | |successor = [[Edward Plantagenet, 17th Earl of Warwick]] | + | | successor = [[Edward Plantagenet, 17th Earl of Warwick]] |
| − | |spouse = [[Anne Neville, Countess of Warwick|Lady Anne de Beauchamp]] | + | | spouse = [[Anne Neville, Countess of Warwick|Lady Anne de Beauchamp]] |
| − | |issue = [[Isabella Plantagenet, Duchess of Clarence|Isabella, Duchess of Clarence]]<br>[[Anne Neville|Anne, Queen Consort of England]] | + | | issue = [[Isabella Plantagenet, Duchess of Clarence|Isabella, Duchess of Clarence]]<br>[[Anne Neville|Anne, Queen Consort of England]] |
| − | |parents = [[Richard Neville, 5th Earl of Salisbury]]<br>[[Alice Montagu, 5th Countess of Salisbury]] | + | | parents = [[Richard Neville, 5th Earl of Salisbury]]<br>[[Alice Montagu, 5th Countess of Salisbury]] |
| − | |signature = Signature of Richard Neville, Earl of Warwick.jpg | + | | signature = Signature of Richard Neville, Earl of Warwick.jpg |
| − | |footnotes = | + | | footnotes = |
| − | |misc = | + | | misc = |
}} | }} | ||
| − | <includeonly> | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| + | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Royalty and nobility infobox templates]] | [[Category:Royalty and nobility infobox templates]] | ||
| − | </includeonly> | + | [[Category:Infobox templates with module parameter|Peer]] |
| + | }}</includeonly> | ||
Revision as of 05:52, 27 December 2014
| This is a documentation subpage for Template:Infobox peer. It contains usage information, categories and other content that is not part of the original template page. |
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
Richard Neville | |
|---|---|
| 6th Earl of Salisbury | |
![]() Richard Neville, from the Rous Roll. | |
| Tenure | 1449–1471 |
| Script error: No such module "If empty". | Anne de Beauchamp, 15th Countess of Warwick |
| Script error: No such module "If empty". | Edward Plantagenet, 17th Earl of Warwick |
| Other names | Warwick the Kingmaker |
| Known for | Party to the Wars of the Roses |
| Years active | c. 1449–1471 |
| Born | 22 November 1428 |
| Baptised | Script error: No such module "If empty". Script error: No such module "If empty". |
| Died | 14 April 1471 (aged 42) Barnet, Hertfordshire |
| Cause of death | Killed in battle |
| Buried | Script error: No such module "If empty". Script error: No such module "If empty". |
| Nationality | English |
| Residence | Middleham Castle, et al. |
| Locality | Warwickshire, Yorkshire |
| Net worth | c. £7000 at death |
| Wars and battles | Wars of the Roses • Battle of Towton • Battle of Barnet |
| Offices | Captain of Calais Admiral of England Steward of the Duchy of Lancaster |
| Script error: No such module "If empty". | Lady Anne de Beauchamp |
| Issue | |
| Parents | Richard Neville, 5th Earl of Salisbury Alice Montagu, 5th Countess of Salisbury |
| Signature | Expression error: Unrecognized punctuation character "[". |
