Template:Infobox royalty: Difference between revisions
m (1 revision imported) |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}} | {{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}} | ||
{{infobox | {{infobox | ||
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}} | | child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}} | ||
Line 287: | Line 287: | ||
| headerstyle = text-align:left | | headerstyle = text-align:left | ||
| datastyle = text-align:left; padding-left:0.7em; | | datastyle = text-align:left; padding-left:0.7em; | ||
| header1 = {{#if:{{{full name|}}}| | | header1 = {{#if:{{{full name|}}}|Names}} | ||
| class2 = nickname <!-- "nickname" is the correct parameter value for hCard --> | | class2 = nickname <!-- "nickname" is the correct parameter value for hCard --> | ||
| data2 = {{{full name|}}} | | data2 = {{{full name|}}} | ||
Line 345: | Line 345: | ||
| data89 = {{{occupation|}}} | | data89 = {{{occupation|}}} | ||
| label90 | | label90 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }} | ||
| data90 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=125px|class=notpageimage|alt={{{signature_alt|}}}|title={{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}'s signature}}}} | |||
| | |||
| data91 = {{{module|}}} | | data91 = {{{module|}}} |
Latest revision as of 14:13, 27 December 2022
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Template:Person infobox header Template:Auto short description
This template uses Lua: |
This template may be used for anyone having royal connections. This template is only for historic biographies and must not be used for mythical / legendary characters or creatures. You can use other templates for them, such as {{Infobox character}}
.
Blank syntax
{{{name}}} | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{{title}}} {{{titletext}}} | |||||||||||||||||||||
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.0]] | |||||||||||||||||||||
{{{succession}}} {{{moretext}}} | |||||||||||||||||||||
{{{reign-type}}} | {{{reign}}} | ||||||||||||||||||||
{{{cor-type}}} | {{{coronation}}} | ||||||||||||||||||||
Investiture | {{{investiture}}} | ||||||||||||||||||||
{{{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}}} | ||||||||||||||||||||
Born | {{{birth_name}}} {{{birth_date}}} {{{birth_place}}} | ||||||||||||||||||||
Died | {{{death_date}}} {{{death_place}}} | ||||||||||||||||||||
Burial | {{{burial_date}}} {{{burial_place}}} | ||||||||||||||||||||
Consort | {{{queen}}} | ||||||||||||||||||||
{{{spouse-type}}} | {{{spouse}}} | ||||||||||||||||||||
{{{spouses-type}}} | {{{spouses}}} | ||||||||||||||||||||
{{{issue-type}}} [[{{{issue-link}}}|{{{issue-pipe}}}]] | {{{issue}}} | ||||||||||||||||||||
| |||||||||||||||||||||
{{{native_lang1}}} | {{{native_lang1_name1}}} | ||||||||||||||||||||
{{{house-type}}} | {{{house}}} | ||||||||||||||||||||
{{{house-type}}} | {{{royal house}}} | ||||||||||||||||||||
Father | {{{father}}} | ||||||||||||||||||||
Mother | {{{mother}}} | ||||||||||||||||||||
Religion | {{{religion}}} | ||||||||||||||||||||
Occupation | {{{occupation}}} | ||||||||||||||||||||
{{{signature_type}}} | [[File:{{{signature}}}|125px|alt={{{signature_alt}}}|class=notpageimage|{{{name}}}'s signature]] | ||||||||||||||||||||
{{{module}}} |
{{Infobox royalty | embed = | name = | title = | titletext = | more = | image = | image_size = | alt = | caption = | succession = | moretext = | reign = | reign-type = | coronation = | cor-type = | investiture = | 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 = <!-- up to | succession10 = --> | moretext3 = | reign3 = | reign-type3 = | coronation3 = | cor-type3 = | predecessor3 = | pre-type3 = | successor3 = | suc-type3 = | regent3 = | reg-type3 = | 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 = | queen = | spouse = <!-- or | spouses = --> | spouse-type = <!-- or | spouses-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 = | native_lang1 = <!-- up to | native_lang5 = --> | native_lang1_name1 = <!-- up to | native_lang5_name1 = --> | house = | house-type = | royal house = | dynasty = | father = | mother = | religion = | occupation = | signature_type = | signature = | signature_alt = | module = }}
Example
Henry VIII | |
---|---|
(more...) | |
Reign | 21 April 1509 – 28 January 1547 |
Coronation | 24 June 1509 |
Predecessor | Henry VII |
Successor | Edward VI |
Born | 28 June 1491 Greenwich Palace, Greenwich |
Died | 28 January 1547 Palace of Whitehall, London | (aged 55)
Burial | |
Spouses | |
Issue (among others) |
|
House | Tudor |
Father | Henry VII of England |
Mother | Elizabeth of York |
Religion | Christian (Roman Catholic then Anglican) |
Signature |
{{Infobox royalty | name = Henry VIII | image = After Hans Holbein the Younger - Portrait of Henry VIII - Google Art Project.jpg | alt = Portrait of Henry VIII | 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|df=yes}} | death_place = [[Palace of Whitehall]], London | burial_place = {{nowrap|[[St George's Chapel, Windsor Castle]]}} | signature = HenryVIIISig.svg | religion = {{longitem|Christian ([[Catholic Church|Roman Catholic]] then [[Anglo-Catholicism#History|Anglican]])}} }}
Parameters
All parameters are optional (even "name" can be taken from PAGENAME).
name / title / type / image | |
name = | Most common name in English-language sources (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). Automatically italicized, so do not use {{plainlist}} or similar templates; use <br /> for line breaks.
|
titletext = | An explanatory note about "title", already in small text — 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
|
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 text — 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:
|
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–9 | |
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 "death_date" |
burial_place = | See "birth_place" |
spouse fields | |
consort = |
|
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. spouses is an alternative.
|
spouse-type = | Optional alternative text for 'Spouse', spouses-type is an alternative.
|
Another alternative is to repeat as "spouseX" and "spouseX-type" for 1–9; label is 'Wife' or 'Wives'. | |
issue = | Children in order of birth, using {{unbulleted list}}; 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-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|Saxe-Coburg and Gotha]] | [[House of Windsor|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 name, do not use preceding styles (e.g. HM). May include multiple individuals, such as (biological), (adoptive) or (hānai). See also note for 'predecessor'. |
mother = | Most common maiden name or highest title held in her own right |
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 = | X.jpg, being an image of the subject's personal signature |
signature_type = | A label to replace the default 'Signature', e.g. Tughra for Ottoman sultans |
signature_alt = | Alt text for signature |
religion = | Despite an RFC that generally forbids religion in "person" infoboxes, because religion is a relevant characteristic of many monarchs, religion may be listed if relevant, sourced and uncontroversial. See this template's talk page for related discussions. |
Use as a child template
The embed parameter is used when embedding this infobox into another.
Template:Infobox person module documentation
Embedding other templates
The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox royalty | name = | <!-- etc. --> | module = {{Infobox military person | embed=yes | <!-- etc. --> }} }}
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
TemplateData
Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox royalty An infobox for royalty
|
Tracking categories
- Category:Biography template using pronunciation (0)
- Category:Pages using infobox royalty with unknown parameters (0)
See also
- Infobox templates
- Lua-based templates
- Templates using TemplateData
- Royalty and nobility infobox templates
- Biographical templates usable as a module
- Infobox templates with module parameter
- Politics and government infobox templates
- Templates generating hCalendars
- Templates generating hCards
- Templates that add a tracking category