Template:Infobox royalty: Difference between revisions
From Vigyanwiki
Template>DrKay |
m (203 revisions imported from alpha:Template:Infobox_royalty) |
||
(24 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{Has short description}} |<!--Do nothing--> |{{Infobox royalty/short description|{{{title|{{{succession|}}}}}}}}}} | |||
{{infobox | {{infobox | ||
| child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}} | | child = {{#ifeq:{{lc:{{{embed|}}}}}|yes|yes}} | ||
Line 39: | Line 40: | ||
| imageclass = photo | | imageclass = photo | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1.0|alt={{{alt|}}}|suppressplaceholder=yes}} | | 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|}}} | | caption = {{{caption|}}} | ||
| headerstyle = background-color: #e4dcf6 | | headerstyle = background-color: #e4dcf6;line-height:normal;padding:0.2em 0.2em | ||
| header1 = {{#if:{{{succession|}}}|{{{succession}}} {{#if:{{{moretext|}}}| | | header1 = {{#if:{{{succession|}}}|{{{succession}}} {{#if:{{{moretext|}}}|<div style="display:inline;font-weight:normal">{{{moretext}}} </div>}}}} | ||
| label2 = {{ | | label2 = {{if empty| {{{reign-type|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data2 = {{{reign|}}} | | data2 = {{{reign|}}} | ||
Line 58: | Line 60: | ||
| poland = [[Coronations in Poland|Coronation]] | | 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|}}} | | data3 = {{{coronation|}}} | ||
Line 74: | Line 76: | ||
| data7 = {{{regent|}}} | | data7 = {{{regent|}}} | ||
| header8 = {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}| | | header8 = {{#if:{{{succession1|}}}|{{{succession1}}} {{#if:{{{moretext1|}}}|<div style="display:inline;font-weight:normal">{{{moretext1}}} </div>}}}} | ||
| label9 = {{ | | label9 = {{if empty| {{{reign-type1|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data9 = {{{reign1|}}} | | data9 = {{{reign1|}}} | ||
Line 91: | Line 93: | ||
| data13 = {{{regent1|}}} | | data13 = {{{regent1|}}} | ||
| header14 = {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}| | | header14 = {{#if:{{{succession2|}}}|{{{succession2}}} {{#if:{{{moretext2|}}}|<div style="display:inline;font-weight:normal">{{{moretext2}}} </div>}}}} | ||
| label15 = {{ | | label15 = {{if empty| {{{reign-type2|}}} | {{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data15 = {{{reign2|}}} | | data15 = {{{reign2|}}} | ||
Line 108: | Line 110: | ||
| data19 = {{{regent2|}}} | | data19 = {{{regent2|}}} | ||
| header20 = {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}| | | header20 = {{#if:{{{succession3|}}}|{{{succession3}}} {{#if:{{{moretext3|}}}|<div style="display:inline;font-weight:normal">{{{moretext3}}} </div>}}}} | ||
| label21 = {{ | | label21 = {{if empty| {{{reign-type3|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data21 = {{{reign3|}}} | | data21 = {{{reign3|}}} | ||
Line 125: | Line 127: | ||
| data25 = {{{regent3|}}} | | data25 = {{{regent3|}}} | ||
| header26 = {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}| | | header26 = {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|<div style="display:inline;font-weight:normal">{{{moretext4}}} </div>}}}} | ||
| label27 = {{ | | label27 = {{if empty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data27 = {{{reign4|}}} | | data27 = {{{reign4|}}} | ||
Line 142: | Line 144: | ||
| data31 = {{{regent4|}}} | | data31 = {{{regent4|}}} | ||
| header32 = {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}| | | header32 = {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}|<div style="display:inline;font-weight:normal">{{{moretext5}}} </div>}}}} | ||
| label33 = {{ | | label33 = {{if empty| {{{reign-type5|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data33 = {{{reign5|}}} | | data33 = {{{reign5|}}} | ||
Line 159: | Line 161: | ||
| data37 = {{{regent5|}}} | | data37 = {{{regent5|}}} | ||
| header38 = {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}| | | header38 = {{#if:{{{succession6|}}}|{{{succession6}}} {{#if:{{{moretext6|}}}|<div style="display:inline;font-weight:normal">{{{moretext6}}} </div>}}}} | ||
| label39 = {{ | | label39 = {{if empty| {{{reign-type6|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data39 = {{{reign6|}}} | | data39 = {{{reign6|}}} | ||
Line 176: | Line 178: | ||
| data43 = {{{regent6|}}} | | data43 = {{{regent6|}}} | ||
| header44 = {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}| | | header44 = {{#if:{{{succession7|}}}|{{{succession7}}} {{#if:{{{moretext7|}}}|<div style="display:inline;font-weight:normal">{{{moretext7}}} </div>}}}} | ||
| label45 = {{ | | label45 = {{if empty| {{{reign-type7|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data45 = {{{reign7|}}} | | data45 = {{{reign7|}}} | ||
Line 193: | Line 195: | ||
| data49 = {{{regent7|}}} | | data49 = {{{regent7|}}} | ||
| header50 = {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}| | | header50 = {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}|<div style="display:inline;font-weight:normal">{{{moretext8}}} </div>}}}} | ||
| label51 = {{ | | label51 = {{if empty| {{{reign-type8|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data51 = {{{reign8|}}} | | data51 = {{{reign8|}}} | ||
Line 210: | Line 212: | ||
| data55 = {{{regent8|}}} | | data55 = {{{regent8|}}} | ||
| header56 = {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}| | | header56 = {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}|<div style="display:inline;font-weight:normal">{{{moretext9}}} </div>}}}} | ||
| label57 = {{ | | label57 = {{if empty| {{{reign-type9|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data57 = {{{reign9|}}} | | data57 = {{{reign9|}}} | ||
Line 227: | Line 229: | ||
| data61 = {{{regent9|}}} | | data61 = {{{regent9|}}} | ||
| header62 = {{#if: {{{ | | header62 = {{#if:{{{succession10|}}}|{{{succession10}}} {{#if:{{{moretext10|}}}|<div style="display:inline;font-weight:normal">{{{moretext10}}} </div>}}}} | ||
| label63 | | label63 = {{if empty| {{{reign-type10|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }} | ||
| data63 = {{{reign10|}}} | |||
| label64 | | label64 = {{#if:{{{cor-type10|}}}|{{{cor-type10}}}|Coronation}} | ||
| data64 = {{{coronation10|}}} | |||
| label65 | | label65 = {{#if:{{{pre-type10|}}}|{{{pre-type10}}}|Predecessor}} | ||
| data65 = {{{predecessor10|}}} | |||
| label66 = | | label66 = {{#if:{{{suc-type10|}}}|{{{suc-type10}}}|Successor}} | ||
| data66 = {{{ | | data66 = {{{successor10|}}} | ||
| label67 | | label67 = {{#if:{{{reg-type10|}}}|{{{reg-type10}}}|Regent}} | ||
| data67 = {{{ | | data67 = {{{regent10|}}} | ||
| | | header68 = {{#if: {{{succession|}}} | <div style="height: 4px; width:100%;"></div>}} | ||
| label69 = {{#if:{{{spouse 2|}}} | Wives | Wife }} | | label69 = Born | ||
| | | data69 = {{br separated entries| {{{birth_name|}}} | {{{birth_date|}}} | {{{birth_place|}}} }} | ||
| label70 = Died | |||
| data70 = {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }} | |||
| label71 = Burial | |||
| data71 = {{br separated entries |1= {{{burial_date|{{{date of burial|}}}}}} |2= {{#if:{{{burial_place|{{{place of burial|}}}}}}|<div style="display:inline" class="label">{{{burial_place|{{{place of burial|}}}}}}</div>}} }} | |||
| label72 = Consort | |||
| data72 = {{{queen|}}} | |||
| label73 = {{{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}}}}} | |||
| data73 = {{{spouse|}}} | |||
| label74 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouses}} | |||
| data74 = {{{spouses|}}} | |||
| label75 = {{#if:{{{spouse 2|}}} | Wives | Wife }}<!-- alternative to using 'spouses' and 'spouses-type' --> | |||
| data75 = {{#if: {{{spouse 1|}}}| | |||
{{unbulleted list | {{unbulleted list | ||
| {{{spouse 1}}} | | {{{spouse 1}}} | ||
Line 261: | Line 280: | ||
}}}} | }}}} | ||
| | | label76 = {{#if:{{{issue-type|}}}|{{{issue-type}}}|Issue}}{{#if:{{{issue-link|}}}|<br><span style="font-weight:normal">''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</span>}} | ||
| | | data76 = {{{issue|}}} | ||
| | | data77 = {{#if:{{{full name|}}}{{{family_name|}}}{{{clan_name|}}}{{{given_name|}}}{{{era dates|}}}{{{regnal name|}}}{{{posthumous name|}}}{{{temple name|}}}| | ||
{{Infobox|bodystyle=border-collapse:collapse; border-spacing:0px; border:none; width:100%; margin:0px; font-size:100%; clear:none; float:none | {{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 | | headerstyle = text-align:left | ||
| datastyle = text-align:left; padding-left:0.7em; | | datastyle = text-align:left; padding-left:0.7em; | ||
| header1 = {{#if:{{{full name|}}}| | | header1 = {{#if:{{{full name|}}}|Names}} | ||
| class2 = nickname <!-- "nickname" is the correct parameter value for hCard --> | | class2 = nickname <!-- "nickname" is the correct parameter value for hCard --> | ||
| data2 = {{{full name|}}} | | data2 = {{{full name|}}} | ||
Line 290: | Line 309: | ||
}} | }} | ||
| | | label78 = {{{native_lang1}}} | ||
| | | data78 = {{#if: {{{native_lang1|}}}|{{{native_lang1_name1|}}}}} | ||
| | | label79 = {{{native_lang2}}} | ||
| | | data79 = {{#if: {{{native_lang2|}}}|{{{native_lang2_name1|}}}}} | ||
| | | label80 = {{{native_lang3}}} | ||
| | | data80 = {{#if: {{{native_lang3|}}}|{{{native_lang3_name1|}}}}} | ||
| | | label81 = {{{native_lang4}}} | ||
| | | data81 = {{#if: {{{native_lang4|}}}|{{{native_lang4_name1|}}}}} | ||
| | | label82 = {{{native_lang5}}} | ||
| | | data82 = {{#if: {{{native_lang5|}}}|{{{native_lang5_name1|}}}}} | ||
| | | label83 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]] | ||
| | | data83 = {{{house|}}} | ||
| | | label84 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]] | ||
| | | data84 = {{{royal house|}}} | ||
| | | label85 = [[Dynasty]] | ||
| | | data85 = {{{dynasty|}}} | ||
| | | label86 = Father | ||
| | | data86 = {{{father|}}} | ||
| | | label87 = Mother | ||
| | | data87 = {{{mother|}}} | ||
| | | label88 = Religion | ||
| | | data88 = {{{religion|}}} | ||
| | | label89 = Occupation | ||
| | | data89 = {{{occupation|}}} | ||
| | | label90 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }} | ||
| | | data90 = {{#if:{{{signature|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size=125px|class=notpageimage|alt={{{signature_alt|}}}|title={{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}'s signature}}}} | ||
| | | data91 = {{{module|}}} | ||
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox royalty with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox royalty]] with unknown parameter "_VALUE_"|ignoreblank=y| 2 | alt | birth_date | birth_name | birth_place | burial_date | burial_place | caption | clan_name | consort | cor-type | cor-type1 | cor-type2 | cor-type3 | cor-type4 | cor-type5 | cor-type6 | cor-type7 | cor-type8 | cor-type9 | coronation | coronation1 | coronation2 | coronation3 | coronation4 | coronation5 | coronation6 | coronation7 | coronation8 | coronation9 | date of burial | death_date | death_place | dynasty | embed | era dates | era name | family_name | father | full name | given_name | house | house-type | image | image_size | investiture | issue | issue-link | issue-pipe | issue-type | module | more | moretext | moretext1 | moretext2 | moretext3 | moretext4 | moretext5 | moretext6 | moretext7 | moretext8 | moretext9 | mother | name | native_lang1 | native_lang1_name1 | native_lang2 | native_lang2_name1 | native_lang3 | native_lang3_name1 | native_lang4 | native_lang4_name1 | native_lang5 | native_lang5_name1 | occupation | place of burial | posthumous name | pre-type | pre-type1 | pre-type2 | pre-type3 | pre-type4 | pre-type5 | pre-type6 | pre-type7 | pre-type8 | pre-type9 | predecessor | predecessor1 | predecessor2 | predecessor3 | predecessor4 | predecessor5 | predecessor6 | predecessor7 | predecessor8 | predecessor9 | queen | reg-type | reg-type1 | reg-type2 | reg-type3 | reg-type4 | reg-type5 | reg-type6 | reg-type7 | reg-type8 | reg-type9 | regent | regent1 | regent2 | regent3 | regent4 | regent5 | regent6 | regent7 | regent8 | regent9 | regnal name | reign | reign-type | reign-type1 | reign-type2 | reign-type3 | reign-type4 | reign-type5 | reign-type6 | reign-type7 | reign-type8 | reign-type9 | reign1 | reign2 | reign3 | reign4 | reign5 | reign6 | reign7 | reign8 | reign9 | religion | royal house | signature | signature_alt | signature_type | spouse | spouse 1 | spouse 2 | spouse 3 | spouse 4 | spouse 5 | spouse 6 | spouse 7 | spouse 8 | spouse 9 | spouse-type | spouses | spouses-type | suc-type | suc-type1 | suc-type2 | suc-type3 | suc-type4 | suc-type5 | suc-type6 | suc-type7 | suc-type8 | suc-type9 | succession | succession1 | succession2 | succession3 | succession4 | succession5 | succession6 | succession7 | succession8 | succession9 | successor | successor1 | successor2 | successor3 | successor4 | successor5 | successor6 | successor7 | successor8 | successor9 | temple name | title | titletext | type }}<noinclude> | }}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox royalty with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox royalty]] with unknown parameter "_VALUE_"|ignoreblank=y| 2 | alt | birth_date | birth_name | birth_place | burial_date | burial_place | caption | clan_name | consort | cor-type | cor-type1 | cor-type2 | cor-type3 | cor-type4 | cor-type5 | cor-type6 | cor-type7 | cor-type8 | cor-type9 | coronation | coronation1 | coronation2 | coronation3 | coronation4 | coronation5 | coronation6 | coronation7 | coronation8 | coronation9 | date of burial | death_date | death_place | dynasty | embed | era dates | era name | family_name | father | full name | given_name | house | house-type | image | image_size | investiture | issue | issue-link | issue-pipe | issue-type | module | more | moretext | moretext1 | moretext2 | moretext3 | moretext4 | moretext5 | moretext6 | moretext7 | moretext8 | moretext9 | mother | name | native_lang1 | native_lang1_name1 | native_lang2 | native_lang2_name1 | native_lang3 | native_lang3_name1 | native_lang4 | native_lang4_name1 | native_lang5 | native_lang5_name1 | occupation | place of burial | posthumous name | pre-type | pre-type1 | pre-type2 | pre-type3 | pre-type4 | pre-type5 | pre-type6 | pre-type7 | pre-type8 | pre-type9 | predecessor | predecessor1 | predecessor2 | predecessor3 | predecessor4 | predecessor5 | predecessor6 | predecessor7 | predecessor8 | predecessor9 | queen | reg-type | reg-type1 | reg-type2 | reg-type3 | reg-type4 | reg-type5 | reg-type6 | reg-type7 | reg-type8 | reg-type9 | regent | regent1 | regent2 | regent3 | regent4 | regent5 | regent6 | regent7 | regent8 | regent9 | regnal name | reign | reign-type | reign-type1 | reign-type2 | reign-type3 | reign-type4 | reign-type5 | reign-type6 | reign-type7 | reign-type8 | reign-type9 | reign1 | reign2 | reign3 | reign4 | reign5 | reign6 | reign7 | reign8 | reign9 | religion | royal house | signature | signature_alt | signature_type | spouse | spouse 1 | spouse 2 | spouse 3 | spouse 4 | spouse 5 | spouse 6 | spouse 7 | spouse 8 | spouse 9 | spouse-type | spouses | spouses-type | suc-type | suc-type1 | suc-type2 | suc-type3 | suc-type4 | suc-type5 | suc-type6 | suc-type7 | suc-type8 | suc-type9 | succession | succession1 | succession2 | succession3 | succession4 | succession5 | succession6 | succession7 | succession8 | succession9 | successor | successor1 | successor2 | successor3 | successor4 | successor5 | successor6 | successor7 | successor8 | successor9 | temple name | title | titletext | type | succession10 | moretext10 | reign-type10 | reign10 | coronation10 | cor-type10 | predecessor10 | pre-type10 | successor10 | suc-type10 | regent10 | reg-type10}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:44, 17 February 2023
Template:Infobox royalty/short description
Template documentation
[create]