Template:Infobox royalty: Difference between revisions
From Vigyanwiki
Template>Frietjes (per request on talk page) |
Template>Frietjes (per request on talk page) |
||
Line 35: | Line 35: | ||
}} | }} | ||
}}}</small> | }}}</small> | ||
}} | }} | ||
|- | |||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}} colspan=2 style="text-align: center" {{!}} <span class="photo">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imgw|}}}}}}|sizedefault=frameless|upright=1.0|alt={{{alt|}}}|suppressplaceholder=yes}}</span> | {{!}} colspan=2 style="text-align: center" {{!}} <span class="photo">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imgw|}}}}}}|sizedefault=frameless|upright=1.0|alt={{{alt|}}}|suppressplaceholder=yes}}</span> | ||
}} | }} | ||
|- | |||
{{#ifexpr: {{#expr: {{#if: {{{caption|}}}|1|0}} and {{#if: {{{image|}}}|1|0}} }} | | {{#ifexpr: {{#expr: {{#if: {{{caption|}}}|1|0}} and {{#if: {{{image|}}}|1|0}} }} | | ||
{{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}} | {{!}} colspan=2 style="text-align: center" {{!}} {{{caption}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{succession|}}} | | {{#if: {{{succession|}}} | | ||
{{!}} colspan=2 style="background-color: #e4dcf6; text-align: | {{!}} colspan=2 style="background-color: #e4dcf6; text-align: center" {{!}} '''{{{succession}}}''' <small>{{{moretext|}}}</small> | ||
}} | }} | ||
|- | |||
{{#if: {{{reign|}}}| | {{#if: {{{reign|}}}| | ||
! {{{reign-type|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ! {{{reign-type|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ||
{{!}} {{{reign}}} | {{!}} {{{reign}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{coronation|}}}| | {{#if: {{{coronation|}}}| | ||
! {{#switch:{{lc:{{{cor-type}}}}} | ! {{#switch:{{lc:{{{cor-type}}}}} | ||
Line 69: | Line 69: | ||
}} | }} | ||
{{!}} {{{coronation}}} | {{!}} {{{coronation}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{predecessor|}}}| | {{#if: {{{predecessor|}}}| | ||
! {{{pre-type|Predecessor}}} | ! {{{pre-type|Predecessor}}} | ||
{{!}} {{{predecessor}}} | {{!}} {{{predecessor}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{successor|}}}| | {{#if: {{{successor|}}}| | ||
! {{{suc-type|Successor}}} | ! {{{suc-type|Successor}}} | ||
{{!}} {{{successor}}} | {{!}} {{{successor}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{regent|}}}| | {{#if: {{{regent|}}}| | ||
! {{{reg-type|Regent}}} | ! {{{reg-type|Regent}}} | ||
{{!}} {{{regent}}} | {{!}} {{{regent}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{succession1|}}} | | {{#if: {{{succession1|}}} | | ||
{{!}} colspan=2 style="background-color: #e4dcf6; text-align: | {{!}} colspan=2 style="background-color: #e4dcf6; text-align: center" {{!}} '''{{{succession1}}}''' <small>{{{moretext1|}}}</small> | ||
}} | }} | ||
|- | |||
{{#if: {{{reign1|}}}| | {{#if: {{{reign1|}}}| | ||
! {{{reign-type1|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ! {{{reign-type1|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ||
{{!}} {{{reign1}}} | {{!}} {{{reign1}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{coronation1|}}}| | {{#if: {{{coronation1|}}}| | ||
! {{{cor-type1|Coronation}}} | ! {{{cor-type1|Coronation}}} | ||
{{!}} {{{coronation1}}} | {{!}} {{{coronation1}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{predecessor1|}}}| | {{#if: {{{predecessor1|}}}| | ||
! {{{pre-type1|Predecessor}}} | ! {{{pre-type1|Predecessor}}} | ||
{{!}} {{{predecessor1}}} | {{!}} {{{predecessor1}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{successor1|}}}| | {{#if: {{{successor1|}}}| | ||
! {{{suc-type1|Successor}}} | ! {{{suc-type1|Successor}}} | ||
{{!}} {{{successor1}}} | {{!}} {{{successor1}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{regent1|}}}| | {{#if: {{{regent1|}}}| | ||
! {{{reg-type1|Regent}}} | ! {{{reg-type1|Regent}}} | ||
{{!}} {{{regent1}}} | {{!}} {{{regent1}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{succession2|}}} | | {{#if: {{{succession2|}}} | | ||
{{!}} colspan=2 style="background-color: #e4dcf6; text-align: right" {{!}} <center>'''{{{succession2}}}''' <small>{{{moretext2|}}}</small> </center> | {{!}} colspan=2 style="background-color: #e4dcf6; text-align: right" {{!}} <center>'''{{{succession2}}}''' <small>{{{moretext2|}}}</small> </center> | ||
}} | }} | ||
|- | |||
{{#if: {{{reign2|}}}| | {{#if: {{{reign2|}}}| | ||
! {{{reign-type2|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ! {{{reign-type2|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ||
{{!}} {{{reign2}}} | {{!}} {{{reign2}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{coronation2|}}}| | {{#if: {{{coronation2|}}}| | ||
! {{{cor-type2|Coronation}}} | ! {{{cor-type2|Coronation}}} | ||
{{!}} {{{coronation2}}} | {{!}} {{{coronation2}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{predecessor2|}}}| | {{#if: {{{predecessor2|}}}| | ||
! {{{pre-type2|Predecessor}}} | ! {{{pre-type2|Predecessor}}} | ||
{{!}} {{{predecessor2}}} | {{!}} {{{predecessor2}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{successor2|}}}| | {{#if: {{{successor2|}}}| | ||
! {{{suc-type2|Successor}}} | ! {{{suc-type2|Successor}}} | ||
{{!}} {{{successor2}}} | {{!}} {{{successor2}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{regent2|}}}| | {{#if: {{{regent2|}}}| | ||
! {{{reg-type2|Regent}}} | ! {{{reg-type2|Regent}}} | ||
{{!}} {{{regent2}}} | {{!}} {{{regent2}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{succession3|}}} | | {{#if: {{{succession3|}}} | | ||
{{!}} colspan=2 style="background-color: #e4dcf6; text-align: | {{!}} colspan=2 style="background-color: #e4dcf6; text-align: center" {{!}} '''{{{succession3}}}''' <small>{{{moretext3|}}}</small> | ||
}} | }} | ||
|- | |||
{{#if: {{{reign3|}}}| | {{#if: {{{reign3|}}}| | ||
! {{{reign-type3|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ! {{{reign-type3|{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}}}}} | ||
{{!}} {{{reign3}}} | {{!}} {{{reign3}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{coronation3|}}}| | {{#if: {{{coronation3|}}}| | ||
! {{{cor-type3|Coronation}}} | ! {{{cor-type3|Coronation}}} | ||
{{!}} {{{coronation3}}} | {{!}} {{{coronation3}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{predecessor3|}}}| | {{#if: {{{predecessor3|}}}| | ||
! {{{pre-type3|Predecessor}}} | ! {{{pre-type3|Predecessor}}} | ||
{{!}} {{{predecessor3}}} | {{!}} {{{predecessor3}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{successor3|}}}| | {{#if: {{{successor3|}}}| | ||
! {{{suc-type3|Successor}}} | ! {{{suc-type3|Successor}}} | ||
{{!}} {{{successor3}}} | {{!}} {{{successor3}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{regent3|}}}| | {{#if: {{{regent3|}}}| | ||
! {{{reg-type3|Regent}}} | ! {{{reg-type3|Regent}}} | ||
{{!}} {{{regent3}}} | {{!}} {{{regent3}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{succession|}}} | | {{#if: {{{succession|}}} | | ||
{{!}} colspan=2 style="background-color: #e4dcf6; height: 4px; text-align: center" {{!}} | {{!}} colspan=2 style="background-color: #e4dcf6; height: 4px; text-align: center" {{!}} | ||
}} | }} | ||
|- | |||
{{#if: {{{spouse|}}}| | {{#if: {{{spouse|}}}| | ||
! {{{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}}}}} | ! {{{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}}}}} | ||
{{!}} {{#if:1|{{{spouse}}}}} | {{!}} {{#if:1|{{{spouse}}}}} | ||
}} | }} | ||
|- | |||
<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->{{#if: {{{spouses|}}}| | <!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->{{#if: {{{spouses|}}}| | ||
! {{{spouses-type|Spouse}}} | ! {{{spouses-type|Spouse}}} | ||
{{!}} {{#if:1|{{{spouses}}}}} | {{!}} {{#if:1|{{{spouses}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{issue|}}} | | {{#if:{{{issue|}}} | | ||
! | ! Issue{{#if:{{{issue-link|}}}|<br><small>(''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]'')</small>}} | ||
{{!}} {{#if:1|{{{issue}}}}} | |||
}} | }} | ||
|- | |||
{{#if: {{{full name|}}} | | {{#if: {{{full name|}}} | | ||
! colspan=2 style="text-align: left" {{!}} Full name | ! colspan=2 style="text-align: left" {{!}} Full name | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} | {{!}} colspan=2 class="nickname" {{!}} {{{full name}}}<!-- "nickname" is the correct parameter value for hCard --> | ||
}} | }} | ||
|- | |||
{{#if: {{{era dates|}}} | | {{#if: {{{era dates|}}} | | ||
! colspan=2 style="text-align: left" {{!}} Era {{#if:{{{era name|}}}|name and }}dates | ! colspan=2 style="text-align: left" {{!}} Era {{#if:{{{era name|}}}|name and }}dates | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{#if:{{{era name|}}}|{{{era name}}}: }}{{{era dates}}} | {{!}} colspan=2 {{!}} {{#if:{{{era name|}}}|{{{era name}}}: }}{{{era dates}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{regnal name|}}} | | {{#if: {{{regnal name|}}} | | ||
! colspan=2 style="text-align: left" {{!}} [[Regnal name]] | ! colspan=2 style="text-align: left" {{!}} [[Regnal name]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{regnal name}}} | {{!}} colspan=2 {{!}} {{{regnal name}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{posthumous name|}}} | | {{#if: {{{posthumous name|}}} | | ||
! colspan=2 style="text-align: left" {{!}} [[Posthumous name]] | ! colspan=2 style="text-align: left" {{!}} [[Posthumous name]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{posthumous name}}} | {{!}} colspan=2 {{!}} {{{posthumous name}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{temple name|}}} | | {{#if: {{{temple name|}}} | | ||
! colspan=2 style="text-align: left" {{!}} [[Temple name]] | ! colspan=2 style="text-align: left" {{!}} [[Temple name]] | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 {{!}} {{{temple name}}} | {{!}} colspan=2 {{!}} {{{temple name}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{house|}}}| | {{#if: {{{house|}}}| | ||
! [[Royal house{{!}}{{{house-type|{{#switch:{{{house-type}}}|House}}}}}]] | ! [[Royal house{{!}}{{{house-type|{{#switch:{{{house-type}}}|House}}}}}]] | ||
{{!}} {{{house}}} | {{!}} {{{house}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{father|}}}| | {{#if: {{{father|}}}| | ||
! Father | ! Father | ||
{{!}} {{{father}}} | {{!}} {{{father}}} | ||
}} | }} | ||
|- | |||
{{#if: {{{mother|}}}| | {{#if: {{{mother|}}}| | ||
! Mother | ! Mother | ||
{{!}} {{{mother}}} | {{!}} {{{mother}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{birth_date|}}}{{{birth_place|}}}| | {{#if:{{{birth_date|}}}{{{birth_place|}}}| | ||
! Born | ! Born | ||
{{!}} {{br separated entries| {{{birth_date|}}} | {{{birth_place|}}} }} | {{!}} {{br separated entries| {{{birth_date|}}} | {{{birth_place|}}} }} | ||
}} | }} | ||
|- | |||
{{#if:{{{death_date|}}}{{{death_place|}}}| | {{#if:{{{death_date|}}}{{{death_place|}}}| | ||
! Died | ! Died | ||
{{!}} {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }} | {{!}} {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }} | ||
}} | }} | ||
|- | |||
{{#if:{{{burial_date|{{{date of burial|}}}}}}{{{burial_place|{{{place of burial|}}}}}}| | {{#if:{{{burial_date|{{{date of burial|}}}}}}{{{burial_place|{{{place of burial|}}}}}}| | ||
! Burial | ! Burial | ||
{{!}} {{br separated entries | {{{burial_date|{{{date of burial|}}}}}} | {{#if:{{{burial_place|{{{place of burial|}}}}}}|<span class="label">{{{burial_place|{{{place of burial|}}}}}}</span>}} }} | {{!}} {{br separated entries | {{{burial_date|{{{date of burial|}}}}}} | {{#if:{{{burial_place|{{{place of burial|}}}}}}|<span class="label">{{{burial_place|{{{place of burial|}}}}}}</span>}} }} | ||
}} | }} | ||
|- | |||
{{#if: {{{occupation|}}}| | {{#if: {{{occupation|}}}| | ||
! Occupation | ! Occupation | ||
{{!}} {{{occupation}}} | {{!}} {{{occupation}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{signature|}}}| | {{#if:{{{signature|}}}| | ||
! {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }} | ! {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }} | ||
{{!}} [[File:{{{signature}}}|125px|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]] | {{!}} [[File:{{{signature}}}|125px|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]] | ||
}} | }} | ||
|- | |||
{{#if: {{{religion|}}}| | {{#if: {{{religion|}}}| | ||
! Religion | ! Religion | ||
{{!}} {{{religion}}} | {{!}} {{{religion}}} | ||
}} | }} | ||
|- | |||
|}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<noinclude> | |}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 19:52, 8 June 2014
Template documentation
[create]