Jump to content

Template:Infobox royalty: Difference between revisions

From Austenasia Wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox vcard"
{| class="infobox vcard" style="float:right; clear:right; margin:0 0 1em 1em; width:22em; max-width:100%; border:1px solid #a2a9b1; border-spacing:3px; background-color:#f8f9fa; color:#202122; font-size:88%; line-height:1.5em;"
! colspan="2" class="infobox-above" | {{{name|{{PAGENAME}}}}}
|-
! colspan="2" style="text-align:center; font-size:125%; font-weight:bold; padding:0.4em;" | {{{name|{{PAGENAME}}}}}
 
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{image}}}|{{{image_size|220px}}}|frameless{{#if:{{{alt|}}}|{{!}}alt={{{alt}}}}}]]
{{!}} colspan="2" style="text-align:center; padding:0.4em;" {{!}} [[File:{{{image}}}|frameless|{{{image_size|220px}}}{{#if:{{{alt|}}}|{{!}}alt={{{alt}}}}}]]
{{#if:{{{caption|}}}|<div class="infobox-caption">{{{caption}}}</div>}}
{{#if:{{{caption|}}}|<div style="font-size:90%; line-height:1.3em; padding-top:0.2em;">{{{caption}}}</div>}}
}}
}}
{{#if:{{{succession|{{{title|}}}}}}|
{{#if:{{{succession|{{{title|}}}}}}|
{{!}}-
{{!}}-
! colspan="2" class="infobox-header" {{!}} {{{succession|{{{title|}}}}}}
! colspan="2" style="text-align:center; background:#eaecf0; font-size:110%; padding:0.25em;" {{!}} {{{succession|{{{title|}}}}}}
}}
}}
{{#if:{{{reign|}}}|
{{#if:{{{reign|}}}|
{{!}}-
{{!}}-
! Reign
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Reign
{{!}} {{{reign}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{reign}}}
}}
}}
{{#if:{{{coronation|}}}|
{{#if:{{{coronation|}}}|
{{!}}-
{{!}}-
! Coronation
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Coronation
{{!}} {{{coronation}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{coronation}}}
}}
}}
{{#if:{{{predecessor|}}}|
{{#if:{{{predecessor|}}}|
{{!}}-
{{!}}-
! Predecessor
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Predecessor
{{!}} {{{predecessor}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{predecessor}}}
}}
}}
{{#if:{{{successor|}}}|
{{#if:{{{successor|}}}|
{{!}}-
{{!}}-
! Successor
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Successor
{{!}} {{{successor}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{successor}}}
}}
}}
{{#if:{{{heir|}}}|
{{#if:{{{heir|}}}|
{{!}}-
{{!}}-
! Heir
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Heir
{{!}} {{{heir}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{heir}}}
}}
}}
{{#if:{{{regent|}}}|
{{#if:{{{regent|}}}|
{{!}}-
{{!}}-
! Regent
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} {{{reg-type|Regent}}}
{{!}} {{{regent}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{regent}}}
}}
{{#if:{{{reg-type|}}}|
{{!}}-
! {{{reg-type}}}
{{!}} {{{regent|}}}
}}
}}
{{#if:{{{born|}}}|
{{#if:{{{born|}}}|
{{!}}-
{{!}}-
! Born
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Born
{{!}} {{{born}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{born}}}{{#if:{{{birth_place|}}}|<br />{{{birth_place}}}}}
}}
{{#if:{{{birth_place|}}}|
{{!}}-
! Birthplace
{{!}} {{{birth_place}}}
}}
}}
{{#if:{{{died|}}}|
{{#if:{{{died|}}}|
{{!}}-
{{!}}-
! Died
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Died
{{!}} {{{died}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{died}}}{{#if:{{{death_place|}}}|<br />{{{death_place}}}}}
}}
}}
{{#if:{{{death_place|}}}|
 
{{!}}-
! Place of death
{{!}} {{{death_place}}}
}}
{{#if:{{{burial_date|}}}|
{{!}}-
! Burial
{{!}} {{{burial_date}}}{{#if:{{{burial_place|}}}|<br />{{{burial_place}}}}}
|
{{#if:{{{burial_place|}}}|
{{#if:{{{burial_place|}}}|
{{!}}-
{{!}}-
! Burial
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Burial
{{!}} {{{burial_place}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{#if:{{{burial_date|}}}|{{{burial_date}}}<br />}}{{{burial_place}}}
}}
}}
}}
{{#if:{{{spouse|}}}|
{{#if:{{{spouse|}}}|
{{!}}-
{{!}}-
! Spouse
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Spouse
{{!}} {{{spouse}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{spouse}}}
}}
{{#if:{{{consort|}}}|
{{!}}-
! Consort
{{!}} {{{consort}}}
}}
}}
{{#if:{{{issue|}}}|
{{#if:{{{issue|}}}|
{{!}}-
{{!}}-
! Issue
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Issue
{{!}} {{{issue}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{issue}}}
}}
}}
{{#if:{{{issue-link|}}}|
 
{{#if:{{{full_name|}}}|
{{!}}-
{{!}}-
! Issue
! colspan="2" style="text-align:center; background:#eaecf0; padding:0.25em;" {{!}} Full name
{{!}} [[{{{issue-link}}}|{{{issue-pipe|more...}}}]]
}}
{{#if:{{{full_name|}}}|
{{!}}-
{{!}}-
! Full name
{{!}} colspan="2" style="text-align:center; padding:0.3em;" {{!}} {{{full_name}}}
{{!}} {{{full_name}}}
}}
}}
{{#if:{{{regnal_name|}}}|
{{#if:{{{regnal_name|}}}|
{{!}}-
{{!}}-
! Regnal name
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Regnal name
{{!}} {{{regnal_name}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{regnal_name}}}
}}
}}
{{#if:{{{house|}}}|
{{#if:{{{house|}}}|
{{!}}-
{{!}}-
! House
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} House
{{!}} {{{house}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{house}}}
}}
}}
{{#if:{{{dynasty|}}}|
{{#if:{{{dynasty|}}}|
{{!}}-
{{!}}-
! Dynasty
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Dynasty
{{!}} {{{dynasty}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{dynasty}}}
}}
}}
{{#if:{{{father|}}}|
{{#if:{{{father|}}}|
{{!}}-
{{!}}-
! Father
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Father
{{!}} {{{father}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{father}}}
}}
}}
{{#if:{{{mother|}}}|
{{#if:{{{mother|}}}|
{{!}}-
{{!}}-
! Mother
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Mother
{{!}} {{{mother}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{mother}}}
}}
}}
{{#if:{{{religion|}}}|
{{#if:{{{religion|}}}|
{{!}}-
{{!}}-
! Religion
! scope="row" style="text-align:left; vertical-align:top; white-space:nowrap; padding:0.2em 0.4em;" {{!}} Religion
{{!}} {{{religion}}}
{{!}} style="vertical-align:top; padding:0.2em 0.4em;" {{!}} {{{religion}}}
}}
}}
{{#if:{{{signature|}}}|
{{#if:{{{signature|}}}|
{{!}}-
{{!}}-
! Signature
! scope="row" style="text-align:left; vertical-align:middle; padding:0.2em 0.4em;" {{!}} Signature
{{!}} [[File:{{{signature}}}|frameless|150px]]
{{!}} style="text-align:center; padding:0.4em;" {{!}} [[File:{{{signature}}}|frameless|150px]]
}}
}}
{{#if:{{{coat_of_arms|}}}|
{{#if:{{{coat_of_arms|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{coat_of_arms}}}|frameless|150px]]
{{!}} colspan="2" style="text-align:center; padding-top:0.6em;" {{!}} [[File:{{{coat_of_arms}}}|frameless|120px]]
{{#if:{{{coat_of_arms_caption|}}}|<div class="infobox-caption">{{{coat_of_arms_caption}}}</div>}}
{{#if:{{{coat_of_arms_caption|}}}|<div style="font-size:90%; line-height:1.3em;">{{{coat_of_arms_caption}}}</div>}}
}}
}}
|}
|}
</includeonly><noinclude>
</includeonly><noinclude>
'''Infobox royalty''' is used for monarchs and other members of royal or imperial houses.
== Usage ==
== Usage ==
<pre>
<pre>
{{Infobox royalty
{{Infobox royalty
Line 161: Line 152:
| successor            =
| successor            =
| heir                =
| heir                =
| regent              =
| reg-type            =
| born                =
| born                =
| birth_place          =
| birth_place          =
Line 172: Line 165:
| regnal_name          =
| regnal_name          =
| house                =
| house                =
| dynasty              =
| father              =
| father              =
| mother              =
| mother              =

Revision as of 01:11, 15 September 2026

Usage

{{Infobox royalty
| name                 =
| image                =
| image_size           =
| alt                  =
| caption              =
| succession           =
| reign                =
| coronation           =
| predecessor          =
| successor            =
| heir                 =
| regent               =
| reg-type             =
| born                 =
| birth_place          =
| died                 =
| death_place          =
| burial_date          =
| burial_place         =
| spouse               =
| issue                =
| full_name            =
| regnal_name          =
| house                =
| dynasty              =
| father               =
| mother               =
| religion             =
| signature            =
| coat_of_arms         =
| coat_of_arms_caption =
}}