Template:Infobox royalty: Difference between revisions

From Vigyanwiki
Template>Zyxw
(add "module" parameter, see documentation)
Template>John of Reading
(Added succession4 to succession9; see edit request)
Line 125: Line 125:
| data25 = {{{regent3|}}}
| data25 = {{{regent3|}}}


| header26 = {{#if: {{{succession|}}} | <div style="height: 4px; width:100%;"></div>}}
| header26 = {{#if:{{{succession4|}}}|{{{succession4}}} {{#if:{{{moretext4|}}}|{{nobold|<small>{{{moretext4}}}</small>}}}}}}


| label27 = Born
| label27 = {{ifempty| {{{reign-type4|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data27 = {{br separated entries| {{{birth_name|}}} | {{{birth_date|}}} | {{{birth_place|}}} }}
| data27 = {{{reign4|}}}


| label28 = Died
| label28 = {{#if:{{{cor-type4|}}}|{{{cor-type4}}}|Coronation}}
| data28 = {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }}
| data28 = {{{coronation4|}}}


| label29 = Burial
| label29 = {{#if:{{{pre-type4|}}}|{{{pre-type4}}}|Predecessor}}
| data29 = {{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>}} }}
| data29 = {{{predecessor4|}}}


| label30 = Consort
| label30 = {{#if:{{{suc-type4|}}}|{{{suc-type4}}}|Successor}}
| data30 = {{{queen|}}}
| data30 = {{{successor4|}}}


| label31 = {{{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}}}}}
| label31 = {{#if:{{{reg-type4|}}}|{{{reg-type4}}}|Regent}}
| data31 = {{{spouse|}}}
| data31 = {{{regent4|}}}


| label32 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouse}}<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->
| header32 = {{#if:{{{succession5|}}}|{{{succession5}}} {{#if:{{{moretext5|}}}|{{nobold|<small>{{{moretext5}}}</small>}}}}}}
| data32 = {{{spouses|}}}


| label33 = {{#if:{{{spouse 2|}}} | Wives | Wife }}
| label33 = {{ifempty| {{{reign-type5|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data33 = {{#if: {{{spouse 1|}}}|
| 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|}}}|{{nobold|<small>{{{moretext6}}}</small>}}}}}}
 
| label39 = {{ifempty| {{{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|}}}|{{nobold|<small>{{{moretext7}}}</small>}}}}}}
 
| label45 = {{ifempty| {{{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}}
| data46 = {{{coronation7|}}}
 
| label47 = {{#if:{{{pre-type7|}}}|{{{pre-type7}}}|Predecessor}}
| data47 = {{{predecessor7|}}}
 
| label48 = {{#if:{{{suc-type7|}}}|{{{suc-type7}}}|Successor}}
| data48 = {{{successor7|}}}
 
| label49 = {{#if:{{{reg-type7|}}}|{{{reg-type7}}}|Regent}}
| data49 = {{{regent7|}}}
 
| header50 =  {{#if:{{{succession8|}}}|{{{succession8}}} {{#if:{{{moretext8|}}}|{{nobold|<small>{{{moretext8}}}</small>}}}}}}
 
| label51 = {{ifempty| {{{reign-type8|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data51 = {{{reign8|}}}
 
| label52 = {{#if:{{{cor-type8|}}}|{{{cor-type8}}}|Coronation}}
| data52 = {{{coronation8|}}}
 
| label53 = {{#if:{{{pre-type8|}}}|{{{pre-type8}}}|Predecessor}}
| data53 = {{{predecessor8|}}}
 
| label54 = {{#if:{{{suc-type8|}}}|{{{suc-type8}}}|Successor}}
| data54 = {{{successor8|}}}
 
| label55 = {{#if:{{{reg-type8|}}}|{{{reg-type8}}}|Regent}}
| data55 = {{{regent8|}}}
 
| header56 =  {{#if:{{{succession9|}}}|{{{succession9}}} {{#if:{{{moretext9|}}}|{{nobold|<small>{{{moretext9}}}</small>}}}}}}
 
| label57 = {{ifempty| {{{reign-type9|}}} |{{#switch:{{{consort|}}}|yes=Tenure|<!--BACKWARD COMPAT FROM IBR-->{{#switch:{{{2}}}|consort=Tenure|Reign}}<!--BACKWARD COMPAT FROM IBR-->}} }}
| data57 = {{{reign9|}}}
 
| label58 = {{#if:{{{cor-type9|}}}|{{{cor-type9}}}|Coronation}}
| data58 = {{{coronation9|}}}
 
| label59 = {{#if:{{{pre-type9|}}}|{{{pre-type9}}}|Predecessor}}
| data59 = {{{predecessor9|}}}
 
| label60 = {{#if:{{{suc-type9|}}}|{{{suc-type9}}}|Successor}}
| data60 = {{{successor9|}}}
 
| label61 = {{#if:{{{reg-type9|}}}|{{{reg-type9}}}|Regent}}
| data61 = {{{regent9|}}}
 
| header62 = {{#if: {{{succession|}}} | <div style="height: 4px; width:100%;"></div>}}
 
| label63 = Born
| data63 = {{br separated entries| {{{birth_name|}}} | {{{birth_date|}}} | {{{birth_place|}}} }}
 
| label64 = Died
| data64 = {{br separated entries| {{{death_date|}}} | {{{death_place|}}} }}
 
| label65 = Burial
| 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 = Consort
| data66 = {{{queen|}}}
 
| 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 = {{{spouse|}}}
 
| label68 = {{#if:{{{spouses-type|}}}|{{{spouses-type}}}|Spouse}}<!--FOOLPROOFING. USE NOT GENERALLY ENCOURAGED: USE spouse-->
| data68 = {{{spouses|}}}
 
| label69 = {{#if:{{{spouse 2|}}} | Wives | Wife }}
| data69 = {{#if: {{{spouse 1|}}}|
{{unbulleted list
{{unbulleted list
| {{{spouse 1}}}
| {{{spouse 1}}}
Line 159: Line 261:
}}}}
}}}}


| label34 = {{#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-size:smaller; font-weight:normal">''[[{{{issue-link}}}|{{#if:{{{issue-pipe|}}}|{{{issue-pipe}}}|Detail}}]]''</span>}}
| data34 = {{{issue|}}}
| data70 = {{{issue|}}}


| data35 = {{#if:{{{full name|}}}{{{family_name|}}}{{{clan_name|}}}{{{given_name|}}}{{{era dates|}}}{{{regnal name|}}}{{{posthumous name|}}}{{{temple name|}}}|
| data71 = {{#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
Line 188: Line 290:
}}
}}


| label36 = {{{native_lang1}}}
| label72 = {{{native_lang1}}}
| data36 = {{#if: {{{native_lang1|}}}|{{{native_lang1_name1|}}}}}
| data72 = {{#if: {{{native_lang1|}}}|{{{native_lang1_name1|}}}}}


| label37 = {{{native_lang2}}}
| label73 = {{{native_lang2}}}
| data37 = {{#if: {{{native_lang2|}}}|{{{native_lang2_name1|}}}}}
| data73 = {{#if: {{{native_lang2|}}}|{{{native_lang2_name1|}}}}}


| label38 = {{{native_lang3}}}
| label74 = {{{native_lang3}}}
| data38 = {{#if: {{{native_lang3|}}}|{{{native_lang3_name1|}}}}}
| data74 = {{#if: {{{native_lang3|}}}|{{{native_lang3_name1|}}}}}


| label39 = {{{native_lang4}}}
| label75 = {{{native_lang4}}}
| data39 = {{#if: {{{native_lang4|}}}|{{{native_lang4_name1|}}}}}
| data75 = {{#if: {{{native_lang4|}}}|{{{native_lang4_name1|}}}}}


| label40 = {{{native_lang5}}}
| label76 = {{{native_lang5}}}
| data40 = {{#if: {{{native_lang5|}}}|{{{native_lang5_name1|}}}}}
| data76 = {{#if: {{{native_lang5|}}}|{{{native_lang5_name1|}}}}}


| label41 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]]
| label77 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]]
| data41 = {{{house|}}}
| data77 = {{{house|}}}


| label42 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]]
| label78 = [[Dynasty|{{#if:{{{house-type|}}}|{{{house-type}}}|House}}]]
| data42 = {{{royal house|}}}
| data78 = {{{royal house|}}}


| label43 = [[Dynasty]]
| label79 = [[Dynasty]]
| data43 = {{{dynasty|}}}
| data79 = {{{dynasty|}}}


| label44 = Father
| label80 = Father
| data44 = {{{father|}}}
| data80 = {{{father|}}}


| label45 = Mother
| label81 = Mother
| data45 = {{{mother|}}}
| data81 = {{{mother|}}}


| label46 = Religion
| label82 = Religion
| data46 = {{{religion|}}}
| data82 = {{{religion|}}}


| label47 = Occupation
| label83 = Occupation
| data47 = {{{occupation|}}}
| data83 = {{{occupation|}}}


| label48 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }}
| label84 = {{#if:{{{signature_type|}}}| {{{signature_type}}} | Signature }}
| data48 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|125px|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]]}}
| data84 = {{#if:{{{signature|}}}|[[File:{{{signature}}}|125px|alt={{{signature_alt|}}}|{{PAGENAME}}'s signature]]}}


| data49 = {{{module|}}}   
| data85 = {{{module|}}}   


}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}{{#ifeq:{{{imgw|a}}}|{{{imgw|b}}}|[[Category:Pages using imgw]]}}<noinclude>
}}{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}{{#ifeq:{{{imgw|a}}}|{{{imgw|b}}}|[[Category:Pages using imgw]]}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 13:18, 7 March 2017

Template documentation