跳转到内容

Template:Infobox royalty/doc

维基百科,自由的百科全书

用法

[编辑]
{{{name}}}
{{{title}}} {{{titletext}}}
[[File:{{{image}}}|{{{image_size}}}
|alt={{{alt}}}|upright=1.0|{{{alt}}}]]
{{{caption}}}
{{{succession}}}
{{{moretext}}}
{{{reign-type}}}{{{reign}}}
{{{cor-type}}}{{{coronation}}}
{{{pre-type}}}{{{predecessor}}}
{{{suc-type}}}{{{successor}}}
{{{reg-type}}}{{{regent}}}
{{{succession1}}}
{{{moretext1}}}
{{{reign-type1}}}{{{reign1}}}
{{{cor-type1}}}{{{coronation1}}}
{{{pre-type1}}}{{{predecessor1}}}
{{{suc-type1}}}{{{successor1}}}
{{{reg-type1}}}{{{regent1}}}
{{{succession2}}}
{{{moretext2}}}
{{{reign-type2}}}{{{reign2}}}
{{{cor-type2}}}{{{coronation2}}}
{{{pre-type2}}}{{{predecessor2}}}
{{{suc-type2}}}{{{successor2}}}
{{{reg-type2}}}{{{regent2}}}
{{{succession3}}}
{{{moretext3}}}
{{{reign-type3}}}{{{reign3}}}
{{{cor-type3}}}{{{coronation3}}}
{{{pre-type3}}}{{{predecessor3}}}
{{{suc-type3}}}{{{successor3}}}
{{{reg-type3}}}{{{regent3}}}
出生{{{birth_name}}}
{{{birth_date}}}
{{{birth_place}}}
逝世{{{death_date}}}
{{{death_place}}}
安葬{{{burial_date}}}
{{{burial_place}}}
{{{spouse-type}}}{{{spouse}}}
{{{issue-type}}}
[[{{{issue-link}}}|{{{issue-pipe}}}]]
{{{issue}}}
全名
{{{full name}}}
時代及年號
{{{era name}}}:{{{era dates}}}
尊号
{{{regnal name}}}
谥号
{{{posthumous name}}}
庙号
{{{temple name}}}
蒙古语尊號
{{{mongol posthumous name}}}
{{{house-type}}}{{{house}}}
父親{{{father}}}
母親{{{mother}}}
宗教信仰{{{religion}}}
職業{{{occupation}}}
{{{signature_type}}}[[File:{{{signature}}}
|125px|{{{name}}}的签名]]
{{{module}}}
{{Infobox royalty
| embed          = 
| name           = 
| title          = 
| titletext      = 
| more           = 
| type           = 
| image          = 
| image_size     = 
| alt            = 
| caption        = 

| succession     = 
| moretext       = 
| reign          = 
| reign-type     = 
| coronation     = 
| cor-type       = 
| predecessor    = 
| pre-type       = 
| successor      = 
| suc-type       = 
| regent         = 
| reg-type       = 

| succession1    = 
| moretext1      = 
| reign1         = 
| reign-type1    = 
| coronation1    = 
| cor-type1      = 
| predecessor1   = 
| pre-type1      = 
| successor1     = 
| suc-type1      = 
| regent1        = 
| reg-type1      = 

| succession2    = 
| moretext2      = 
| reign2         = 
| reign-type2    = 
| coronation2    = 
| cor-type2      = 
| predecessor2   = 
| pre-type2      = 
| successor2     = 
| suc-type2      = 
| regent2        = 
| reg-type2      = 

| succession3    = 
| moretext3      = 
| reign3         = 
| reign-type3    = 
| coronation3    = 
| cor-type3      = 
| predecessor3   = 
| pre-type3      = 
| successor3     = 
| suc-type3      = 
| regent3        = 
| reg-type3      = 

<!-- succession4 to succession9 are also available -->   

| birth_name     = 
| birth_date     = <!-- For Gregorian dates: {{birth date and age|YYYY|MM|DD|df=y}} -->
| birth_place    = 
| death_date     = <!-- {{death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} -->
| death_place    = 
| burial_date    = 
| burial_place   = 
| spouse         = 
| spouse-type    = 
| consort        = <!-- yes or no -->
| issue          = <!--list children in order of birth. Use {{plainlist}} or {{unbulleted list}} -->
| issue-link     = 
| issue-pipe     = 
| issue-type     = 
| full name      = 
| era name       = 
| era dates      = 
| regnal name    = 
| posthumous name= 
| temple name    = 
| mongol posthumous name =
| house          = 
| house-type     = 
| father         = 
| mother         = 
| relatives      = 

| religion       =
| occupation     = 
| signature_type = 
| signature      = 
| signature_class     = 

| module         = 
}}

示例

[编辑]
Henry VIII
Portrait by Hans Holbein the Younger
(Walker Art Gallery, Liverpool).
統治21 April 1509 – 28 January 1547
加冕24 June 1509
前任Henry VII
繼任Edward VI
出生28 June 1491
Greenwich Palace, Greenwich
逝世1547年1月28日(1547歲—01—28)(55歲)
Palace of Whitehall, London
安葬
配偶
子嗣
(among others)
王朝Tudor
父親Henry VII of England
母親Elizabeth of York
宗教信仰
Christian (Roman Catholic then Anglican)
簽名Henry VIII的签名
{{Infobox royalty
| name = Henry VIII
| image = After Hans Holbein the Younger - Portrait of Henry VIII - Google Art Project.jpg
| caption = {{longitem|Portrait by [[Hans Holbein the Younger]]<br/>(Walker Art Gallery, Liverpool).}}
| succession = {{hlist |[[List of English monarchs|King of England]] |[[List of Irish monarchs|Lord/King of Ireland]]}}
| moretext = ([[Style of the English sovereigns|more...]])
| reign = {{nowrap|21 April 1509 – 28 January 1547}}
| coronation = 24 June 1509
| predecessor = [[Henry VII of England|Henry VII]]
| successor = [[Edward VI of England|Edward VI]]
| spouses = {{plainlist|
* [[Catherine of Aragon]]
* [[Anne Boleyn]]
* [[Jane Seymour]]
* [[Anne of Cleves]]
* [[Catherine Howard]]
* [[Catherine Parr]]
}}
| issue = {{plainlist|
* [[Mary I of England]]
* [[Henry FitzRoy, 1st Duke of Richmond and Somerset|Henry Fitzroy]] ''(illegitimate)''
* [[Elizabeth I of England]]
* [[Edward VI of England]]
}}
| issue-link = #Marriages and issue
| issue-pipe = (among others)
| house = [[House of Tudor|Tudor]]
| father = [[Henry VII of England]]
| mother = [[Elizabeth of York]]
| birth_date = 28 June 1491
| birth_place = [[Palace of Placentia|Greenwich Palace]], [[Greenwich]]
| death_date = {{death date and age|1547|1|28|1491|6|28}}
| death_place = [[Palace of Whitehall]], London
| burial_place = {{nowrap|[[St George's Chapel, Windsor Castle]]}}
| signature = HenryVIIISig.svg
| signature_class = skin-invert
| religion = {{longitem|Christian ([[Catholic Church|Roman Catholic]] then [[Anglo-Catholicism#History|Anglican]])}}
}}

模板数据

[编辑]
模板数据
以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox royalty模板数据

An infobox for royalty

模板参数

此模板有自定义格式。

参数描述类型状态
Namename

Most common name in English-language sources.

字符串可选
Titletitle

Principal substantive title(s) in use.

字符串可选
Titletexttitletext

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

字符串可选
Moremore

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

字符串可选
Imageimage

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

文件可选
image_sizeimage_size

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

默认值
220px
字符串可选
image_uprightimage_upright

Affects the size of the image – default 1.0 displays as the default image_size.

默认值
1.0
字符串可选
Altalt

Alt text for the image

字符串可选
Captioncaption

Details of author and year

字符串可选
Successionsuccession

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

字符串可选
moretextmoretext

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

字符串可选
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))

字符串可选
Reign-typereign-type

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

字符串可选
Coronationcoronation

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

字符串可选
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.

字符串可选
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'.

字符串可选
Predecessor-typepre-type

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

字符串可选
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>

字符串可选
Regent-typereg-type

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

字符串可选
Successorsuccessor

As predecessor, mutatis mutandis

字符串可选
Successor-typesuc-type

Optional alternative text for 'Successor'. e.g. 'Heir apparent' or 'Heir presumptive' (dependent upon 'successor')

字符串可选
Birth namebirth_name

If different from name or full name.

字符串可选
Birth datebirth_date

for dead people with dates in the Gregorian calendar, {{birth date|yyyy|mm|dd|df=yes}} (m.m. per MOS:DATE#Dates and Template:Birth date), for living persons, {{birth date and age|yyyy|mm|dd|df=yes}} (m.m. per MOS:DATE#Dates and Template:Birth date and age)

字符串可选
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')

字符串可选
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)

字符串可选
Death placedeath_place

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

字符串可选
Burial dateburial_date date of burial

See 'death_date'

字符串可选
Burial placeburial_place place of burial

See 'birth_place'

字符串可选
Consortconsort

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

字符串可选
Spousespouse spouses

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. 'spouses' will have label 'Spouses' instead of 'Spouse'.

字符串可选
Spouse-typespouse-type spouses-type

Optional alternative text for 'Spouse' and 'Spouses'.

字符串可选
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), do not use 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-linkissue-link

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

字符串可选
Issue-pipeissue-pipe

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

字符串可选
Full namefull name family_name clan_name given_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 ''{{langx|XX|}}'' Multilingual support template)

字符串可选
Era nameera name

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

字符串可选
Era datesera dates

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

字符串可选
Regnal nameregnal name

The monarch's regnal name

字符串可选
Posthumous nameposthumous name

The posthumous name given to monarchs in certain traditions

字符串可选
Temple nametemple name

As 'posthumous name' m.m.

字符串可选
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)

字符串可选
House-typehouse-type

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

字符串可选
Fatherfather

Most common shorthand title, do not use preceding styles (e.g. HM). May include multiple individuals, such as (biological), (adoptive) or (''hānai''). See also note for 'predecessor'.

字符串可选
Mothermother

Most common maiden name or highest title held in her own right

字符串可选
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).

字符串可选
signaturesignature

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

字符串可选
Signature typesignature_type

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

字符串可选
Signature altsignature_alt

Alt text for signature

字符串可选
Religionreligion

The subject's religion(s) may be listed with dates (in chronological order) if relevant, sourced and uncontroversial

字符串可选
embedembed

无描述

未知可选
22

无描述

未知可选
investitureinvestiture

无描述

未知可选
succession1succession1

无描述

未知可选
moretext1moretext1

无描述

未知可选
reign-type1reign-type1

无描述

未知可选
reign1reign1

无描述

未知可选
cor-type1cor-type1

无描述

未知可选
coronation1coronation1

无描述

未知可选
pre-type1pre-type1

无描述

未知可选
predecessor1predecessor1

无描述

未知可选
suc-type1suc-type1

无描述

未知可选
successor1successor1

无描述

未知可选
reg-type1reg-type1

无描述

未知可选
regent1regent1

无描述

未知可选
succession2succession2

无描述

未知可选
moretext2moretext2

无描述

未知可选
reign-type2reign-type2

无描述

未知可选
reign2reign2

无描述

未知可选
cor-type2cor-type2

无描述

未知可选
coronation2coronation2

无描述

未知可选
pre-type2pre-type2

无描述

未知可选
predecessor2predecessor2

无描述

未知可选
suc-type2suc-type2

无描述

未知可选
successor2successor2

无描述

未知可选
reg-type2reg-type2

无描述

未知可选
regent2regent2

无描述

未知可选
succession3succession3

无描述

未知可选
moretext3moretext3

无描述

未知可选
reign-type3reign-type3

无描述

未知可选
reign3reign3

无描述

未知可选
cor-type3cor-type3

无描述

未知可选
coronation3coronation3

无描述

未知可选
pre-type3pre-type3

无描述

未知可选
predecessor3predecessor3

无描述

未知可选
suc-type3suc-type3

无描述

未知可选
successor3successor3

无描述

未知可选
reg-type3reg-type3

无描述

未知可选
regent3regent3

无描述

未知可选
succession4succession4

无描述

未知可选
moretext4moretext4

无描述

未知可选
reign-type4reign-type4

无描述

未知可选
reign4reign4

无描述

未知可选
cor-type4cor-type4

无描述

未知可选
coronation4coronation4

无描述

未知可选
pre-type4pre-type4

无描述

未知可选
predecessor4predecessor4

无描述

未知可选
suc-type4suc-type4

无描述

未知可选
successor4successor4

无描述

未知可选
reg-type4reg-type4

无描述

未知可选
regent4regent4

无描述

未知可选
succession5succession5

无描述

未知可选
moretext5moretext5

无描述

未知可选
reign-type5reign-type5

无描述

未知可选
reign5reign5

无描述

未知可选
cor-type5cor-type5

无描述

未知可选
coronation5coronation5

无描述

未知可选
pre-type5pre-type5

无描述

未知可选
predecessor5predecessor5

无描述

未知可选
suc-type5suc-type5

无描述

未知可选
successor5successor5

无描述

未知可选
reg-type5reg-type5

无描述

未知可选
regent5regent5

无描述

未知可选
succession6succession6

无描述

未知可选
moretext6moretext6

无描述

未知可选
reign-type6reign-type6

无描述

未知可选
reign6reign6

无描述

未知可选
cor-type6cor-type6

无描述

未知可选
coronation6coronation6

无描述

未知可选
pre-type6pre-type6

无描述

未知可选
predecessor6predecessor6

无描述

未知可选
suc-type6suc-type6

无描述

未知可选
successor6successor6

无描述

未知可选
reg-type6reg-type6

无描述

未知可选
regent6regent6

无描述

未知可选
succession7succession7

无描述

未知可选
moretext7moretext7

无描述

未知可选
reign-type7reign-type7

无描述

未知可选
reign7reign7

无描述

未知可选
cor-type7cor-type7

无描述

未知可选
coronation7coronation7

无描述

未知可选
pre-type7pre-type7

无描述

未知可选
predecessor7predecessor7

无描述

未知可选
suc-type7suc-type7

无描述

未知可选
successor7successor7

无描述

未知可选
reg-type7reg-type7

无描述

未知可选
regent7regent7

无描述

未知可选
succession8succession8

无描述

未知可选
moretext8moretext8

无描述

未知可选
reign-type8reign-type8

无描述

未知可选
reign8reign8

无描述

未知可选
cor-type8cor-type8

无描述

未知可选
coronation8coronation8

无描述

未知可选
pre-type8pre-type8

无描述

未知可选
predecessor8predecessor8

无描述

未知可选
suc-type8suc-type8

无描述

未知可选
successor8successor8

无描述

未知可选
reg-type8reg-type8

无描述

未知可选
regent8regent8

无描述

未知可选
succession9succession9

无描述

未知可选
moretext9moretext9

无描述

未知可选
reign-type9reign-type9

无描述

未知可选
reign9reign9

无描述

未知可选
cor-type9cor-type9

无描述

未知可选
coronation9coronation9

无描述

未知可选
pre-type9pre-type9

无描述

未知可选
predecessor9predecessor9

无描述

未知可选
suc-type9suc-type9

无描述

未知可选
successor9successor9

无描述

未知可选
reg-type9reg-type9

无描述

未知可选
regent9regent9

无描述

未知可选
succession10succession10

无描述

未知可选
moretext10moretext10

无描述

未知可选
reign-type10reign-type10

无描述

未知可选
reign10reign10

无描述

未知可选
cor-type10cor-type10

无描述

未知可选
coronation10coronation10

无描述

未知可选
pre-type10pre-type10

无描述

未知可选
predecessor10predecessor10

无描述

未知可选
suc-type10suc-type10

无描述

未知可选
successor10successor10

无描述

未知可选
reg-type10reg-type10

无描述

未知可选
regent10regent10

无描述

未知可选
queenqueen

无描述

未知可选
typetype

无描述

未知可选
spouse 2spouse 2

无描述

未知可选
spouse 1spouse 1

无描述

未知可选
spouse 3spouse 3

无描述

未知可选
spouse 4spouse 4

无描述

未知可选
spouse 5spouse 5

无描述

未知可选
spouse 6spouse 6

无描述

未知可选
spouse 7spouse 7

无描述

未知可选
spouse 8spouse 8

无描述

未知可选
spouse 9spouse 9

无描述

未知可选
issue-typeissue-type

无描述

未知可选
native_lang1native_lang1

无描述

未知可选
native_lang1_name1native_lang1_name1

无描述

未知可选
native_lang2native_lang2

无描述

未知可选
native_lang2_name1native_lang2_name1

无描述

未知可选
native_lang3native_lang3

无描述

未知可选
native_lang3_name1native_lang3_name1

无描述

未知可选
native_lang4native_lang4

无描述

未知可选
native_lang4_name1native_lang4_name1

无描述

未知可选
native_lang5native_lang5

无描述

未知可选
native_lang5_name1native_lang5_name1

无描述

未知可选
royal houseroyal house

无描述

未知可选
dynastydynasty

无描述

未知可选
modulemodule

无描述

未知可选
pronunciationpronunciation

无描述

未知可选

微格式

[编辑]

本模板使用了hCard 微格式標記,被標記的人物資料可以被電腦分析讀取,以便将其自動归類,或者透過專門的瀏覽器取得資料訊息,例如將訊息加入通訊錄。關於在維基百科使用微格式的詳細訊息,請參見微格式維基專題

出生日期(bday)參數只能使用於包含了 {{bd}} 或 {{Birth date and age}} 模板的信息框。

  • adr
  • bday
  • county-name
  • fn(必須)
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • nickname
  • note
  • org
  • role
  • vcard

請不要移除或重新命名這些class。

追踪模板

[编辑]

參見

[编辑]