Template:Infobox royalty: Difference between revisions

From Vigyanwiki
Template>Jonesey95
(Change span class=xxx to div to fix Linter div-span-flip error.)
Template>DrKay
Line 6: Line 6:
| above =  {{#ifeq:{{lc:{{{embed|}}}}}|yes|| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| above =  {{#ifeq:{{lc:{{{embed|}}}}}|yes|| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| subheader1  = {{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) -->
| subheader1  = {{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) -->
''{{{title|}}}'' <small>{{{titletext|{{#switch:{{lc:{{{more}}}}}
''{{{title|}}}'' {{{titletext|{{#switch:{{lc:{{{more}}}}}
| no          =  
| no          =  
| austria    = ''[[Emperor of Austria#Full titles|(more...)]]''
| austria    = ''[[Emperor of Austria#Full titles|(more...)]]''
Line 35: Line 35:
| 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
| imageclass = photo
Line 42: Line 42:


| headerstyle = background-color: #e4dcf6
| headerstyle = background-color: #e4dcf6
| header1 =  {{#if:{{{succession|}}}|{{{succession}}} {{#if:{{{moretext|}}}|{{nobold|<small>{{{moretext}}}</small>}}}}}}
| header1 =  {{#if:{{{succession|}}}|{{{succession}}} {{#if:{{{moretext|}}}|{{nobold|{{{moretext}}} }}}}}}


| label2 = {{ifempty| {{{reign-type|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label2 = {{ifempty| {{{reign-type|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 74: Line 74:
| data7 = {{{regent|}}}
| data7 = {{{regent|}}}


| header8 =  {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}|{{nobold|<small>{{{moretext1}}}</small>}}}}}}
| header8 =  {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}|{{nobold|{{{moretext1}}} }}}}}}


| label9 = {{ifempty| {{{reign-type1|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label9 = {{ifempty| {{{reign-type1|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 91: Line 91:
| data13 = {{{regent1|}}}
| data13 = {{{regent1|}}}


| header14 =  {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}|{{nobold|<small>{{{moretext2}}}</small>}}}}}}
| header14 =  {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}|{{nobold|{{{moretext2}}} }}}}}}


| label15 = {{ifempty| {{{reign-type2|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label15 = {{ifempty| {{{reign-type2|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 108: Line 108:
| data19 = {{{regent2|}}}
| data19 = {{{regent2|}}}


| header20 =  {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}|{{nobold|<small>{{{moretext3}}}</small>}}}}}}
| header20 =  {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}|{{nobold|{{{moretext3}}} }}}}}}


| label21 = {{ifempty| {{{reign-type3|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label21 = {{ifempty| {{{reign-type3|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 125: Line 125:
| data25 = {{{regent3|}}}
| data25 = {{{regent3|}}}


| header26 =  {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|{{nobold|<small>{{{moretext4}}}</small>}}}}}}
| header26 =  {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|{{nobold|{{{moretext4}}} }}}}}}


| label27 = {{ifempty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label27 = {{ifempty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 142: Line 142:
| data31 = {{{regent4|}}}
| data31 = {{{regent4|}}}


| header32 =  {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}|{{nobold|<small>{{{moretext5}}}</small>}}}}}}
| header32 =  {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}|{{nobold|{{{moretext5}}} }}}}}}


| label33 = {{ifempty| {{{reign-type5|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label33 = {{ifempty| {{{reign-type5|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 159: Line 159:
| data37 = {{{regent5|}}}
| data37 = {{{regent5|}}}


| header38 =  {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}|{{nobold|<small>{{{moretext6}}}</small>}}}}}}
| header38 =  {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}|{{nobold|{{{moretext6}}} }}}}}}


| label39 = {{ifempty| {{{reign-type6|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label39 = {{ifempty| {{{reign-type6|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 176: Line 176:
| data43 = {{{regent6|}}}
| data43 = {{{regent6|}}}


| header44 =  {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}|{{nobold|<small>{{{moretext7}}}</small>}}}}}}
| header44 =  {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}|{{nobold|{{{moretext7}}} }}}}}}


| label45 = {{ifempty| {{{reign-type7|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label45 = {{ifempty| {{{reign-type7|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 193: Line 193:
| data49 = {{{regent7|}}}
| data49 = {{{regent7|}}}


| header50 =  {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}|{{nobold|<small>{{{moretext8}}}</small>}}}}}}
| header50 =  {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}|{{nobold|{{{moretext8}}} }}}}}}


| label51 = {{ifempty| {{{reign-type8|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label51 = {{ifempty| {{{reign-type8|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 210: Line 210:
| data55 = {{{regent8|}}}
| data55 = {{{regent8|}}}


| header56 =  {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}|{{nobold|<small>{{{moretext9}}}</small>}}}}}}
| header56 =  {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}|{{nobold|{{{moretext9}}} }}}}}}


| label57 = {{ifempty| {{{reign-type9|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| label57 = {{ifempty| {{{reign-type9|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
Line 261: Line 261:
}}}}
}}}}


| label70 = {{#if:{{{issue-type|}}}|{{{issue-type}}}|Issue}}{{#if:{{{issue-link|}}}|<br><span style="font-size:smaller; font-weight:normal">''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</span>}}
| label70 = {{#if:{{{issue-type|}}}|{{{issue-type}}}|Issue}}{{#if:{{{issue-link|}}}|<br><span style="font-weight:normal">''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</span>}}
| data70 = {{{issue|}}}
| data70 = {{{issue|}}}



Revision as of 23:07, 8 December 2018

Template documentation