Template:Infobox officeholder/office: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{#if:{{{speaker|}}}{{{state_legislature|}}}{{{state_assembly|}}}{{{speaker_office|}}}{{{state_delegate|}}}{{{state_house|}}}{{{prior_term|}}}{{{nominee|}}}{{{candidate|}}}{{{termstart|}}}{{{election_date|}}}{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}{{{jr/sr|}}}{{{succeeding|}}}{{{state|}}}{{{jr/sr and state|}}}{{{state_senate|}}}{{{district|}}}{{{ambassador_from|}}}{{{minister_from|}}}{{{order|}}}{{{office|}}}{{{title|}}}{{{country|}}}{{{constituency_AM|}}}{{{constituency_MP|}}}{{{parliament|}}}{{{assembly|}}}{{{constituency_|}}}{{{riding|}}}{{{term|}}}{{{termend|}}}{{{alongside|}}}{{{co-leader|}}}
<!----------Speaker of the House---------->
|{{#invoke:infobox|infoboxTemplate|child=yes|decat=yes
{{#if:{{{speaker|}}}|
| headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em 0.2em
{{#if:{{{state_legislature|}}}|
| datastyle = border-bottom:none
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{speaker}}} Speaker of the {{{legislature|}}} Legislature
 
{{!}}-
<!--------Speaker of the House--------->
|{{#if:{{{state_assembly|}}}|
| header1 = {{#if:{{{speaker|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{speaker}}} Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly
{{{speaker}}} {{#if:{{{state_legislature|}}}
{{!}}-
  |[[Speaker of the {{{state_legislature}}} Legislature]]
|{{#if:{{{speaker|}}}|
  |{{#if:{{{state_assembly|}}}
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{speaker}}} {{#if:{{{speaker_office|}}}|{{{speaker_office}}}|Speaker of the {{#if:{{{state_delegate|}}} |{{{state_delegate}}}|{{#if:{{{state_house|}}} |{{{state_house}}}|U.S.}}}} House of {{#if:{{{state_delegate|}}}|Delegates|Representatives}}}}
    |[[Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]
{{!}}-
    |{{#if:{{{speaker_office|}}}|{{{speaker_office}}}|[[Speaker of the {{#if:{{{state_delegate|}}} |{{{state_delegate}}}|{{#if:{{{state_house|}}} |{{{state_house}}}|United States}}}} House of {{#if:{{{state_delegate|}}}|Delegates|Representatives}}|Speaker of the {{#if:{{{state_delegate|}}} |{{{state_delegate}}}|{{#if:{{{state_house|}}} |{{{state_house}}}|U.S.}}}} House of {{#if:{{{state_delegate|}}}|Delegates|Representatives}}]]}}
  }}
}}{{#if:{{{prior_term|}}}|
<br />{{{prior_term}}}}}
}}
}}
<!--------Office--------->
| header2 = {{#if:{{{nominee|}}}{{{candidate|}}}|
{{#if:{{{party_election|}}}{{{party|}}}
  |{{#if:{{{party_election|}}}|{{{party_election}}}|{{{party}}}}} {{#if:{{{nominee|}}}|nominee for<br>{{{nominee}}}|candidate for<br>{{{candidate}}}}}
  |{{#if:{{{nominee|}}}|Nominee for<br>{{{nominee}}}|Candidate for<br>{{{candidate}}}}}
}} }}
| data3 = {{#if:{{{nominee|}}}{{{candidate|}}}|
{{#if:{{{termstart|}}}{{{election_date|}}} | <span class="nowrap">'''Election date'''</span><br />{{#if:{{{election_date|}}}|{{{election_date}}}|{{{termstart}}}}}
}} }}
| header4 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||
{{#if:{{{jr/sr|}}}|[[United States Senate|<!--Changed code to eliminate "Junior/Senior" distinction for U.S. Senators per [[Template talk:Infobox Officeholder/Archive 9#Senior/Junior U.S. Senators]]{{{jr/sr}}}-->United States Senator{{#if:{{{succeeding|}}} |-elect}}]]<br />from {{{state}}}
}} }}
| header5 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||
{{{jr/sr and state|}}}
}}
}}
| header6 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||
{{#if:{{{state_senate|}}}|Member{{#if:{{{succeeding|}}} |-elect}} of the <span style="display: inline-block;">[[{{{state_senate}}} Senate]]</span><br />from the {{{district}}} district{{#if:{{{prior_term|}}}|
<br />{{{prior_term}}}}}
}} }}
| header7 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||
{{#if:{{{state_legislature|}}}|Member{{#if:{{{succeeding|}}} |-elect}} of the <span style="display: inline-block;">[[{{{state_legislature}}} Legislature]]</span><br />from the {{{district}}} district
}} }}
| header8 = {{#if:{{{ambassador_from|}}}{{{minister_from|}}}||
{{#if:{{{order|}}}
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}{{#if:{{{state|}}} |&#32;[[{{{state}}}]]}}{{#if:{{{title|}}} |&#32;{{{title}}}}}
|{{{office|}}}
}} }}
| header9 = {{#if:{{{ambassador_from|}}}{{{minister_from|}}}||
{{#if:{{{order|}}}
||{{{title|}}}
}} }}
<!--------Ambassador--------->
| header10 = {{#if:{{both|{{{ambassador_from|}}}{{{minister_from|}}}|{{{country|}}}}}
  |{{#if:{{{order|}}}|{{{order}}}}} {{#if:{{{minister_from|}}}
    |[[{{{minister_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}|{{{minister_from}}} Minister to {{CountryPrefixThe|{{{country}}}}}]]
    |[[{{{ambassador_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}]]
    }} [[Category:Pages using infobox officeholder with ambassador from or minister from]]
}}
}}
<!--------MP--------->
| header11 = {{#if:{{{constituency_AM|}}}{{{constituency_MP|}}}|
{{#ifeq:{{{parliament|}}}|Ireland|[[Teachta Dála]]|{{#ifeq:{{{parliament|}}}|Australian|Member of the <span style="display: inline-block;">[[Parliament of Australia|Australian Parliament]]</span>|{{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the <span style="display: inline-block;">[[{{{assembly}}} Assembly]]</span>|Assembly Member}}|Member of {{#if:{{{parliament|}}}|the <span style="display: inline-block;">[[{{{parliament}}} Parliament]]</span>|Parliament}}}}}}<br />for {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}}}
}}
}}
<!----------Office---------->
| header12 = {{#if:{{{riding|}}}|{{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the <span style="display: inline-block;">[[{{{assembly}}} Assembly]]</span>|Assembly Member}}|Member of {{#if:{{{parliament|}}}|the <span style="display: inline-block;">[[{{{parliament}}} Parliament]]</span>|Parliament}}}}<br />for {{{riding}}}
{{#if:{{{{{#if:{{{nominee|}}}|nominee|candidate}}|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|{{{party{{#if:{{{party_election||}}}|_election||}}|}}}&#32;}}{{#if:{{{nominee|}}}|{{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|n|N}}ominee|{{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|c|C}}andidate}} for<br>{{{{{#if:{{{nominee|}}}|nominee|candidate}}|}}}
{{!}}-
{{#if:{{{termstart|}}}{{{election_date|}}} |
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''Election date'''}}<br />{{#if:{{{election_date|}}}|{{{election_date}}}|{{{termstart}}}}}
{{!}}-
}}
}}
<!--------Majority Leader (State Senate)--------->
| header13 = {{#if:{{{majority_leader|}}}|{{{majority_leader}}} {{#if:{{{state_senate|}}}|[[Majority Leader of the {{{state_senate}}} Senate]]|[[United States Senate Majority Leader]]}}
}}
}}
{{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||
 
{{#if:{{{jr/sr|}}}|
<!--------Majority Floor Leader (State Senate)--------->
! colspan=2 style="background-color: lavender; text-align: center" {{!}} United States Senator{{#if:{{{succeeding|}}} |-elect}}<br />from {{{state}}}
| header14 = {{#if:{{{majority_floor_leader|}}}|{{{majority_floor_leader}}} [[Majority Floor Leader of the {{{state_senate}}} Senate]]
{{!}}-
}}
}}
{{#if:{{{jr/sr and state|}}}|
 
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{jr/sr and state}}}
<!--------Minority Leader (State Senate)--------->
{{!}}-
| header15 = {{#if:{{{minority_leader|}}}|{{{minority_leader}}} [[Minority Leader of the {{{state_senate}}} Senate]]
}}
}}
{{#if:{{{state_senate|}}}|
 
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the {{{state_senate}}} Senate<br />from the {{{district}}} district{{#if:{{{prior_term|}}}|
<!--------Minority Floor Leader (State Senate)--------->
<br /><small>{{{prior_term}}}</small>}}
| header16 = {{#if:{{{minority_floor_leader|}}}|{{{minority_floor_leader}}} [[Minority Floor Leader of the {{{state_senate}}} Senate]]
{{!}}-
}}
}}
{{#if:{{{state_legislature|}}}|
 
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the {{{state_legislature}}} Legislature<br />from the {{{district}}} district
<!--------Congressman--------->
{{!}}-
| header17 = {{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}||
{{#if:{{{district|}}}|{{#if:{{{state_assembly|}}}
  |Member{{#if:{{{succeeding|}}}|-elect}} of the <span style="display: inline-block;">[[{{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]</span><br />from the
  |Member{{#if:{{{succeeding|}}}|-elect}} of the <span style="display: inline-block;">[[{{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|United States }}}} {{#if:{{{state_delegate|}}}|House of Delegates|House of Representatives}}|{{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|U.S.}}}}&#32;{{#if:{{{state_delegate|}}}|House&#32;of&#32;Delegates|{{#if:{{{state_house|}}}| }}House&#32;of&#32;Representatives}}]]</span><br />from {{#if:{{{state_delegate|}}}|the |{{#if:{{{state_house|}}}|the |{{{state}}}'s}}}}
  }} {{{district}}} district{{#if:{{{prior_term|}}}|
<br />{{{prior_term}}}}}
}}
}}
}}
}}
{{#if:{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from|}}}||
 
{{#if:{{{order|}}} |
<!--------Convocation--------->
! colspan=2 style="background-color: lavender; text-align: center" {{!}} <!--
| header18 = {{#if:{{{convocation|}}}|{{{convocation}}}}}
-->{{{order}}}<!--
 
-->{{#if:{{{office|}}} |&#32;{{{office}}}}}<!--
<!--------Term--------->
-->{{#if:{{{state|}}} |&#32;{{{state}}}}}<!--
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}|
-->{{#if:{{{title|}}} |&#32;{{{title}}}}}<!--
{{#if:{{{status|}}}
-->
  | <div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}|
{{!}}-|
{{#if:{{{office|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{office}}}
{{!}}-
}}
}}
{{#if:{{{title|}}}|
 
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{title}}}
| data20 = {{#if:{{{nominee|}}}{{{candidate|}}}||
{{!}}-
{{#if:{{{succeeding|}}}
}}
  | <span class="nowrap">'''Assuming office'''</span><br />{{{termstart}}}{{#if:{{{term|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with succeeding and term or termend]]}}
}}
  | {{#if: {{{term|}}} | <span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{{term}}} }}
}}
}} }}
<!----------Ambassador---------->
 
{{#if:{{{{{#if:{{{ambassador_from|}}}|ambassador|minister}}_from|}}}|
| data21 = {{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{country|}}}|
{{#if:{{{succeeding|}}}
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{order|}}}|{{{order}}}}} Ambassador to {{{country}}}{{#if:{{{minister_from|}}}|{{!}}{{{minister_from}}} Minister to {{{country}}}}}
  |  
{{!}}-
  |{{#if:{{{termstart|}}}
}}
      | {{#if:{{{termend|}}}
}}
        |<!--then: term has start and end:--><span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{en dash range|{{{termstart}}}|{{{termend}}}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}}
<!----------MP---------->
        |{{#if:{{{status|}}}|<div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
{{#if:{{{constituency_AM|}}}{{{constituency_MP|}}}|
        }}
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#ifeq:{{{parliament|}}}|Ireland|Teachta Dála|{{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the {{{assembly}}} Assembly|Assembly Member}}|Member of {{#if:{{{parliament|}}}|the {{{parliament}}} Parliament|Parliament}}}}}}<br />for {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}
    }}
{{!}}-
}} }}
}}
 
{{#if:{{{riding|}}}|
| data22 = {{#if:{{{nominee|}}}{{{candidate|}}}||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the {{{assembly}}} Assembly|Assembly Member}}|Member of {{#if:{{{parliament|}}}|the {{{parliament}}} Parliament|Parliament}}}}<br />for {{{riding}}}
{{#if:{{{succeeding|}}}
{{!}}-
  |  
}}
  |{{#if:{{{termstart|}}}
<!----------Majority Leader (State Senate)---------->
      |{{#if:{{{termend|}}}
{{#if:{{{majority_leader|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{majority_leader}}} {{#if:{{{state_senate|}}}|United States Senate Majority Leader}}
{{!}}-
}}
<!----------Majority Floor Leader (State Senate)---------->
{{#if:{{{majority_floor_leader|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{majority_floor_leader}}} Majority Floor Leader of the {{{state_senate}}} Senate
{{!}}-
}}
<!----------Minority Leader (State Senate)---------->
{{#if:{{{minority_leader|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{minority_leader}}} Minority Leader of the {{{state_senate}}} Senate
{{!}}-
}}
<!----------Minority Floor Leader (State Senate)---------->
{{#if:{{{minority_floor_leader|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{{minority_floor_leader}}} Minority Floor Leader of the {{{state_senate}}} Senate
{{!}}-
}}
<!----------Congressman---------->
{{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}||
{{#if:{{{district|}}}|
{{#if:{{{succeeding|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member-elect of the U.S.&#32;House&#32;of&#32;Representatives{{#if:{{{state|}}}|&#32;from<br />{{{state}}}'s {{{district}}}}}&#32;district
{{!}}-|{{#if:{{{state_assembly|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly<br />from {{#if:{{{state_assembly|}}}|the {{{district}}}}} district
{{!}}-
|{{#if:{{{district|}}}|
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the {{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|United States }}}} {{#if:{{{state_delegate|}}}|House of Delegates|House of Representatives}}|{{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|U.S.}}}}&#32;{{#if:{{{state_delegate|}}}|House&#32;of&#32;Delegates|{{#if:{{{state_house|}}}| }}House&#32;of&#32;Representatives}}<br />from {{#if:{{{state_delegate|}}}|the |{{#if:{{{state_house|}}}|the |{{{state}}}'s}}}} {{{district}}} district{{#if:{{{prior_term|}}}|
<br /><small>{{{prior_term}}}</small>}}<br/>
{{!}}-
}}
}}
}}
}}
}}
<!----------Term---------->
{{#if:{{{{{#if:{{{nominee|}}}|nominee|candidate}}|}}}||
{{#if:{{{succeeding|}}}|
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}<br />{{nowrap|'''Taking office'''}}<br />{{{termstart}}}
{{!}}-
|{{#if: {{{term|}}}|
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}<br />{{nowrap|'''In office'''}}<br />{{{term}}}
{{!}}-
}}
{{#if:{{{termstart|}}}|
{{#if:{{{termend|}}}|<!--then term has start and end:-->
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}<br />{{nowrap|'''In office'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|&nbsp;–&#32;|–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
{{!}}-
|<!--else:--> <!--term is ongoing--><br/>
{{!}}colspan=2 style="text-align:center; background-color: lavender"{{!}} '''Incumbent'''
{{!}}-
}}
{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->
|<!--else term is ongoing:--><span class="nowrap">'''{{#if:{{{termlabel|}}}|{{str rep|1={{{termlabel}}}|2=In office|3=Assumed office}}|Assumed office}}'''</span>&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}}
{{!}}colspan=2 style="text-align:center"{{!}}{{nowrap|'''Assumed office'''}}&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
      }}
{{!}}-
  }}
}}
}} }}
}}
 
}}
}} }}<!--  
}}
  end infobox1 / start infobox2
<!---------- President, Prime Minister, Governor---------->
-->{{#if:{{{monarch|}}}{{{president|}}}{{{governor-general|}}}{{{governor_general|}}}{{{primeminister|}}}{{{chancellor|}}}{{{minister|}}}{{{taoiseach|}}}{{{firstminister|}}}{{{chiefminister|}}}{{{premier|}}}{{{governor|}}}{{{lieutenant_governor|}}}{{{vicepresident|}}}{{{vicegovernor|}}}{{{viceprimeminister|}}}{{{vicepremier|}}}{{{deputy|}}}{{{leader|}}}{{{lieutenant|}}}{{{nominator|}}}{{{appointer|}}}{{{opponent|}}}{{{incumbent|}}}{{{succeeding|}}}{{{preceding|}}}{{{predecessor|}}}{{{preceded|}}}{{{successor|}}}{{{succeeded|}}}{{{parliamentarygroup|}}}{{{constituency|}}}{{{majority|}}}{{{suboffice|}}}{{{1namedata|}}}{{{2namedata|}}}{{{3namedata|}}}{{{4namedata|}}}{{{5namedata|}}}{{{runningmate|}}}|
{{#if:{{{monarch|}}}|
{{#invoke:infobox|infoboxTemplate|child=yes
! style="text-align:left;" {{!}} Monarch
| labelstyle = text-align:left
{{!}} {{{monarch}}}
 
{{!}}-
| label1 = <span class="nowrap">Nominated by</span>
}}
| data1 = {{{nominator|}}}
{{#if:{{{president|}}}|
 
! style="text-align:left;" {{!}} President
| label2 = <span class="nowrap">Appointed by</span>
{{!}} {{{president}}}
| data2 = {{{appointer|}}}
{{!}}-
 
}}
<!--------President, Prime Minister, Governor--------->
{{#if:{{{governor_general|}}}|
| label3 = Monarch
! style="text-align:left;" {{!}} {{nowrap|Governor General}}
| data3 = {{{monarch|}}}
{{!}} {{{governor_general}}}
 
{{!}}-
| label4 = President
}}
| data4 = {{{president|}}}
{{#if:{{{primeminister|}}}|
 
! style="text-align:left;" {{!}} {{nowrap|Prime Minister}}
| label5 = {{#if:{{{governor_general|}}}|Governor General|Governor-General}}
{{!}} {{{primeminister}}}
| data5 = {{#if:{{{governor_general|}}}|{{{governor_general}}}|{{{governor-general|}}}}}
{{!}}-
 
}}
| label6 = <span class="nowrap">Prime Minister</span>
{{#if:{{{chancellor|}}}|
| data6 = {{{primeminister|}}}
! style="text-align:left;" {{!}} Chancellor
 
{{!}} {{{chancellor}}}
| label7 = Chancellor
{{!}}-
| data7 = {{{chancellor|}}}
}}
 
{{#if:{{{minister|}}}|
| label8 = Minister
! style="text-align:left;" {{!}} Minister
| data8 = {{{minister|}}}
{{!}} {{{minister}}}
 
{{!}}-
| label9 = Taoiseach
}}
| data9 = {{{taoiseach|}}}
{{#if:{{{taoiseach|}}}|
 
! style="text-align:left;" {{!}} Taoiseach
| label10 = <span class="nowrap">First Minister</span>
{{!}} {{{taoiseach}}}
| data10 = {{{firstminister|}}}
{{!}}-
 
}}
| label11 = <span class="nowrap">Chief Minister</span>
{{#if:{{{firstminister|}}}|
| data11 = {{{chiefminister|}}}
! style="text-align:left;" {{!}} {{nowrap|First Minister}}
 
{{!}} {{{firstminister}}}
| label12 = Premier
{{!}}-
| data12 = {{{premier|}}}
}}
 
{{#if:{{{chiefminister|}}}|
| label13 = Governor
! style="text-align:left;" {{!}} {{nowrap|Chief Minister}}
| data13 = {{{governor|}}}
{{!}} {{{chiefminister}}}
 
{{!}}-
| label14 = Lieutenant Governor
}}
| data14 = {{{lieutenant_governor|}}}
{{#if:{{{premier|}}}|
 
! style="text-align:left;" {{!}} Premier
<!--------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s--------->
{{!}} {{{premier}}}
| label15 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice President]]|Vice President}}|Vice President}}</span>
{{!}}-
| data15 = {{{vicepresident|}}}
}}
 
{{#if:{{{governor|}}}|
| label16 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice Governor]]|Vice Governor}}|Vice Governor}}</span>
! Governor
| data16 = {{{vicegovernor|}}}
{{!}} {{{governor}}}
 
{{!}}-
| label17 = <span class="nowrap">{{#if:{{{office|}}}|[[Vice {{{office}}}|Vice PM]]|Vice [[Prime Minister|PM]]}}</span>
}}
| data17 = {{{viceprimeminister|}}}
{{#if:{{{lieutenant_governor|}}}|
 
! style="text-align:left;" {{!}} {{nowrap|Lieutenant Governor}}
| label18 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice Premier]]|Vice Premier}}|Vice Premier}}</span>
{{!}} {{{lieutenant_governor}}}
| data18 = {{{vicepremier|}}}
{{!}}-
 
}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
<!---------- Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
| data19 = {{{deputy|}}}
{{#if:{{{vicepresident|}}}|
 
! style="text-align:left;" {{!}} {{nowrap|{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|Vice President|Vice President}}|Vice President}}}}
| label20 = Leader
{{!}} {{{vicepresident}}}
| data20 = {{{leader|}}}
{{!}}-
 
}}
| label21 = {{#if:{{{office|}}}|[[Lieutenant {{{office}}}|Lieutenant]]|Lieutenant}}
{{#if:{{{vicegovernor|}}}|
| data21 = {{{lieutenant|}}}
! style="text-align:left;" {{!}} {{nowrap|{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|Vice Governor|Vice Governor}}|Vice Governor}}}}
 
{{!}} {{{vicegovernor}}}
| label22 = {{nowrap|{{{subterm|}}}}}
{{!}}-
| data22 = {{{suboffice|}}}
}}
 
{{#if:{{{viceprimeminister|}}}|
<!--------Blank fields--------->
! style="text-align:left;" {{!}} {{nowrap|{{#if:{{{office|}}}|Vice PM|Vice PM}}}}
| label23 = {{{1blankname|}}}
{{!}} {{{viceprimeminister}}}
| data23 = {{{1namedata|}}}
{{!}}-
 
}}
| label24 = {{{2blankname|}}}
{{#if:{{{vicepremier|}}}|
| data24 = {{{2namedata|}}}
! style="text-align:left;" {{!}} {{nowrap|{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|Vice Premier|Vice Premier}}|Vice Premier}}}}
 
{{!}} {{{vicepremier}}}
| label25 = {{{3blankname|}}}
{{!}}-
| data25 = {{{3namedata|}}}
}}
 
{{#if:{{{deputy|}}}|
| label26 = {{{4blankname|}}}
! style="text-align:left;" {{!}} {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|Deputy|Deputy}}|Deputy}}
| data26 = {{{4namedata|}}}
{{!}} {{{deputy}}}
 
{{!}}-
| label27 = {{{5blankname|}}}
}}
| data27 = {{{5namedata|}}}
{{#if:{{{leader|}}}|
 
! style="text-align:left;" {{!}} Leader
<!--------Predecessor/successor--------->
{{!}} {{{leader}}}
| label28 = <span class="nowrap">Running mate</span>
{{!}}-
| data28 = {{{runningmate|}}}
}}
 
{{#if:{{{lieutenant|}}}|
| label29 = Opponent(s)
! style="text-align:left;" {{!}} {{#if:{{{office|}}}|Lieutenant|Lieutenant}}
| data29 = {{{opponent|}}}
{{!}} {{{lieutenant}}}
 
{{!}}-
| label30 = Incumbent
}}
| data30 = {{{incumbent|}}}
{{#if:{{{nominator|}}}|
 
! style="text-align:left;" {{!}} {{nowrap|Nominated by}}
| label31 = {{#if:{{{succeeding|}}}|Succeeding|Preceding}}
{{!}} {{{nominator}}}
| data31 = {{#if:{{{succeeding|}}}|{{{succeeding|}}}|{{{preceding|}}}}}
{{!}}-
 
}}
| label32 = <span class="nowrap">Preceded by</span>
{{#if:{{{appointer|}}}|
| data32 = {{#if:{{{succeeding|}}}||{{#if:{{{predecessor|}}}|{{{predecessor}}}|{{{preceded|}}}}}}}
! style="text-align:left;" {{!}} {{nowrap|Appointed by}}
 
{{!}} {{{appointer}}}
| label33 = <span class="nowrap">Succeeded by</span>
{{!}}-
| data33 = {{#if:{{{succeeding|}}}||{{#switch:{{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}}
}}
<!---------- Blank fields ---------->
{{#if:{{{1namedata|}}}|
! style="text-align:left;" {{!}} {{{1blankname|}}}
{{!}} {{{1namedata}}}
{{!}}-
}}
{{#if:{{{2namedata|}}}|
! style="text-align:left;" {{!}} {{{2blankname|}}}
{{!}} {{{2namedata}}}
{{!}}-
}}
{{#if:{{{3namedata|}}}|
! style="text-align:left;" {{!}} {{{3blankname|}}}
{{!}} {{{3namedata}}}
{{!}}-
}}
{{#if:{{{4namedata|}}}|
! style="text-align:left;" {{!}} {{{4blankname|}}}
{{!}} {{{4namedata}}}
{{!}}-
}}
{{#if:{{{5namedata|}}}|
! style="text-align:left;" {{!}} {{{5blankname|}}}
{{!}} {{{5namedata}}}
{{!}}-
}}
<!----------Predecessor/successor---------->
{{#if:{{{runningmate|}}}|
! style="text-align:left;" {{!}} {{nowrap|Running mate}}
{{!}} {{{runningmate}}}
{{!}}-
}}
{{#if:{{{opponent|}}}|
! style="text-align:left;" {{!}} Opponent(s)
{{!}} {{{opponent}}}
{{!}}-
}}
{{#if:{{{incumbent|}}}|
! style="text-align:left;" {{!}} Incumbent
{{!}} {{{incumbent}}}
{{!}}-
}}
{{#if:{{{succeeding|}}}|
! style="text-align:left;" {{!}} Succeeding
{{!}} {{{succeeding}}}
{{!}}-
|{{#if:{{{preceding|}}}|
! style="text-align:left;" {{!}} Preceding
{{!}} {{{preceding}}}
{{!}}-
}}
{{#if:{{{{{#if:{{{predecessor|}}}|predecessor|preceded}}|}}} |
! style="text-align:left;" {{!}} {{nowrap|Preceded by}}
{{!}} {{{{{#if:{{{predecessor|}}}|predecessor|preceded}}|}}}
{{!}}-
}}
{{#switch:{{{{{#if:{{{successor|}}}|successor|succeeded}}|}}}
| Incumbent
| Incumbent
| '''Incumbent'''
| '''Incumbent'''
| ''Incumbent''
| ''Incumbent''
| Incumbent
| [[Incumbent]]
| incumbent
| incumbent
| '''incumbent'''
| '''incumbent'''
| ''incumbent''
| ''incumbent''
| incumbent =
| [[incumbent]] =
|{{#if:{{{{{#if:{{{successor|}}}|successor|succeeded}}|}}} |
| #default = {{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}}
! style="text-align:left;" {{!}} {{nowrap|Succeeded by}}
{{!}} {{{{{#if:{{{successor|}}}|successor|succeeded}}|}}} }}
{{!}}-
}}}}
}}}}
<!-----Constituency----->
<!--------Constituency/Majority--------->
{{#if:{{{constituency|}}}|
| label34 = [[Parliamentary group]]
! style="text-align:left;" {{!}} Constituency
| data34 = {{{parliamentarygroup|}}}
{{!}} {{{constituency}}}
 
{{!}}-
| label35 = Constituency
}}
| data35 = {{{constituency|}}}
<!-----Majority----->
 
{{#if:{{{majority|}}}|
| label36 = Majority
! style="text-align:left;" {{!}} Majority
| data36 = {{{majority|}}}
{{!}} {{{majority}}}
}} }}<noinclude>{{documentation}}</noinclude>
{{!}}-
}}</includeonly>

Navigation menu