Template:Infobox royalty: Difference between revisions

From Vigyanwiki
Template>DBD
m (same colour)
m (203 revisions imported from alpha:Template:Infobox_royalty)
 
(199 intermediate revisions by 58 users not shown)
Line 1: Line 1:
<noinclude><div style="background-color: #CCBBEE; padding: 5px; text-align: center; width: 96%;">Trying out a new edit? Use the template's '''[[User:Danbarnesdavies/TIR|sandbox]]'''!</div>
{{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}}
</noinclude>{| class="infobox vcard" style="font-size: 85%; text-align: left; width: 22.5em;"
{{infobox
|-
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}}
! colspan="2" style="background: #CCBBEE; color: #000000; font-size: 120%; text-align: center;" class="fn"| {{{name|{{PAGENAME}}}}}{{#if:{{{native name|}}}|<br />{{{native name}}}}}
| bodyclass = vcard
|-
| aboveclass = fn
{{#if: {{{title|<noinclude>-</noinclude>}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) -->
| abovestyle = background-color: #cbe; font-size: 125%
{{!}} colspan="2" style="text-align: center;" {{!}} ''{{{title|}}}'' <small>{{{titletext|{{#switch:{{{more}}}
| above =  {{#ifeq:{{lc:{{{embed|}}}}}|yes|| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| no =  
| subheader1  = {{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) -->
| austria = ''[[Emperor of Austria#Full title|(more...)]]''
''{{{title|}}}'' {{{titletext|{{#switch:{{lc:{{{more}}}}}
| belgium = ''[[Monarchy of Belgium#Title|(more...)]]''
| no         =  
| britain = ''[[Style of the British sovereign#Styles of British sovereigns|(more...)]]''
| austria     = ''[[Emperor of Austria#Full titles|(more...)]]''
| china = ''[[Chinese sovereign|(more...)]]''
| belgium     = ''[[Monarchy of Belgium#Title|(more...)]]''
| cyprus = ''[[Style of the Greek Sovereign#List of changes to the royal style|(more...)]]''
| britain     = ''[[Style of the British sovereign#Styles of British sovereigns|(more...)]]''
| denmark = ''[[Style of the Danish sovereign|(more...)]]''
| china       = ''[[Chinese sovereign|(more...)]]''
| en-sco = ''[[Style of the British sovereign#Styles of English and Scottish sovereigns|(more...)]]''
| cyprus     = ''[[Style of the Greek Sovereign#List of changes to the royal style|(more...)]]''
| england = ''[[Style of the British sovereign#Styles of English sovereigns|(more...)]]''
| denmark     = ''[[Style of the Danish sovereign|(more...)]]''
| ethiopia = ''[[Emperor of Ethiopia#Style|(more...)]]''
| en-sco     = ''[[Style of the British sovereign#Styles of English and Scottish sovereigns|(more...)]]''
| france = ''[[Style of the French sovereign#List of changes to the royal style|(more...)]]''
| england     = ''[[Style of the British sovereign#Styles of English sovereigns|(more...)]]''
| hre = ''[[Holy Roman Emperor#Coronation|(more...)]]''
| ethiopia   = ''[[Emperor of Ethiopia#Style|(more...)]]''
| hungary = ''[[Styles of Hungarian sovereigns|(more...)]]''
| france     = ''[[Style of the French sovereign#List of changes to the royal style|(more...)]]''
| italy = ''[[Style of the Italian sovereign|(more...)]]''
| hre         = ''[[Holy Roman Emperor#Coronation|(more...)]]''
| jerusalem = ''[[Kings of Jerusalem#Kings of Jerusalem (1099–1291)|(more...)]]''
| hungary     = ''[[Styles of Hungarian sovereigns|(more...)]]''
| luxembourg = ''[[Grand Duke of Luxembourg#Full titles|(more...)]]''
| italy       = ''[[Style of the Italian sovereign|(more...)]]''
| malaysia = ''[[Malay titles#Malay_royalty|(more...)]]''
| jerusalem   = ''[[Kings of Jerusalem#Kings of Jerusalem (1099–1291)|(more...)]]''
| monaco = ''[[Style of the Monegasque sovereign|(more...)]]''
| luxembourg = ''[[Grand Duke of Luxembourg#Full titles|(more...)]]''
| malaysia   = ''[[Malay titles#Malay_royalty|(more...)]]''
| monaco     = ''[[Style of the Monegasque sovereign|(more...)]]''
| netherlands = ''[[Monarchy of the Netherlands#Full title|(more...)]]''
| netherlands = ''[[Monarchy of the Netherlands#Full title|(more...)]]''
| norway = ''[[Style of the Norwegian sovereign|(more...)]]''
| norway     = ''[[Style of the Norwegian sovereign|(more...)]]''
| parma = ''[[List of Dukes of Parma|(more...)]]''
| parma       = ''[[List of Dukes of Parma|(more...)]]''
| portugal = ''[[Style of the Portuguese sovereign|(more...)]]''
| portugal   = ''[[Style of the Portuguese sovereign|(more...)]]''
| russia = ''[[Tsar#Full style of Russian Sovereigns|(more...)]]''
| russia     = ''[[Tsar#Full style of Russian Sovereigns|(more...)]]''
| scotland = ''[[Style of the monarchs of Scotland#From the late Middle Ages to the Acts of Union|(more...)]]''
| scotland   = ''[[Style of the monarchs of Scotland#From the late Middle Ages to the Acts of Union|(more...)]]''
| sicilies = ''[[Kingdom of the Two Sicilies#Titles of King of the Two Sicilies|(more...)]]''
| sicilies   = ''[[Kingdom of the Two Sicilies#Titles of King of the Two Sicilies|(more...)]]''
| spain-crown = ''[[List of titles and honours of the Spanish Crown|(more...)]]''
| spain-crown = ''[[List of titles and honours of the Spanish Crown|(more...)]]''
| spain-heir = ''[[Titles held by the heir apparent to the Spanish Throne|(more...)]]''
| spain-heir = ''[[Titles held by the heir apparent to the Spanish Throne|(more...)]]''
| sweden = ''[[Style of the Swedish sovereign|(more...)]]''
| sweden     = ''[[Style of the Swedish sovereign|(more...)]]''
}}}}}
}}
}}
}}}</small>
| imageclass = photo
{{!}}-
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.0|alt={{{alt|}}}|suppressplaceholder=yes}}
| captionstyle = line-height:normal;padding-bottom:0.2em;padding-top:0.2em;
| caption = {{{caption|}}}
 
| headerstyle = background-color: #e4dcf6;line-height:normal;padding:0.2em 0.2em
| header1 =  {{#if:{{{succession|}}}|{{{succession}}} {{#if:{{{moretext|}}}|<div style="display:inline;font-weight:normal">{{{moretext}}} </div>}}}}
 
| label2 = {{if empty| {{{reign-type|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data2 = {{{reign|}}}
 
| label3 = {{#switch:{{lc:{{{cor-type}}}}}
| britain  = [[Coronation of the British monarch|Coronation]]
| france  = [[Coronation of the French monarch|Coronation]]
| hre      = [[Coronation of the Holy Roman Emperor|Coronation]]
| hungary  = [[Coronation of the Hungarian monarch|Coronation]]
| japan    = [[Enthronement of the Japanese Emperor|Enthronement]]
| malaysia = [[Installation of the Malaysian Sovereign|Installation]]
| norway  = [[Royal coronations in Norway|Coronation]]
| ottoman  = [[Sword of Osman|Sword girding]]
| poland  = [[Coronations in Poland|Coronation]]
| russia  = [[Coronation of the Russian monarch|Coronation]]
| #default = {{if empty|{{{cor-type|}}}|[[Coronation]]}}
}}
}}
{{#if: {{{image|<noinclude>-</noinclude>}}} |  
| data3 = {{{coronation|}}}
{{!}} colspan="2" style="text-align: center;" {{!}} <span class="photo">[[Image:{{{image}}}|{{{imgw|210}}}px|{{{caption|}}}]]</span>
 
{{!}}-
| label4 = Investiture
}}
| data4 = {{{investiture|}}}
{{#if: {{{caption|<noinclude>-</noinclude>}}} |
 
{{!}} colspan="2" style="text-align: center;" {{!}} ''{{{caption}}}''
| label5 = {{#if:{{{pre-type|}}}|{{{pre-type}}}|Predecessor}}
{{!}}-
| data5 = {{{predecessor|}}}
}}
 
{{#if: {{{succession|<noinclude>-</noinclude>}}} |
| label6 = {{#if:{{{suc-type|}}}|{{{suc-type}}}|Successor}}
{{!}} colspan="2" style="background: #EEEEEE; font-size: 98%; text-align: right;" {{!}} ''{{{succession}}}'' <small>{{{moretext|}}}</small>
| data6 = {{{successor|}}}
{{!}}-
 
}}
| label7 = {{#if:{{{reg-type|}}}|{{{reg-type}}}|Regent}}
{{#if: {{{reign|<noinclude>-</noinclude>}}} |
| data7 = {{{regent|}}}
! style="vertical-align: top;" {{!}} {{{reign-type|{{#switch:{{{consort|}}}|yes=Consort|Reign}}}}}
 
{{!}} {{{reign}}}
| header8 =  {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}|<div style="display:inline;font-weight:normal">{{{moretext1}}} </div>}}}}
{{!}}-
 
}}
| label9 = {{if empty| {{{reign-type1|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{#if: {{{coronation|<noinclude>-</noinclude>}}} |
| data9 = {{{reign1|}}}
! style="vertical-align: top;" {{!}} {{{cor-type|[[Coronation of the British monarch|Coronation]]}}}
 
{{!}} {{{coronation}}}
| label10 = {{#if:{{{cor-type1|}}}|{{{cor-type1}}}|Coronation}}
{{!}}-
| data10 = {{{coronation1|}}}
}}
 
{{#if: {{{predecessor|<noinclude>-</noinclude>}}} |
| label11 = {{#if:{{{pre-type1|}}}|{{{pre-type1}}}|Predecessor}}
! style="vertical-align: top;" {{!}} {{{pre-type|Predecessor}}}
| data11 = {{{predecessor1|}}}
{{!}} {{{predecessor}}}
 
{{!}}-
| label12 = {{#if:{{{suc-type1|}}}|{{{suc-type1}}}|Successor}}
}}
| data12 = {{{successor1|}}}
{{#if: {{{regent|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{reg-type|Regent}}}
| label13 = {{#if:{{{reg-type1|}}}|{{{reg-type1}}}|Regent}}
{{!}} {{{regent}}}
| data13 = {{{regent1|}}}
{{!}}-
 
}}
| header14 =  {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}|<div style="display:inline;font-weight:normal">{{{moretext2}}} </div>}}}}
{{#if: {{{successor|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{suc-type|Successor}}}
| label15 = {{if empty| {{{reign-type2|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{!}} {{{successor}}}
| data15 = {{{reign2|}}}
{{!}}-
 
}}
| label16 = {{#if:{{{cor-type2|}}}|{{{cor-type2}}}|Coronation}}
{{#if: {{{succession1|<noinclude>-</noinclude>}}} |
| data16 = {{{coronation2|}}}
{{!}} colspan="2" style="background: #EEEEEE; font-size: 98%; text-align: right;" {{!}} ''{{{succession1}}}'' <small>{{{moretext1|}}}</small>
 
{{!}}-
| label17 = {{#if:{{{pre-type2|}}}|{{{pre-type2}}}|Predecessor}}
}}
| data17 = {{{predecessor2|}}}
{{#if: {{{reign1|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{reign-type1|Reign}}}
| label18 = {{#if:{{{suc-type2|}}}|{{{suc-type2}}}|Successor}}
{{!}} {{{reign1}}}
| data18 = {{{successor2|}}}
{{!}}-
 
}}
| label19 = {{#if:{{{reg-type2|}}}|{{{reg-type2}}}|Regent}}
{{#if: {{{coronation1|<noinclude>-</noinclude>}}} |
| data19 = {{{regent2|}}}
! style="vertical-align: top;" {{!}} {{{cor-type1|Coronation}}}
 
{{!}} {{{coronation1}}}
| header20 =  {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}|<div style="display:inline;font-weight:normal">{{{moretext3}}} </div>}}}}
{{!}}-
 
}}
| label21 = {{if empty| {{{reign-type3|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{#if: {{{predecessor1|<noinclude>-</noinclude>}}} |
| data21 = {{{reign3|}}}
! style="vertical-align: top;" {{!}} {{{pre-type1|Predecessor}}}
 
{{!}} {{{predecessor1}}}
| label22 = {{#if:{{{cor-type3|}}}|{{{cor-type3}}}|Coronation}}
{{!}}-
| data22 = {{{coronation3|}}}
}}
 
{{#if: {{{successor1|<noinclude>-</noinclude>}}} |
| label23 = {{#if:{{{pre-type3|}}}|{{{pre-type3}}}|Predecessor}}
! style="vertical-align: top;" {{!}} {{{suc-type1|Successor}}}
| data23 = {{{predecessor3|}}}
{{!}} {{{successor1}}}
 
{{!}}-
| label24 = {{#if:{{{suc-type3|}}}|{{{suc-type3}}}|Successor}}
}}
| data24 = {{{successor3|}}}
{{#if: {{{regent1|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{reg-type1|Regent}}}
| label25 = {{#if:{{{reg-type3|}}}|{{{reg-type3}}}|Regent}}
{{!}} {{{regent1}}}
| data25 = {{{regent3|}}}
{{!}}-
 
}}
| header26 =  {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|<div style="display:inline;font-weight:normal">{{{moretext4}}} </div>}}}}
{{#if: {{{succession2|<noinclude>-</noinclude>}}} |
 
{{!}} colspan="2" style="background: #EEEEEE; font-size: 98%; text-align: right;" {{!}} ''{{{succession2}}}'' <small>{{{moretext2|}}}</small>
| label27 = {{if empty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{!}}-
| data27 = {{{reign4|}}}
}}
 
{{#if: {{{reign2|<noinclude>-</noinclude>}}} |
| label28 = {{#if:{{{cor-type4|}}}|{{{cor-type4}}}|Coronation}}
! style="vertical-align: top;" {{!}} {{{reign-type2|Reign}}}
| data28 = {{{coronation4|}}}
{{!}} {{{reign2}}}
 
{{!}}-
| label29 = {{#if:{{{pre-type4|}}}|{{{pre-type4}}}|Predecessor}}
}}
| data29 = {{{predecessor4|}}}
{{#if: {{{coronation2|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{cor-type2|Coronation}}}
| label30 = {{#if:{{{suc-type4|}}}|{{{suc-type4}}}|Successor}}
{{!}} {{{coronation2}}}
| data30 = {{{successor4|}}}
{{!}}-
 
}}
| label31 = {{#if:{{{reg-type4|}}}|{{{reg-type4}}}|Regent}}
{{#if: {{{predecessor2|<noinclude>-</noinclude>}}} |
| data31 = {{{regent4|}}}
! style="vertical-align: top;" {{!}} {{{pre-type2|Predecessor}}}
 
{{!}} {{{predecessor2}}}
| header32 =  {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}|<div style="display:inline;font-weight:normal">{{{moretext5}}} </div>}}}}
{{!}}-
 
}}
| label33 = {{if empty| {{{reign-type5|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{#if: {{{successor2|<noinclude>-</noinclude>}}} |
| data33 = {{{reign5|}}}
! style="vertical-align: top;" {{!}} {{{suc-type2|Successor}}}
 
{{!}} {{{successor2}}}
| label34 = {{#if:{{{cor-type5|}}}|{{{cor-type5}}}|Coronation}}
{{!}}-
| data34 = {{{coronation5|}}}
}}
 
{{#if: {{{regent2|<noinclude>-</noinclude>}}} |
| label35 = {{#if:{{{pre-type5|}}}|{{{pre-type5}}}|Predecessor}}
! style="vertical-align: top;" {{!}} {{{reg-type2|Regent}}}
| data35 = {{{predecessor5|}}}
{{!}} {{{regent2}}}
 
{{!}}-
| label36 = {{#if:{{{suc-type5|}}}|{{{suc-type5}}}|Successor}}
}}
| data36 = {{{successor5|}}}
{{#if: {{{succession3|<noinclude>-</noinclude>}}} |
 
{{!}} colspan="2" style="background: #EEEEEE; font-size: 98%; text-align: right;" {{!}} ''{{{succession3}}}'' <small>{{{moretext3|}}}</small>
| label37 = {{#if:{{{reg-type5|}}}|{{{reg-type5}}}|Regent}}
{{!}}-
| data37 = {{{regent5|}}}
}}
 
{{#if: {{{reign3|<noinclude>-</noinclude>}}} |
| header38 =  {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}|<div style="display:inline;font-weight:normal">{{{moretext6}}} </div>}}}}
! style="vertical-align: top;" {{!}} {{{reign-type3|Reign}}}
 
{{!}} {{{reign3}}}
| label39 = {{if empty| {{{reign-type6|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
{{!}}-
| data39 = {{{reign6|}}}
}}
 
{{#if: {{{coronation3|<noinclude>-</noinclude>}}} |
| label40 = {{#if:{{{cor-type6|}}}|{{{cor-type6}}}|Coronation}}
! style="vertical-align: top;" {{!}} {{{cor-type3|Coronation}}}
| data40 = {{{coronation6|}}}
{{!}} {{{coronation3}}}
 
{{!}}-
| label41 = {{#if:{{{pre-type6|}}}|{{{pre-type6}}}|Predecessor}}
}}
| data41 = {{{predecessor6|}}}
{{#if: {{{predecessor3|<noinclude>-</noinclude>}}} |
 
! style="vertical-align: top;" {{!}} {{{pre-type3|Predecessor}}}
| label42 = {{#if:{{{suc-type6|}}}|{{{suc-type6}}}|Successor}}
{{!}} {{{predecessor3}}}
| data42 = {{{successor6|}}}
{{!}}-
 
}}
| label43 = {{#if:{{{reg-type6|}}}|{{{reg-type6}}}|Regent}}
{{#if: {{{successor3|<noinclude>-</noinclude>}}} |
| data43 = {{{regent6|}}}
! style="vertical-align: top;" {{!}} {{{suc-type3|Successor}}}
 
{{!}} {{{successor3}}}
| header44 =  {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}|<div style="display:inline;font-weight:normal">{{{moretext7}}} </div>}}}}
{{!}}-
 
}}
| label45 = {{if empty| {{{reign-type7|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{