Template:Infobox royalty: Difference between revisions
m
no edit summary
(Adding unknown parameter tracking through Category:Pages using infobox royalty with unknown parameters using Module:check for unknown parameters) |
mNo edit summary |
||
(29 intermediate revisions by 13 users not shown) | |||
Line 1:
{{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}}
{{infobox
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}}
Line 6 ⟶ 7:
| above = {{#ifeq:{{lc:{{{embed|}}}}}|yes|| {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} }}
| subheader1 = {{#if: {{{title|}}} |<!-- TITLETEXT SWITCH: EMBEDDED BY REALM (ALPHABETICALLY) -->
''{{{title|}}}''
| no =
| austria = ''[[Emperor of Austria#Full titles|(more...)]]''
Line 35 ⟶ 36:
| spain-heir = ''[[Titles held by the heir apparent to the Spanish Throne|(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|}}}
| label2 = {{
| data2 = {{{reign|}}}
Line 58 ⟶ 60:
| poland = [[Coronations in Poland|Coronation]]
| russia = [[Coronation of the Russian monarch|Coronation]]
| #default = {{
}}
| data3 = {{{coronation|}}}
Line 74 ⟶ 76:
| data7 = {{{regent|}}}
| header8 = {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}
| label9 = {{
| data9 = {{{reign1|}}}
Line 91 ⟶ 93:
| data13 = {{{regent1|}}}
| header14 = {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}
| label15 = {{
| data15 = {{{reign2|}}}
Line 108 ⟶ 110:
| data19 = {{{regent2|}}}
| header20 = {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}
| label21 = {{
| data21 = {{{reign3|}}}
Line 125 ⟶ 127:
| data25 = {{{regent3|}}}
| header26 = {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}
| label27 = {{
| data27 = {{{reign4|}}}
Line 142 ⟶ 144:
| data31 = {{{regent4|}}}
| header32 = {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}
| label33 = {{
| data33 = {{{reign5|}}}
Line 159 ⟶ 161:
| data37 = {{{regent5|}}}
| header38 = {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}
| label39 = {{
| data39 = {{{reign6|}}}
Line 176 ⟶ 178:
| data43 = {{{regent6|}}}
| header44 = {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}
| label45 = {{
| data45 = {{{reign7|}}}
Line 193 ⟶ 195:
| data49 = {{{regent7|}}}
| header50 = {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}
| label51 = {{
| data51 = {{{reign8|}}}
Line 210 ⟶ 212:
| data55 = {{{regent8|}}}
| header56 = {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}
| label57 = {{
| data57 = {{{reign9|}}}
Line 227 ⟶ 229:
| data61 = {{{regent9|}}}
| header62 = {{#if:
| label63 = {{if empty| {{{reign-type10|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data63 = {{br separated entries| {{{birth_name|}}} | {{{birth_date|}}} | {{{birth_place|}}} }}▼
| label64 = {{#if:{{{cor-type10|}}}|{{{cor-type10}}}|Coronation}}
| label64 = Died▼
| data64 = {{
| label65 = {{#if:{{{pre-type10|}}}|{{{pre-type10}}}|Predecessor}}
| label65 = Burial▼
| data65 = {{{predecessor10|}}}
| data65 = {{br separated entries |1= {{{burial_date|{{{date of burial|}}}}}} |2= {{#if:{{{burial_place|{{{place of burial|}}}}}}|<span class="label">{{{burial_place|{{{place of burial|}}}}}}</span>}} }}▼
| label66 = {{#if:{{{suc-type10|}}}|{{{suc-type10}}}|Successor}}
| label66 = Consort▼
| data66 = {{{
| label67 = {{#if:{{{reg-type10|}}}|{{{reg-type10}}}|Regent}}
| label67 = {{{spouse-type|{{#switch:{{{type}}}|monarch={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|majesty={{#switch:{{{consort}}}|yes=Spouse|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Spouse|Consort}}<!--BACKWARD COMPAT FROM IBR-->}}|Spouse}}}}}▼
| data67 = {{{
| header68 = {{#if: {{{succession|}}} | <div style="height: 4px; width:100%;"></div>}}
| label68 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouse}}<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->▼
▲| data68 = {{{spouses|}}}
| label69 =
| data69 = {{
▲|
▲|
| data72 = {{{queen|}}}
▲|
| data73 = {{{spouse|}}}
▲|
| data74 = {{{spouses|}}}
| label75 = {{#if:{{{spouse 2|}}} | Wives | Wife }}<!-- alternative to using 'spouses' and 'spouses-type' -->
| data75 = {{#if: {{{spouse 1|}}}|
{{unbulleted list
| {{{spouse 1}}}
Line 261 ⟶ 280:
}}}}
|
|
|
{{Infobox|bodystyle=border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none
| headerstyle = text-align:left
| datastyle = text-align:left; padding-left:0.7em;
| header1 = {{#if:{{{full name|}}}|
| class2 = nickname <!-- "nickname" is the correct parameter value for hCard -->
| data2 = {{{full name|}}}
Line 274 ⟶ 293:
| data4 = {{#if:{{{family_name|}}}{{{clan_name|}}}{{{given_name|}}}|
{{unbulleted list
| 1 = {{#if: {{{family_name|}}} | [[Chinese surname|Family name]]: <
| 2 = {{#if: {{{clan_name|}}} | [[Chinese surname|Clan name]]: <
| 3 = {{#if: {{{given_name|}}} | [[Chinese given name|Given name]]: <
}}}}
| header5 = {{#if: {{{era dates|}}} |Era {{#if:{{{era name|}}}|name and }}dates}}
Line 290 ⟶ 309:
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation
{{documentation}}
</noinclude>
|