Template:Infobox royalty

From CWS Planet
(Redirected from Template:Infobox monarch)
Jump to navigation Jump to search

Parameters

All parameters are optional (even "name" can be taken from PAGENAME).

name / title / type / image
name = Most common English/Anglicised name (e.g. George III; Prince William (not William, Duke of Cumberland); Sophie (neither Princess Edward nor Princess Sophie); Elizabeth Bowes-Lyon (rather than Queen Elizabeth); Prince William (rather than Prince William of Wales) etc.)
title = Principal substantive title(s) in use (e.g. King of England; prev. Duke of Edinburgh) (omit this field if any one "succession(X)" field would be identical to it)
titletext = An explanatory note about "title", already in <small>s — such as a link to full titles (dependent upon "title")
more = Automatically-generated alternative to "titletext"; only appears if "titletext" is undefined/empty and "realm" is defined
  • austria
  • belgium
  • britain
  • china
  • cyprus
  • denmark
  • en-sco
  • england
  • ethiopia
  • france
  • hre
  • hungary
  • italy
  • jerusalem
  • luxembourg
  • malaysia
  • monaco
  • netherlands
  • norway
  • parma
  • portugal
  • russia
  • scotland
  • sicilies
  • spain-crown
  • spain-heir
  • sweden
image = i.e. X.jpg, that is to say no [[Image:
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 the image, for visually impaired readers see WP:ALT
caption = Details of artist and year, for instance see WP:CAP
succession fields
succession = Primary substantive hereditary title (regarding the following fields, "reign" 'til "suc-type"; omit the "title" field if the two would be identical)
moretext = An explanatory note about the "succession", already in <small>s — such as a link to full titles (dependent upon "succession")
reign = D Month YYYY – D Month YYYY (or other appropriate format per MOS:DATE#Dates; for monarchs and their consorts (although dates may differ between the two))
reign-type = Optional alternative text for 'Reign' (dependent upon "reign")
coronation = D Month YYYY (or other appropriate format per MOS:DATE#Dates; for monarchs and their consorts)
cor-type = Optional alternative text for 'Coronation', such as 'Investiture' (dependent upon "coronation"). Automatically links to country-specific article if one of the following values is entered:
  • britain
  • france
  • hre
  • hungary
  • japan
  • malaysia
  • norway
  • ottoman
  • poland
  • russia
predecessor = For use in succession whose titles are entirely and directly hereditary. Link should be piped as appropriate — when it is reasonably clear that the person in context is a (e.g.) King of Scots, he may be linked as "James II" rather than "James II of Scotland".
pre-type = Optional alternative text for 'Predecessor' (dependent upon "predecessor")
regent = Any regents of the monarch in their role in this succession only; listed by most common name/title, most recent first, using {{unbulleted list}}.
reg-type = Optional alternative text for 'Regent' (dependent upon "regent")
successor = As predecessor, mutatis mutandis
suc-type = Optional alternative text for 'Successor'. e.g. 'Heir-Apparent' or 'Heir-Presumptive' (dependent upon "successor")
"succession" to "suc-type" repeated as "successionX" to "suc-typeX" for 1–3
birth_name = If different from name or full name
birth_date =
birth_place = Residence, Town/City/County/Region/Country (although almost invariably Country is obvious) HOWEVER, TAKE CARE TO AVOID FLAGCRUFT (dependent upon "date of birth")
death_date =
death_place = See "birth_place", m.m. (dependent upon "death_date")
burial_date = See "birth_date", m.m.
burial_place = See "birth_place", m.m. (dependent upon "burial_place")
spouse fields
consort =
  • yes, if the subject is the consort of any monarch — effects "reign"
  • no, which is the default if the field is omitted
spouse = Husbands/wives only; listed by most common name/title, in chronological order, using {{unbulleted list}}, and dates if needed, e.g. (m. 2004; div. 2006). Break dates onto a new line if more visually appropriate
spouse-type = Optional alternative text for 'Spouse' (no plurals needed)
repeated as "spouseX" and "spouseX-type" for 1–4
issue = Children in order of birth, using {{unbulleted list}}; listed by name and highest shorthand title (e.g. Prince Edward, Earl of Wessex), no need for preceding styles (e.g. HM). Individuals without articles and/or who died as infants may be omitted from the list on an arbitrary basis. See also note for 'predecessor'.
issue-link = Creates small link to a section in the article for further details on offspring (dependent upon "issue")
issue-pipe = Changes the output text of the above link (dependent upon "issue-link")
full name = English/Anglicised full legal non-titular name (current/most recent), with maiden name '(née Whatever)' and translation in their native/official tongue(s) on a new line (each) underneath (use a ''{{lang-XX|}}'' Multilingual support template)

era name =

For Asian era names, wikilinked if appropriate (dependent upon "era dates")
era dates = The dates of the monarch's era (per the above)
regnal name = The monarch's regnal name
posthumous name = The posthumous name given to monarchs in certain traditions
temple name = As "posthumous name" m.m.
house = The Houses, Dynasties, or Families to which the subject belonged/s (by birth, marriage or otherwise), listed chronologically first to last, using {{unbulleted list}} (e.g. {{unbulleted list|[[House of Saxe-Coburg and Gotha]] | [[House of Windsor]] }}) (formerly called "house name" and listed last to first — it is strongly recommended that, for clarity, (by birth/marriage) or similar be included after each House's link)
house-type = Optional alternative text for 'Royal house', such as 'Dynasty' or 'Family' (dependent upon "house")
father = Most common shorthand title, no need for preceding styles (e.g. HM). May include multiple individuals, such as (Biological), (Adoptive) or (Hanai). See also note for 'predecessor'.
mother = As "father", m.m.
occupation = Primary non-royal occupations, listed most recent first (if the subject is deceased there's no need for 'prev.') e.g. 'Theatre; prev. Broadcasting' (alive), or 'Military; Author' (dead)
signature_type = A label to replace the default 'Signature', e.g. Tughra for Ottoman sultans
signature = X.jpg, being an image of the subject's personal signature
signature_alt = Alt text for signature
religion = This parameter is deprecated per Wikipedia:Village pump (policy)#RfC: Religion in biographical infoboxes

Notes

Peer wikilinks
The wikilinks of substantive peers (or those in another kind of numbered succession) should always show that number (eg Richard, 1st Earl of Cornwall rather than Richard, Earl of Cornwall), unless other conventions say otherwise (such as that one should always see Prince Edward, Duke of Kent, never Prince Edward, 2nd Duke of Kent). Generally, use the article's title, omitting surplus fore- and surnames or disambiguation.

Microformats

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). Be cautious about using these if the person is still living, per WP:DOB.

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.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Infobox royalty

An infobox for royalty.

Template parameters

ParameterDescriptionTypeStatus
Namename

Most common English/Anglicised name.

Default
Stringoptional
Titletitle

Principal substantive title(s) in use.

Default
Stringoptional
Titletexttitletext

An explanatory note about 'title', already in <small>s — such as a link to full titles (dependent upon 'title').

Default
Stringoptional
Moremore

Automatically-generated alternative to 'titletext', only appears if 'titletext' is undefined/empty and 'realm' is defined.

Default
Stringoptional
Imageimage

i.e. X.jpg, that is to say no [[Image:

Default
Stringoptional
Image size image_size

Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height).

Default
220px
Stringoptional
Altalt

Alt text for the image.

Default
Stringoptional
Captioncaption

Details of artist and year.

Default
Stringoptional
Successionsuccession

Primary substantive hereditary title (regarding the following fields, 'reign' 'til 'suc-type'; omit the 'title' field if the two would be identical)

Default
Stringoptional
moretextmoretext

An explanatory note about the 'succession', already in <small>s — such as a link to full titles (dependent upon 'succession')

Default
Stringoptional
Reignreign

D Month YYYY – D Month YYYY (or other appropriate format per MOS:DATE#Dates; for monarchs and their consorts (although dates may differ between the two))

Default
Stringoptional
Reign-typereign-type

Optional alternative text for 'Reign' (dependent upon 'reign')

Default
Stringoptional

Default
Stringoptional
Coronationcoronation

D Month YYYY (or other appropriate format per MOS:DATE#Dates; for monarchs and their consorts)

Default
Stringoptional
Coronation-typecor-type

Optional alternative text for 'Coronation', such as 'Investiture' (dependent upon 'coronation'). Automatically links to country-specific article if one of the following values is entered:britain,france,hre,hungary,japan,malaysia,norway,ottoman,poland,russia.

Default
Stringoptional
Predecessorpredecessor

For use in succession whose titles are entirely and directly hereditary. Link should be piped as appropriate — when it is reasonably clear that the person in context is a (e.g.) King of Scots, he may be linked as 'James II' rather than 'James II of Scotland'.

Default
Stringoptional
Predecessor-typepre-type

Optional alternative text for 'Predecessor' (dependent upon 'predecessor')

Default
Stringoptional
Regentregent

Any regents of the monarch in their role in this succession only; listed by most common name/title, most recent first, using <nowiki>{{unbulleted list}}</nowiki>

Default
Stringoptional
Regent-typereg-type

Optional alternative text for 'Regent' (dependent upon 'regent')

Default
Stringoptional
Successorsuccessor

As predecessor, mutatis mutandis

Default
Stringoptional
Successor-typesuc-type

Optional alternative text for 'Successor'. e.g. 'Heir-Apparent' or 'Heir-Presumptive' (dependent upon 'successor')

Default
Stringoptional
Birth namebirth_name

If different from name or full name.

Default
Stringoptional
Birth datebirth_date

for dead persons, {{birth date|yyyy|mm|dd|df=yes}} (m.m. per MOS:DATE#Dates and Template:Birth date), for living persons aged 3 years or over, {{birth date and age|yyyy|mm|dd|df=yes}} (m.m. per MOS:DATE#Dates and Template:Birth date and age), for living persons up to 3 years old, {{birth date|yyyy|mm|dd|df=yes}} (age {{age for infant|abbr=yes|yyyy|mm|dd|df=yes}}) (m.m. per MOS:DATE#Dates, Template:Birth date and Template:Age for infant).

Default
Stringoptional
Birth placebirth_place

Residence, Town/City/County/Region/Country (although almost invariably Country is obvious) HOWEVER, TAKE CARE TO AVOID FLAGCRUFT (dependent upon 'date of birth')

Default
Stringoptional
Death datedeath_date

for those who died aged 3 years old or over, {{death date and age|YYYY|MM|DD|yyyy|mm|dd|df=yes}} (dd/mm/yyyy being DoB; m.m. per MOS:DATE#Dates and Template:Death date and age), for those who died aged under 3 years old, {{death date|YYYY|MM|DD|df=yes}} (aged {{age for infant|abbr=yes|yyyy|mm|dd|YYYY|MM|DD|df=yes}}) (dd/mm/yyyy being DoB; m.m. per MOS:DATE#Dates, Template:Death date and Template:age for infant)

Default
Stringoptional
Death placedeath_place

See 'birth_place', m.m. (dependent upon 'death_date')

Default
Stringoptional
Burial dateburial_date

See 'birth_date', m.m.

Default
Stringoptional
Burial placeburial_place

See 'birth_place', m.m. (dependent upon 'burial_place')

Default
Stringoptional
Consortconsort

yes, if the subject is the consort of any monarch — effects 'reign' no, which is the default if the field is omitted

Default
Stringoptional
Spousespouse

Husbands/wives only; listed by most common name/title, in chronological order, using <nowiki>{{unbulleted list}}</nowiki>, and dates if needed, e.g. (m. 2004; div. 2006). Break dates onto a new line if more visually appropriate.

Default
Stringoptional
Spouse-typespouse-type

Optional alternative text for 'Spouse' (no plurals needed).

Default
Stringoptional
Issueissue

Children in order of birth, separated using <nowiki>{{unbulleted list}}</nowiki>; listed by name and highest shorthand title (e.g. Prince Edward, Earl of Wessex), no need for preceding styles (e.g. HM). Individuals without articles and/or who died as infants may be omitted from the list on an arbitrary basis. See also note for 'predecessor'.

Default
Stringoptional
Issue-linkissue-link

Creates small link to a section in the article for further details on offspring (dependent upon 'issue')

Default
Stringoptional
Issue-pipeissue-pipe

Changes the output text of the above link (dependent upon 'issue-link')

Default
Stringoptional
Full namefull name

English/Anglicised full legal non-titular name (current/most recent), with maiden name '(née Whatever)' and translation in their native/official tongue(s) on a new line (each) underneath (use a ''{{lang-XX|}}'' Multilingual support template)

Default
Stringoptional
Era nameera name

For Asian era names, wikilinked if appropriate (dependent upon 'era dates')

Default
Stringoptional
Era datesera dates

The dates of the monarch's era (per the above)

Default
Stringoptional
Regnal nameregnal name

The monarch's regnal name

Default
Stringoptional
Posthumous nameposthumous name

The posthumous name given to monarchs in certain traditions

Default
Stringoptional
Temple nametemple name

As 'posthumous name' m.m.

Default
Stringoptional
Househouse

The Houses, Dynasties, or Families to which the subject belonged/s (by birth, marriage or otherwise), listed chronologically first to last, using <nowiki>{{unbulleted list}}</nowiki> (e.g. <nowiki>{{unbulleted list|[[House of Saxe-Coburg and Gotha]] | [[House of Windsor]] }}</nowiki>) (formerly called 'house name' and listed last to first — it is strongly recommended that, for clarity, (by birth/marriage) or similar be included after each House's link)

Default
Stringoptional
House-typehouse-type

Optional alternative text for 'Royal house', such as 'Dynasty' or 'Family' (dependent upon 'house')

Default
Stringoptional
Fatherfather

Most common shorthand title, no need for preceding styles (e.g. HM). May include multiple individuals, such as (Biological), (Adoptive) or (Hanai). See also note for 'predecessor'.

Default
Stringoptional
Mothermother

As 'father', m.m.

Default
Stringoptional
Occupationoccupation

Primary non-royal occupations, listed most recent first (if the subject is deceased there's no need for 'prev.') e.g. 'Theatre; prev. Broadcasting' (alive), or 'Military; Author' (dead).

Default
Stringoptional
Signature typesignature_type

A label to replace the default 'Signature', e.g. 'Tughra' for Ottoman sultans

Default
Stringoptional
Signaturesignature

X.jpg, being an image of the subject's personal signature

Default
Stringoptional
Signature altsignature_alt

Alt text for signature

Default
Stringoptional
Religionreligion

This parameter is deprecated

Default
Stringoptional

See also