Template:Infobox officeholder: Difference between revisions

Created template infobox for office holder
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox
{| class="infobox" style="width:300px; font-size:90%;"
|bodystyle = width:22em;
|+ style="font-size:125%; font-weight:bold; text-align:center;" | {{{name|{{PAGENAME}}}}}
|title = {{{name|{{PAGENAME}}}}}


|image = {{{image|}}}
{{#if:{{{image|}}}|
|caption = {{{caption|}}}
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|250px]]
{{#if:{{{caption|}}}|<br />{{{caption}}}}}
}}


|header1 = Personal details
{{#if:{{{office|}}}|
{{!}}-
! Office
{{!}} {{{office}}}
}}


|label2 = Born
{{#if:{{{office1|}}}|
|data2 = {{{birth_date|}}}<br>{{{birth_place|}}}
{{!}}-
! Office
{{!}} {{{office1}}}
}}


|label3 = Nationality
{{#if:{{{office2|}}}|
|data3 = {{{nationality|Indian}}}
{{!}}-
! Office
{{!}} {{{office2}}}
}}


|label4 = Political party
{{#if:{{{office3|}}}|
|data4 = {{{political_party|}}}
{{!}}-
! Office
{{!}} {{{office3}}}
}}


|label5 = Spouse
{{#if:{{{office4|}}}|
|data5 = {{{spouse|}}}
{{!}}-
! Office
{{!}} {{{office4}}}
}}


|label6 = Education
{{#if:{{{term_start|}}}|
|data6 = {{{education|}}}
{{!}}-
! Term start
{{!}} {{{term_start}}}
}}


|header7 = Political office
{{#if:{{{term_end|}}}|
{{!}}-
! Term end
{{!}} {{{term_end}}}
}}


|label8 = Office
{{#if:{{{predecessor|}}}|
|data8 = {{{office|}}}
{{!}}-
! Predecessor
{{!}} {{{predecessor}}}
}}


|label9 = Assumed office
{{#if:{{{successor|}}}|
|data9 = {{{term_start|}}}
{{!}}-
! Successor
{{!}} {{{successor}}}
}}


|label10 = Left office
{{#if:{{{predecessor1|}}}|
|data10 = {{{term_end|}}}
{{!}}-
! Predecessor
{{!}} {{{predecessor1}}}
}}


|label11 = President
{{#if:{{{successor1|}}}|
|data11 = {{{president|}}}
{{!}}-
! Successor
{{!}} {{{successor1}}}
}}


|label12 = Prime Minister
{{#if:{{{constituency|}}}|
|data12 = {{{prime_minister|}}}
{{!}}-
! Constituency
{{!}} {{{constituency}}}
}}


|label13 = Chief Minister
{{#if:{{{constituency1|}}}|
|data13 = {{{chief_minister|}}}
{{!}}-
! Constituency
{{!}} {{{constituency1}}}
}}


|label14 = Governor
{{#if:{{{birth_date|}}}|
|data14 = {{{governor|}}}
{{!}}-
! Born
{{!}} {{{birth_date}}}
}}


|label15 = Preceded by
{{#if:{{{birth_place|}}}|
|data15 = {{{predecessor|}}}
{{!}}-
! Born
{{!}} {{{birth_place}}}
}}


|label16 = Succeeded by
{{#if:{{{death_date|}}}|
|data16 = {{{successor|}}}
{{!}}-
! Died
{{!}} {{{death_date}}}
}}


|label17 = Constituency
{{#if:{{{death_place|}}}|
|data17 = {{{constituency|}}}
{{!}}-
! Place of death
{{!}} {{{death_place}}}
}}
 
{{#if:{{{nationality|}}}|
{{!}}-
! Nationality
{{!}} {{{nationality}}}
}}
 
{{#if:{{{political_party|}}}|
{{!}}-
! Political party
{{!}} {{{political_party}}}
}}
 
{{#if:{{{party|}}}|
{{!}}-
! Political party
{{!}} {{{party}}}
}}
 
{{#if:{{{spouse|}}}|
{{!}}-
! Spouse
{{!}} {{{spouse}}}
}}
 
{{#if:{{{children|}}}|
{{!}}-
! Children
{{!}} {{{children}}}
}}
 
{{#if:{{{alma_mater|}}}|
{{!}}-
! Alma mater
{{!}} {{{alma_mater}}}
}}
 
{{#if:{{{occupation|}}}|
{{!}}-
! Occupation
{{!}} {{{occupation}}}
}}


|label18 = Website
{{#if:{{{website|}}}|
|data18 = {{{website|}}}
{{!}}-
! Website
{{!}} {{{website}}}
}}
}}
|}

Latest revision as of 07:16, 27 July 2026

Infobox officeholder