Difference between revisions of "Template:Infobox monarch/doc"

From blackwiki
Jump to navigation Jump to search
imported>DrKay
(parameters unused in article space)
imported>DrKay
("suc-type" and "consort" parameters are used differently at the merge target, so I have removed/replaced all instances or moved the data to other parameter rows)
Line 27: Line 27:
 
| burial_place      = <!-- <br /> {{coord|LAT|LONG|display=inline,title}} -->
 
| burial_place      = <!-- <br /> {{coord|LAT|LONG|display=inline,title}} -->
 
| predecessor        =  
 
| predecessor        =  
| suc-type          =
 
| heir              =
 
 
| successor          =  
 
| successor          =  
 
| queen              =  
 
| queen              =  
| consort            =
 
| consortreign      =
 
| consortto          =
 
 
| spouse            =  
 
| spouse            =  
 
| spouse 1          =  
 
| spouse 1          =  
Line 72: Line 67:
 
; burial_place      : Name & wikilink &lt;br /> {{tlx|coord|LAT|LONG|4=display=inline,title}}
 
; burial_place      : Name & wikilink &lt;br /> {{tlx|coord|LAT|LONG|4=display=inline,title}}
 
; predecessor        : Name & wikilink
 
; 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
 
; successor          : Name & wikilink
; queen              :
+
; queen              : Name & wikilink (labeled as '''Consort''')
; consort            :
 
; consortreign      : Name & wikilink (all three labeled as '''Consort''')
 
; consortto          : Name & wikilink (labeled as '''Consort to''')
 
 
; spouse            : Name & wikilink (labeled as '''Spouse''')
 
; spouse            : Name & wikilink (labeled as '''Spouse''')
 
; spouse 1          :
 
; spouse 1          :

Revision as of 21:18, 26 September 2014

Usage

Blank template

{{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        = 
| successor          = 
| queen              = 
| spouse             = 
| spouse 1           = 
| spouse 2           = 
| issue              = <!-- Children's names go here -->
| royal house        = 
| dynasty            = 
| father             = 
| mother             = 
| religion           =
| signature          =
}}

Parameters

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
successor
Name & wikilink
queen
Name & wikilink (labeled as Consort)
spouse
Name & wikilink (labeled as Spouse)
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)
father
Name & wikilink
mother
Name & wikilink
religion
Name & wikilink

Example

Margrethe II
Queen of Denmark
Queen Magrethe sep 7 2005.png
Script error: No such module "If empty".14 January 1972 – present
PredecessorFrederick IX
Born (1940-04-16) 16 April 1940 (age 85)
Amalienborg Palace, Copenhagen
IssueFrederik
Joachim
HouseHouse of Glücksburg
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
| 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]]
| father = [[Frederick IX of Denmark|Frederick IX]]
| mother = [[Ingrid of Sweden]]
}}

Microformat

Template:UF-hcard-person

See also