Jump to content

Template:Infobox royalty: Difference between revisions

From Austenasia Wiki
Created page with "<includeonly> <table class="infobox" style="width:22em;"> <tr> <th colspan="2" style="text-align:center; font-size:125%;">{{{name|{{PAGENAME}}}}}</th> </tr> {{#if:{{{image|}}}| <tr> <td colspan="2" style="text-align:center;">[[File:{{{image}}}|frameless|250px{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}}}]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}</td> </tr> }} {{#if:{{{title|}}}| <tr> <th colspan="2" style="text-align:center;">{{{title}}}</th> </tr> }}..."
 
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
<table class="infobox" style="width:22em;">
{| class="infobox vcard"
<tr>
! colspan="2" class="infobox-above" | {{{name|{{PAGENAME}}}}}
<th colspan="2" style="text-align:center; font-size:125%;">{{{name|{{PAGENAME}}}}}</th>
</tr>
 
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<tr>
{{!}}-
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|frameless|250px{{#if:{{{image_size|}}}|{{!}}{{{image_size}}}}}]]{{#if:{{{caption|}}}|<br /><small>{{{caption}}}</small>}}</td>
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{image}}}|{{{image_size|220px}}}|frameless{{#if:{{{alt|}}}|{{!}}alt={{{alt}}}}}]]
</tr>
{{#if:{{{caption|}}}|<div class="infobox-caption">{{{caption}}}</div>}}
}}
}}
 
{{#if:{{{succession|{{{title|}}}}}}|
{{#if:{{{title|}}}|
{{!}}-
<tr>
! colspan="2" class="infobox-header" {{!}} {{{succession|{{{title|}}}}}}
<th colspan="2" style="text-align:center;">{{{title}}}</th>
</tr>
}}
}}
{{#if:{{{reign|}}}|
{{#if:{{{reign|}}}|
<tr>
{{!}}-
<th scope="row">Reign</th>
! Reign
<td>{{{reign}}}</td>
{{!}} {{{reign}}}
</tr>
}}
}}
{{#if:{{{coronation|}}}|
{{#if:{{{coronation|}}}|
<tr>
{{!}}-
<th scope="row">Coronation</th>
! Coronation
<td>{{{coronation}}}</td>
{{!}} {{{coronation}}}
</tr>
}}
}}
{{#if:{{{predecessor|}}}|
{{#if:{{{predecessor|}}}|
<tr>
{{!}}-
<th scope="row">Predecessor</th>
! Predecessor
<td>{{{predecessor}}}</td>
{{!}} {{{predecessor}}}
</tr>
}}
}}
{{#if:{{{successor|}}}|
{{#if:{{{successor|}}}|
<tr>
{{!}}-
<th scope="row">Successor</th>
! Successor
<td>{{{successor}}}</td>
{{!}} {{{successor}}}
</tr>
}}
}}
{{#if:{{{heir|}}}|
{{#if:{{{heir|}}}|
<tr>
{{!}}-
<th scope="row">Heir</th>
! Heir
<td>{{{heir}}}</td>
{{!}} {{{heir}}}
</tr>
}}
{{#if:{{{regent|}}}|
{{!}}-
! Regent
{{!}} {{{regent}}}
}}
{{#if:{{{reg-type|}}}|
{{!}}-
! {{{reg-type}}}
{{!}} {{{regent|}}}
}}
}}
{{#if:{{{born|}}}|
{{#if:{{{born|}}}|
<tr>
{{!}}-
<th scope="row">Born</th>
! Born
<td>{{{born}}}</td>
{{!}} {{{born}}}
</tr>
}}
}}
{{#if:{{{birth_place|}}}|
{{#if:{{{birth_place|}}}|
<tr>
{{!}}-
<th scope="row">Birthplace</th>
! Birthplace
<td>{{{birth_place}}}</td>
{{!}} {{{birth_place}}}
</tr>
}}
}}
{{#if:{{{died|}}}|
{{#if:{{{died|}}}|
<tr>
{{!}}-
<th scope="row">Died</th>
! Died
<td>{{{died}}}</td>
{{!}} {{{died}}}
</tr>
}}
}}
{{#if:{{{death_place|}}}|
{{#if:{{{death_place|}}}|
<tr>
{{!}}-
<th scope="row">Place of death</th>
! Place of death
<td>{{{death_place}}}</td>
{{!}} {{{death_place}}}
</tr>
}}
}}
 
{{#if:{{{burial_date|}}}|
{{!}}-
! Burial
{{!}} {{{burial_date}}}{{#if:{{{burial_place|}}}|<br />{{{burial_place}}}}}
|
{{#if:{{{burial_place|}}}|
{{#if:{{{burial_place|}}}|
<tr>
{{!}}-
<th scope="row">Burial</th>
! Burial
<td>{{{burial_place}}}</td>
{{!}} {{{burial_place}}}
</tr>
}}
}}
}}
{{#if:{{{spouse|}}}|
{{#if:{{{spouse|}}}|
<tr>
{{!}}-
<th scope="row">Spouse</th>
! Spouse
<td>{{{spouse}}}</td>
{{!}} {{{spouse}}}
</tr>
}}
{{#if:{{{consort|}}}|
{{!}}-
! Consort
{{!}} {{{consort}}}
}}
}}
{{#if:{{{issue|}}}|
{{#if:{{{issue|}}}|
<tr>
{{!}}-
<th scope="row">Issue</th>
! Issue
<td>{{{issue}}}</td>
{{!}} {{{issue}}}
</tr>
}}
{{#if:{{{issue-link|}}}|
{{!}}-
! Issue
{{!}} [[{{{issue-link}}}|{{{issue-pipe|more...}}}]]
}}
}}
{{#if:{{{full_name|}}}|
{{#if:{{{full_name|}}}|
<tr>
{{!}}-
<th scope="row">Full name</th>
! Full name
<td>{{{full_name}}}</td>
{{!}} {{{full_name}}}
</tr>
}}
{{#if:{{{regnal_name|}}}|
{{!}}-
! Regnal name
{{!}} {{{regnal_name}}}
}}
}}
{{#if:{{{house|}}}|
{{#if:{{{house|}}}|
<tr>
{{!}}-
<th scope="row">House</th>
! House
<td>{{{house}}}</td>
{{!}} {{{house}}}
</tr>
}}
{{#if:{{{dynasty|}}}|
{{!}}-
! Dynasty
{{!}} {{{dynasty}}}
}}
}}
{{#if:{{{father|}}}|
{{#if:{{{father|}}}|
<tr>
{{!}}-
<th scope="row">Father</th>
! Father
<td>{{{father}}}</td>
{{!}} {{{father}}}
</tr>
}}
}}
{{#if:{{{mother|}}}|
{{#if:{{{mother|}}}|
<tr>
{{!}}-
<th scope="row">Mother</th>
! Mother
<td>{{{mother}}}</td>
{{!}} {{{mother}}}
</tr>
}}
}}
{{#if:{{{religion|}}}|
{{#if:{{{religion|}}}|
<tr>
{{!}}-
<th scope="row">Religion</th>
! Religion
<td>{{{religion}}}</td>
{{!}} {{{religion}}}
</tr>
}}
}}
{{#if:{{{signature|}}}|
{{#if:{{{signature|}}}|
<tr>
{{!}}-
<th scope="row">Signature</th>
! Signature
<td>[[File:{{{signature}}}|frameless|150px]]</td>
{{!}} [[File:{{{signature}}}|frameless|150px]]
</tr>
}}
}}
</table>
{{#if:{{{coat_of_arms|}}}|
</includeonly>
{{!}}-
{{!}} colspan="2" class="infobox-image" {{!}} [[File:{{{coat_of_arms}}}|frameless|150px]]
{{#if:{{{coat_of_arms_caption|}}}|<div class="infobox-caption">{{{coat_of_arms_caption}}}</div>}}
}}
|}
</includeonly><noinclude>
'''Infobox royalty''' is used for monarchs and other members of royal or imperial houses.


<noinclude>
== Usage ==
{{Documentation}}
 
<pre>
{{Infobox royalty
| name                =
| image                =
| image_size          =
| alt                  =
| caption              =
| succession          =
| reign                =
| coronation          =
| predecessor          =
| successor            =
| heir                =
| born                =
| birth_place          =
| died                =
| death_place          =
| burial_date          =
| burial_place        =
| spouse              =
| issue                =
| full_name            =
| regnal_name          =
| house                =
| father              =
| mother              =
| religion            =
| signature            =
| coat_of_arms        =
| coat_of_arms_caption =
}}
</pre>
</noinclude>
</noinclude>

Revision as of 01:09, 15 September 2026

Infobox royalty is used for monarchs and other members of royal or imperial houses.

Usage

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