Template:Infobox monarch

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
{{{name}}}
{{{title}}}
Reign{{{reign}}}
Coronation{{{coronation}}}
Investiture{{{investiture}}}
Full name{{{full name}}}
Birth name{{{birth_name}}}
{{{native_lang1}}}{{{native_lang1_name1}}}
{{{native_lang2}}}{{{native_lang2_name1}}}
{{{native_lang3}}}{{{native_lang3_name1}}}
{{{native_lang4}}}{{{native_lang4_name1}}}
{{{native_lang5}}}{{{native_lang5_name1}}}
{{{native_lang6}}}{{{native_lang6_name1}}}
{{{native_lang7}}}{{{native_lang7_name1}}}
{{{native_lang8}}}{{{native_lang8_name1}}}
Titles{{{othertitles}}}
Baptism{{{baptism}}}
Born{{{birth_date}}}
Birthplace{{{birth_place}}}
Died{{{death_date}}}
Place of death{{{death_place}}}
Buried{{{burial_place}}},
Predecessor{{{predecessor}}}
{{{suc-type}}}{{{heir}}}
Successor{{{successor}}}
Consort{{{queen}}}
Consort{{{consort}}}
Consort{{{consortreign}}}
Consort to{{{consortto}}}
Consort to{{{spouse}}}
Wives{{{spouse 1}}}
{{{spouse 2}}}
{{{spouse 3}}}
{{{spouse 4}}}
{{{spouse 5}}}
{{{spouse 6}}}
{{{spouse 7}}}
{{{spouse 8}}}
{{{spouse 9}}}
Children{{{issue}}}
Royal House{{{royal house}}}
Dynasty{{{dynasty}}}
Royal anthem{{{royal anthem}}}
Royal motto{{{royal motto}}}
Father{{{father}}}
Mother{{{mother}}}
Religious beliefs{{{religion}}}
Signature{{{signature}}}
Template documentation[view] [edit] [history] [purge]

Usage[change source]

Blank template[change source]

{{Infobox monarch
| name               = 
| title              = 
| image              = 
| caption            = 
| reign              = 
| coronation         = 
| investiture        =
| full name          = 
| birth_name         =
| native_lang1       = 
| native_lang1_name1 = 
| native_lang2       = 
| native_lang2_name1 = 
| othertitles        = 
| baptism            =
| birth_date         = <!-- {{birth date|YYYY|MM|DD}} -->
| birth_place        = 
| death_date         = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth) -->
| death_place        = 
| burial_date        = 
| burial_place       = <!-- <br /> {{coord|LAT|LONG|display=inline,title}} -->
| predecessor        = 
| suc-type           = 
| heir               = 
| successor          = 
| queen              = 
| consort            = 
| consortreign       =
| consortto          =
| spouse             = 
| spouse 1           = 
| spouse 2           = 
| issue              = <!-- Children's names go here -->
| royal house        = 
| dynasty            = 
| royal anthem       = 
| royal motto        =
| father             = 
| mother             = 
| religion           =
| signature          =
}}
{{Infobox monarch
| name               = Name (in most common usage)
| title              = King/Queen/etc of X
| image              = [[Image:X.jpg|200px|caption]]
| caption            = Image caption
| reign              = [[D Month]], [[YYYY]] – [[D Month]], [[YYYY]]
| coronation         = [[D Month]], [[YYYY]]
| othertitles        = Other titles & Wikilink<br />Other titles & Wikilink, etc.
| full name          = Full legal non-titular name
| native_lang1       = For different transliterations of native names.  Useful for Oriental Monarchs.  See [[Songtsen Gampo]]
| native_lang1_name1 = 
| native_lang2       = 
| native_lang2_name1 = There are 8 sets of native_lang and native_lang_name, through...
| native_lang8       = 
| native_lang8_name1 = 
| predecessor        = Name & Wikilink
| successor          = Name & Wikilink
| suc-type           = If you wish to use the heir field, then the type of heir is required, (Heir-Apparent/Heir-Presumptive)
| heir               = Name & Wikilink
| queen              = Name & Wikilink<br />Name & Wikilink, etc.
| consort            = Name & Wikilink<br />Name & Wikilink, etc.
| spouse 1           = Name & Wikilink<br />Name & Wikilink, etc. (these are for the wives
| spouse 2           = Name & Wikilink<br />Name & Wikilink, etc. of male rulers for whom
| spouse 3           = Name & Wikilink<br />Name & Wikilink, etc. the term 'queen',
| spouse 4           = Name & Wikilink<br />Name & Wikilink, etc. 'consort' etc. is
| spouse 5           = Name & Wikilink<br />Name & Wikilink, etc. inappropriate, e.g. the
| spouse 6           = Name & Wikilink<br />Name & Wikilink, etc. wife of a Roman emperor whom he married and then divorced before
| spouse 7           = Name & Wikilink<br />Name & Wikilink, etc. ascending the throne)
| spouse 8           = Name & Wikilink<br />Name & Wikilink, etc.
| spouse 9           = Name & Wikilink<br />Name & Wikilink, etc.
| spouse 10          = Name & Wikilink<br />Name & Wikilink, etc.
| offspring          = Name & Wikilink<br />Name & Wikilink, etc.
| royal house        = House of X & Wikilink
| dynasty            = X dynasty & Wikilink (for those where 'dynasty' and not 'house' is the correct nomenclature e.g. Roman emperors)
| royal anthem       = Name & Wikilink
| father             = Name & Wikilink
| mother             = Name & Wikilink
| date of birth      = (use templates; see below)
| place of birth     = Name & Wikilink
| date of death      = D Month, YYYY
| place of death     = Name & Wikilink
| date of burial     = D Month, YYYY
| place of burial    = Name & Wikilink
}}

Parameters[change source]

name
Name (in most common usage)
title
King/Queen/etc of X
image
[[Image:X.jpg|200px|caption]]
caption
Image caption
reign
D Month, YYYY – D Month, YYYY
coronation
D Month, YYYY
investiture
D Month, YYYY
full name
Full legal non-titular name
birth_name
if different
native_lang1
label: language name
native_lang1_name1 
data: monarch's name in above language
(for different transliterations of native names, useful for Oriental Monarchs, see Songtsen Gampo)
native_lang2
native_lang2_name1 
up to native_lang8 and native_lang8_name1
othertitles
Other titles & wikilink <br /> Other titles & wikilink, etc.
baptism
date
birth_date
if alive: {{birth date and age|YYYY|MM|DD}}
if dead: {{birth date|YYYY|MM|DD}}
birth_place
Name & wikilink
death_date
{{death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth)
death_place
Name & wikilink
burial_date
D Month, YYYY
burial_place
Name & wikilink <br /> {{coord|LAT|LONG|display=inline,title}}
predecessor
Name & wikilink
suc-type
label: To use the heir field, the type of heir is required (Heir-Apparent / Heir-Presumptive)
heir
data: Name & wikilink
successor
Name & wikilink
queen
consort
consortreign
Name & wikilink (all three labeled as Consort)
consortto
spouse
Name & wikilink (both are labeled as Consort to)
spouse 1
spouse 2
Name & wikilink (numbers 1 through 9, labeled as Wife or Wives) - these are for the wives of male rulers for whom the term 'queen', 'consort' etc. is inappropriate, e.g. the wife of a Roman emperor whom he married and then divorced before ascending the throne
issue
list of children: Name & wikilink <br /> Name & wikilink, etc.
royal house
House of X & wikilink
dynasty
X dynasty & wikilink (for those where 'dynasty' and not 'house' is the correct nomenclature e.g. Roman emperors)
royal anthem
Name & wikilink
royal motto
Text
father
Name & wikilink
mother
Name & wikilink
religion
Name & wikilink

Example[change source]

Margrethe II
Queen of Denmark
Queen Magrethe sep 7 2005.png
Reign14 January 1972 – present
(47 years)
Born (1940-04-16) 16 April 1940 (age 79)
BirthplaceAmalienborg Palace, Copenhagen
PredecessorFrederick IX
Heir-ApparentFrederik, Crown Prince of Denmark
ConsortHenrik, Prince Consort of Denmark
ChildrenFrederik
Joachim
Royal HouseHouse of Glücksburg
Royal mottoGuds hjælp, Folkets kærlighed, Danmarks styrke
(The Help of God, the Love of the People, the Strength of Denmark)
FatherFrederick IX
MotherIngrid of Sweden
{{Infobox monarch
| name = Margrethe II
| title = Queen of Denmark<!--No other titles. Margrethe abolished the rest of her predecessors' titles when she became queen. Besides, most of them could only have been inherited by a male. -->
| image = Queen Magrethe sep 7 2005.png
| reign = 14 January 1972 – present<br />({{age|1972|1|14}} years)
| birth_date  = {{Birth date and age|1940|4|16|df=yes}}
| birth_place = [[Amalienborg Palace]], [[Copenhagen]]
| predecessor = [[Frederick IX of Denmark|Frederick IX]]
| suc-type = Heir-Apparent
| heir = [[Frederik, Crown Prince of Denmark]]
| consort = [[Henrik, Prince Consort of Denmark]]
| issue = [[Frederik, Crown Prince of Denmark|Frederik]], [[Prince Joachim of Denmark|Joachim]]
| royal house = [[Schleswig-Holstein-Sonderburg-Glücksburg|House of Glücksburg]]
| royal motto = Guds hjælp, Folkets kærlighed, Danmarks styrke<br>(''The Help of God, the Love of the People, the Strength of Denmark'')
| father = [[Frederick IX of Denmark|Frederick IX]]
| mother = [[Ingrid of Sweden]]
}}

Microformat[change source]

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[change source]

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[change source]

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.

See also[change source]