User:Mohammad adil/infobox caliph/doc

From Wikipedia, the free encyclopedia

Usage[edit]

{{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
}}


Margrethe II
Queen of Denmark
Reign14 January 1972 – Present
(52 years)
PredecessorFrederick IX
IssueFrederik, Joachim
HouseHouse of Glücksburg
FatherFrederick IX
MotherIngrid of Sweden

Microformats[edit]

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[edit]

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[edit]

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.