Template:Infobox royalty: Difference between revisions
From Vigyanwiki
Template>DrKay (merge from Template:Infobox monarch) |
m (203 revisions imported from alpha:Template:Infobox_royalty) |
||
| (52 intermediate revisions by 18 users not shown) | |||
| Line 1: | Line 1: | ||
{| | {{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}} | ||
| | {{infobox | ||
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}} | |||
| | | bodyclass = vcard | ||
{{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) --> | | aboveclass = fn | ||
| abovestyle = background-color: #cbe; font-size: 125% | |||
| above = {{#ifeq:{{lc:{{{embed|}}}}}|yes|| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }} | |||
| subheader1 = {{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) --> | |||
''{{{title|}}}'' {{{titletext|{{#switch:{{lc:{{{more}}}}} | |||
| no = | | no = | ||
| austria = ''[[Emperor of Austria#Full titles|(more...)]]'' | | austria = ''[[Emperor of Austria#Full titles|(more...)]]'' | ||
| Line 33: | Line 36: | ||
| 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...)]]'' | ||
}}}}} | |||
}} | }} | ||
| 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|}}} | ||
{{#if: {{{ | | label3 = {{#switch:{{lc:{{{cor-type}}}}} | ||
}} | |||
| | |||
{{ | |||
| | |||
| britain = [[Coronation of the British monarch|Coronation]] | | britain = [[Coronation of the British monarch|Coronation]] | ||
| france = [[Coronation of the French monarch|Coronation]] | | france = [[Coronation of the French monarch|Coronation]] | ||
| Line 64: | Line 58: | ||
| norway = [[Royal coronations in Norway|Coronation]] | | norway = [[Royal coronations in Norway|Coronation]] | ||
| ottoman = [[Sword of Osman|Sword girding]] | | ottoman = [[Sword of Osman|Sword girding]] | ||
| poland = [[ | | poland = [[Coronations in Poland|Coronation]] | ||
| russia = [[Coronation of the Russian monarch|Coronation]] | | russia = [[Coronation of the Russian monarch|Coronation]] | ||
| #default = {{ | | #default = {{if empty|{{{cor-type|}}}|[[Coronation]]}} | ||
}} | }} | ||
|- | | data3 = {{{coronation|}}} | ||
{{#if:{{{ | |||
! {{#if:{{{ | | label4 = Investiture | ||
{{!}} [[ | | data4 = {{{investiture|}}} | ||
| label5 = {{#if:{{{pre-type|}}}|{{{pre-type}}}|Predecessor}} | |||
| data5 = {{{predecessor|}}} | |||
| label6 = {{#if:{{{suc-type|}}}|{{{suc-type}}}|Successor}} | |||
| data6 = {{{successor|}}} | |||
| label7 = {{#if:{{{reg-type|}}}|{{{reg-type}}}|Regent}} | |||
| data7 = {{{regent|}}} | |||
| 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-->}} }} | |||
| data9 = {{{reign1|}}} | |||
| label10 = {{#if:{{{cor-type1|}}}|{{{cor-type1}}}|Coronation}} | |||
| data10 = {{{coronation1|}}} | |||
| label11 = {{#if:{{{pre-type1|}}}|{{{pre-type1}}}|Predecessor}} | |||
| data11 = {{{predecessor1|}}} | |||
| label12 = {{#if:{{{suc-type1|}}}|{{{suc-type1}}}|Successor}} | |||
| data12 = {{{successor1|}}} | |||
| label13 = {{#if:{{{reg-type1|}}}|{{{reg-type1}}}|Regent}} | |||
| data13 = {{{regent1|}}} | |||
| header14 = {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}|<div style="display:inline;font-weight:normal">{{{moretext2}}} </div>}}}} | |||
| label15 = {{if empty| {{{reign-type2|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | |||
| data15 = {{{reign2|}}} | |||
| label16 = {{#if:{{{cor-type2|}}}|{{{cor-type2}}}|Coronation}} | |||
| data16 = {{{coronation2|}}} | |||
| label17 = {{#if:{{{pre-type2|}}}|{{{pre-type2}}}|Predecessor}} | |||
| data17 = {{{predecessor2|}}} | |||
| label18 = {{#if:{{{suc-type2|}}}|{{{suc-type2}}}|Successor}} | |||
| data18 = {{{successor2|}}} | |||
| label19 = {{#if:{{{reg-type2|}}}|{{{reg-type2}}}|Regent}} | |||
| data19 = {{{regent2|}}} | |||
| 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-->}} }} | |||
| data21 = {{{reign3|}}} | |||
| label22 = {{#if:{{{cor-type3|}}}|{{{cor-type3}}}|Coronation}} | |||
| data22 = {{{coronation3|}}} | |||
| label23 = {{#if:{{{pre-type3|}}}|{{{pre-type3}}}|Predecessor}} | |||
| data23 = {{{predecessor3|}}} | |||
| label24 = {{#if:{{{suc-type3|}}}|{{{suc-type3}}}|Successor}} | |||
| data24 = {{{successor3|}}} | |||
| label25 = {{#if:{{{reg-type3|}}}|{{{reg-type3}}}|Regent}} | |||
| data25 = {{{regent3|}}} | |||
| header26 = {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|<div style="display:inline;font-weight:normal">{{{moretext4}}} </div>}}}} | |||
| label27 = {{if empty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | |||
| data27 = {{{reign4|}}} | |||
| label28 = {{#if:{{{cor-type4|}}}|{{{cor-type4}}}|Coronation}} | |||
| data28 = {{{coronation4|}}} | |||
| label29 = {{#if:{{{pre-type4|}}}|{{{pre-type4}}}|Predecessor}} | |||
| data29 = {{{predecessor4|}}} | |||
| label30 = {{#if:{{{suc-type4|}}}|{{{suc-type4}}}|Successor}} | |||
| data30 = {{{successor4|}}} | |||
| label31 = {{#if:{{{reg-type4|}}}|{{{reg-type4}}}|Regent}} | |||
| data31 = {{{regent4|}}} | |||
| 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-->}} }} | |||
| data33 = {{{reign5|}}} | |||
| label34 = {{#if:{{{cor-type5|}}}|{{{cor-type5}}}|Coronation}} | |||
| data34 = {{{coronation5|}}} | |||
| label35 = {{#if:{{{pre-type5|}}}|{{{pre-type5}}}|Predecessor}} | |||
| data35 = {{{predecessor5|}}} | |||
| label36 = {{#if:{{{suc-type5|}}}|{{{suc-type5}}}|Successor}} | |||
| data36 = {{{successor5|}}} | |||
| label37 = {{#if:{{{reg-type5|}}}|{{{reg-type5}}}|Regent}} | |||
| data37 = {{{regent5|}}} | |||
| header38 = {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}|<div style="display:inline;font-weight:normal">{{{moretext6}}} </div>}}}} | |||
| label39 = {{if empty| {{{reign-type6|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | |||
| data39 = {{{reign6|}}} | |||
| label40 = {{#if:{{{cor-type6|}}}|{{{cor-type6}}}|Coronation}} | |||
| data40 = {{{coronation6|}}} | |||
| label41 = {{#if:{{{pre-type6|}}}|{{{pre-type6}}}|Predecessor}} | |||
| data41 = {{{predecessor6|}}} | |||
| label42 = {{#if:{{{suc-type6|}}}|{{{suc-type6}}}|Successor}} | |||
| data42 = {{{successor6|}}} | |||
| label43 = {{#if:{{{reg-type6|}}}|{{{reg-type6}}}|Regent}} | |||
| data43 = {{{regent6|}}} | |||
| 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-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | |||
| data45 = {{{reign7|}}} | |||
| label46 = {{#if:{{{cor-type7|}}}|{{{cor-type7}}}|Coronation}} | |||