Template:Infobox officeholder/Office: Difference between revisions

From FasciPedia
Jump to navigation Jump to search
en>Hu1
m (Protected "Template:Infobox officeholder/Office": security ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
 
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
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;
{{#if:{{{state_legislature|}}}|
| datastyle = border-bottom:none
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{speaker}}} [[Speaker of the {{{legislature|}}} Legislature]]</div>
 
{{!}}-
<!--------Speaker of the House--------->
|{{#if:{{{state_assembly|}}}|
| header1 = {{#if:{{{speaker|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{speaker}}} [[Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]</div>
{{{speaker}}} {{#if:{{{state_legislature|}}}
{{!}}-
  |[[Speaker of the {{{state_legislature}}} Legislature]]
|{{#if:{{{speaker|}}}|
  |{{#if:{{{state_assembly|}}}
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{speaker}}} {{#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}}]]}}</div>
    |[[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|}}}|
{{#switch:{{{parliament|}}}
|Australian = Member of the <span style="display: inline-block;">[[Australian House of Representatives|Australian Parliament]]</span>
|European = [[Member of the European Parliament|Member of the <span style="display: inline-block;">European Parliament</span>]]
|Sri Lanka|Sri Lankan = [[Member of Parliament (Sri Lanka)|Member of Parliament]]
|United Kingdom|UK = [[Member of Parliament (United Kingdom)|Member of Parliament]]
|#default = {{#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 {{#ifeq:{{Title disambig text|{{{constituency_MP|}}}}}|UK Parliament constituency
|{{{constituency_MP|}}}
|{{#if:{{#switch:{{{parliament|}}} |United Kingdom|UK| = {{Linkless exists|{{delink|{{{constituency_MP|}}}}} (UK Parliament constituency)}} }}
  |{{#if:{{Constlk|{{delink|{{{constituency_MP|}}}}}}}
  |{{Constlk|{{delink|{{{constituency_MP|}}}}}}}
  |{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}}}
  |{{{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}}|
{{#if:{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}|
{{#switch:{{{parliament|}}}
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;"> {{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}&nbsp;}}{{#if:{{{nominee{{{1}}}|}}}|{{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|n|N}}ominee|{{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|c|C}}andidate}} for<br>{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}</div>
|Canadian = [[Member of Parliament (Canada)|Member of Parliament]]
{{!}}-
|#default = Member of {{#if:{{{parliament|}}}|the <span style="display: inline-block;">[[{{{parliament}}} Parliament]]</span>|Parliament}}}}}}<br />for {{{riding}}}
{{#if:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}|}}}{{{election_date{{{1}}}|}}} |
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''Election&nbsp;date'''<br />{{#if:{{{election_date{{{1}}}|}}}|{{{election_date{{{1}}}}}}|{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}}}
{{!}}-
}}
}}
<!--------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{{{1}}}|}}}{{{majorityleader{{{1}}}|}}}{{{minority_floor_leader{{{1}}}|}}}{{{minority_leader{{{1}}}|}}}{{{majority_floor_leader{{{1}}}|}}}||
 
{{#if:{{{jr/sr{{{1}}}|}}}|
<!--------Majority Floor Leader (State Senate)--------->
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">[[United States Senate|<!--Changed code to eliminate "Junior/Senior" distinction for U.S. Senators per [[Template talk:Infobox Officeholder#Senior/Junior U.S. Senators]]{{{jr/sr}}}-->United States Senator{{#if:{{{succeeding{{{1}}}|}}} |-elect}}]]<br />from {{{state{{{1}}}}}}</div>
| header14 = {{#if:{{{majority_floor_leader|}}}|{{{majority_floor_leader}}} [[Majority Floor Leader of the {{{state_senate}}} Senate]]
{{!}}-
}}
}}
{{#if:{{{jr/sr and state{{{1}}}|}}}|
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{{jr/sr and state{{{1}}}}}}</div>
<!--------Minority Leader (State Senate)--------->
{{!}}-
| header15 = {{#if:{{{minority_leader|}}}|{{{minority_leader}}} [[Minority Leader of the {{{state_senate}}} Senate]]
}}
}}
{{#if:{{{state_senate{{{1}}}|}}}|
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold">Member of the [[{{{state_senate{{{1}}}}}} Senate]]<br />from the {{{district{{{1}}}}}} district{{#if:{{{prior_term{{{1}}}|}}}|
<!--------Minority Floor Leader (State Senate)--------->
<br /><small>{{{prior_term{{{1}}}}}}</small>}}
| header16 = {{#if:{{{minority_floor_leader|}}}|{{{minority_floor_leader}}} [[Minority Floor Leader of the {{{state_senate}}} Senate]]
</div>
{{!}}-
}}
}}
{{#if:{{{state_legislature{{{1}}}|}}}|
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold">Member of the [[{{{state_legislature{{{1}}}}}} Legislature]]<br />from the {{{district{{{1}}}}}} district</div>
<!--------Congressman--------->
{{!}}-
| header17 = {{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}||
{{#if:{{#if:{{{state|}}}|{{{constituency|}}}}}{{{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}}}{{#if:{{{district|}}}|'s}}}}}}
  }} {{#if:{{{district|}}}|{{{district}}} district}}{{#if:{{{prior_term|}}}|
<br />{{{prior_term}}}}}
}}
}}
}}
}}
{{#if:{{{{{#if:{{{ambassador_from{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}|}}}||
 
{{#if:{{{order{{{1}}}|}}} |
<!--------Convocation--------->
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!--
| header18 = {{#if:{{{convocation|}}}|{{{convocation}}}}}
--><div style="background:lavender;">{{{order{{{1}}}}}}<!--
 
-->{{#if:{{{office{{{1}}}|}}} |&nbsp;[[{{{office{{{1}}}}}}]]}}<!--
<!--------Term--------->
-->{{#if:{{{state{{{1}}}|}}}  |&nbsp;[[{{{state{{{1}}}}}}]]}}<!--
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}|
-->{{#if:{{{title{{{1}}}|}}} |&nbsp;{{{title{{{1}}}}}}}}<!--
{{#if:{{{status|}}}
--></div>
  | <div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}|
{{!}}-|
{{#if:{{{office{{{1}}}|}}}|
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background:lavender; font-weight:bold">{{{office{{{1}}}}}}</div>
{{!}}-
}}
}}
{{#if:{{{title{{{1}}}|}}}|
 
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background:lavender; font-weight:bold">{{{title{{{1}}}}}}</div>
| 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{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}|}}}|
| data21 = {{#if:{{{nominee|}}}{{{candidate|}}}||
{{#if:{{{country{{{1}}}|}}}|
{{#if:{{{succeeding|}}}
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{order{{{1}}}|}}}|{{{order{{{1}}}}}}}} [[{{{{{#if:{{{ambassador_from{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}}}} Ambassador to {{{country{{{1}}}}}}{{#if:{{{minister_from{{{1}}}|}}}|{{!}}{{{minister_from{{{1}}}}}} Minister to {{{country{{{1}}}}}}}}]]</div>
  |  
{{!}}-
  |{{#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_{{#if:{{{constituency_AM{{{1}}}|}}}|AM|MP}}{{{1}}}|}}}|
        }}
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#ifeq:{{{parliament{{{1}}}|}}}|Ireland|[[Teachta Dála]]|{{#if:{{{constituency_AM{{{1}}}|}}}|{{#if:{{{assembly{{{1}}}|}}}|Member of the [[{{{assembly{{{1}}}}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament{{{1}}}|}}}|the [[{{{parliament{{{1}}}}}} Parliament]]|Parliament}}}}}}<br />for {{{constituency_{{#if:{{{constituency_AM{{{1}}}|}}}|AM|MP}}{{{1}}}}}}</div>
    }}
{{!}}-
}} }}
}}
 
{{#if:{{{riding{{{1}}}|}}}|
| data22 = {{#if:{{{nominee|}}}{{{candidate|}}}||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM{{{1}}}|}}}|{{#if:{{{assembly{{{1}}}|}}}|Member of the [[{{{assembly{{{1}}}}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament{{{1}}}|}}}|the [[{{{parliament{{{1}}}}}} Parliament]]|Parliament}}}}<br />for {{{riding{{{1}}}}}}</div>
{{#if:{{{succeeding|}}}
{{!}}-
  |  
}}
  |{{#if:{{{termstart|}}}
<!----------Majority Leader (State Senate)---------->
      |{{#if:{{{termend|}}}
{{#if:{{{majority_leader{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{majority_leader{{{1}}}}}} [[Majority Leader of the {{{state_senate{{{1}}}}}} Senate|Majority Leader of the {{{state_senate{{{1}}}}}} Senate]]</div>
{{!}}-
}}
<!----------Majority Floor Leader (State Senate)---------->
{{#if:{{{majority_floor_leader{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{majority_floor_leader{{{1}}}}}} [[Majority Floor Leader of the {{{state_senate{{{1}}}}}} Senate|Majority Floor Leader of the {{{state_senate{{{1}}}}}} Senate]]</div>
{{!}}-
}}
<!----------Minority Leader (State Senate)---------->
{{#if:{{{minority_leader{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{minority_leader{{{1}}}}}} [[Minority Leader of the {{{state_senate{{{1}}}}}} Senate|Minority Leader of the {{{state_senate{{{1}}}}}} Senate]]</div>
{{!}}-
}}
<!----------Minority Floor Leader (State Senate)---------->
{{#if:{{{minority_floor_leader{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{minority_floor_leader{{{1}}}}}} [[Minority Floor Leader of the {{{state_senate{{{1}}}}}} Senate|Minority Floor Leader of the {{{state_senate{{{1}}}}}} Senate]]</div>
{{!}}-
}}
<!----------Majority Leader---------->
{{#if:{{{majorityleader{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">{{{majorityleader{{{1}}}}}} [[United States Senate Majority Leader]]</div>
{{!}}-
}}
<!----------Congressman---------->
{{#if:{{{state_legislature{{{1}}}|}}}{{{state_senate{{{1}}}|}}}{{{jr/sr{{{1}}}|}}}{{{jr/sr and state{{{1}}}|}}}||
{{#if:{{{district{{{1}}}|}}}|
{{#if:{{{succeeding{{{1}}}|}}}|{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">Member-elect of the [[United States House of Representatives|U.S.&nbsp;House&nbsp;of&nbsp;Representatives]]{{#if:{{{state{{{1}}}|}}}|&nbsp;from<br />{{{state{{{1}}}}}}'s {{{district{{{1}}}}}}}}&nbsp;district
{{!}}-|{{#if:{{{state_assembly{{{1}}}|}}}|
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender;">Member of the [[{{{state_assembly{{{1}}}|}}} {{#ifeq:{{{state_assembly{{{1}}}|}}}|Nevada||{{#ifeq:{{{state_assembly{{{1}}}|}}}|New Jersey|General|State}}}} Assembly]]<br />from {{#if:{{{state_assembly{{{1}}}|}}}|the {{{district{{{1}}}}}}}} district</div>
{{!}}-
|{{#if:{{{district{{{1}}}|}}}|
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">Member of the [[{{#if:{{{state_house{{{1}}}|}}} |{{{state_house{{{1}}}}}}|{{#if:{{{state_delegate{{{1}}}|}}}|{{{state_delegate{{{1}}}}}}|United States }}}} {{#if:{{{state_delegate{{{1}}}|}}}|House of Delegates|House of Representatives}}|{{#if:{{{state_house{{{1}}}|}}} |{{{state_house{{{1}}}}}}|{{#if:{{{state_delegate{{{1}}}|}}}|{{{state_delegate{{{1}}}}}}|U.S.}}}}&nbsp;{{#if:{{{state_delegate{{{1}}}|}}}|House&nbsp;of&nbsp;Delegates|{{#if:{{{state_house{{{1}}}|}}}| }}House&nbsp;of&nbsp;Representatives}}]]<br />from {{#if:{{{state_delegate{{{1}}}|}}}|the |{{#if:{{{state_house{{{1}}}|}}}|the |{{{state{{{1}}}}}}'s}}}} {{{district{{{1}}}}}} district{{#if:{{{prior_term{{{1}}}|}}}|
<br /><small>{{{prior_term{{{1}}}}}}</small>}}
</div>
{{!}}-
}}
}}
}}
}}
}}
<!----------Term---------->
{{#if:{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}||
{{#if:{{{succeeding{{{1}}}|}}}|
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''Taking&nbsp;office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}
{{!}}-
|{{#if: {{{term{{{1}}}|}}}|
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''In&nbsp;office'''<br />{{{term{{{1}}}}}}
{{!}}-
}}
{{#if:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}|}}}|
{{#if:{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}|}}}
|<!--then term has start and end:-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''In&nbsp;office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}{{#iferror:{{#expr:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}*{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}}}|&nbsp;&ndash;&nbsp;|&ndash;}}{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co&ndash;leading}}&nbsp;with&nbsp;{{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}}
{{!}}-
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!}}-
}}
{{#if:{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}|}}}
|<!--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;"{{!}}'''Assumed&nbsp;office&nbsp;'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co&ndash;leader}}&nbsp;with&nbsp;{{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}}
      }}
{{!}}-
  }}
}}
}} }}
}}
 
}}
}} }}<!--
}}
  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{{{1}}}|}}}|
{{#invoke:infobox|infoboxTemplate|child=yes
! Monarch
| labelstyle = text-align:left
{{!}} {{{monarch{{{1}}}}}}
 
{{!}}-
| label1 = <span class="nowrap">Nominated by</span>
}}
| data1 = {{{nominator|}}}
{{#if:{{{president{{{1}}}|}}}|
 
! President
| label2 = <span class="nowrap">Appointed by</span>
{{!}} {{{president{{{1}}}}}}
| data2 = {{{appointer|}}}
{{!}}-
 
}}
<!--------President, Prime Minister, Governor--------->
{{#if:{{{governor{{#if:{{{governor-general{{{1}}}|}}}|-|_}}general{{{1}}}|}}}|
| label3 = Monarch
! Governor{{#if:{{{governor-general{{{1}}}|}}}|&ndash;|&nbsp;}}General
| data3 = {{{monarch|}}}
{{!}} {{{governor{{#if:{{{governor-general{{{1}}}|}}}|-|_}}general{{{1}}}}}}
 
{{!}}-
| label4 = President
}}
| data4 = {{{president|}}}
{{#if:{{{primeminister{{{1}}}|}}}|
 
! Prime&nbsp;Minister
| label5 = {{#if:{{{governor_general|}}}|Governor General|Governor-General}}
{{!}} {{{primeminister{{{1}}}}}}
| data5 = {{#if:{{{governor_general|}}}|{{{governor_general}}}|{{{governor-general|}}}}}
{{!}}-
 
}}
| label6 = <span class="nowrap">Prime Minister</span>
{{#if:{{{chancellor{{{1}}}|}}}|
| data6 = {{{primeminister|}}}
! Chancellor
 
{{!}} {{{chancellor{{{1}}}}}}
| label7 = Chancellor
{{!}}-
| data7 = {{{chancellor|}}}
}}
 
{{#if:{{{taoiseach{{{1}}}|}}}|
| label8 = Minister
! Taoiseach
| data8 = {{{minister|}}}
{{!}} {{{taoiseach{{{1}}}}}}
 
{{!}}-
| label9 = Taoiseach
}}
| data9 = {{{taoiseach|}}}
{{#if:{{{firstminister{{{1}}}|}}}|
 
! First&nbsp;Minister
| label10 = <span class="nowrap">First Minister</span>
{{!}} {{{firstminister{{{1}}}}}}
| data10 = {{{firstminister|}}}
{{!}}-
 
}}
| label11 = <span class="nowrap">Chief Minister</span>
{{#if:{{{chiefminister{{{1}}}|}}}|
| data11 = {{{chiefminister|}}}
! Chief&nbsp;Minister
 
{{!}} {{{chiefminister{{{1}}}}}}
| label12 = Premier
{{!}}-
| data12 = {{{premier|}}}
}}
 
{{#if:{{{premier{{{1}}}|}}}|
| label13 = Governor
! Premier
| data13 = {{{governor|}}}
{{!}} {{{premier{{{1}}}}}}
 
{{!}}-
| label14 = Lieutenant Governor
}}
| data14 = {{{lieutenant_governor|}}}
{{#if:{{{governor{{{1}}}|}}}|
 
! Governor
<!--------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s--------->
{{!}} {{{governor{{{1}}}}}}
| label15 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice President]]|Vice President}}|Vice President}}</span>
{{!}}-
| data15 = {{{vicepresident|}}}
}}
 
{{#if:{{{lieutenant_governor{{{1}}}|}}}|
| label16 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice Governor]]|Vice Governor}}|Vice Governor}}</span>
! Lieutenant&nbsp;Governor
| data16 = {{{vicegovernor|}}}
{{!}} {{{lieutenant_governor{{{1}}}}}}
 
{{!}}-
| label17 = <span class="nowrap">{{#if:{{{office|}}}|[[Vice {{{office}}}|Vice PM]]|Vice [[Prime Minister|PM]]}}</span>
}}
| data17 = {{{viceprimeminister|}}}
<!---------- Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
 
{{#if:{{{vicepresident{{{1}}}|}}}|
| label18 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}|Vice Premier]]|Vice Premier}}|Vice Premier}}</span>
! {{#if:{{{office{{{1}}}|}}}|{{#ifeq:{{isValidPageName|Vice {{{office{{{1}}}}}}}}|valid|[[Vice {{{office{{{1}}}}}}|Vice&nbsp;President]]|Vice&nbsp;President}}|Vice&nbsp;President}}
| data18 = {{{vicepremier|}}}
{{!}} {{{vicepresident{{{1}}}}}}
 
{{!}}-
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
}}
| data19 = {{{deputy|}}}
{{#if:{{{vicegovernor{{{1}}}|}}}|
 
! {{#if:{{{office{{{1}}}|}}}|{{#ifeq:{{isValidPageName|Vice {{{office{{{1}}}}}}}}|valid|[[Vice {{{office{{{1}}}}}}|Vice&nbsp;Governor]]|Vice&nbsp;Governor}}|Vice&nbsp;Governor}}
| label20 = Leader
{{!}} {{{vicegovernor{{{1}}}}}}
| data20 = {{{leader|}}}
{{!}}-
 
}}
| label21 = {{#if:{{{office|}}}|[[Lieutenant {{{office}}}|Lieutenant]]|Lieutenant}}
{{#if:{{{viceprimeminister{{{1}}}|}}}|
| data21 = {{{lieutenant|}}}
! {{#if:{{{office{{{1}}}|}}}|[[Vice {{{office{{{1}}}}}}|Vice&nbsp;PM]]|Vice&nbsp;[[Prime Minister|PM]]}}
 
{{!}} {{{viceprimeminister{{{1}}}}}}
| label22 = {{nowrap|{{{subterm|}}}}}
{{!}}-
| data22 = {{{suboffice|}}}
}}
 
{{#if:{{{vicepremier{{{1}}}|}}}|
<!--------Blank fields--------->
! {{#if:{{{office{{{1}}}|}}}|{{#ifeq:{{isValidPageName|Vice {{{office{{{1}}}}}}}}|valid|[[Vice {{{office}}}|Vice&nbsp;Premier]]|Vice&nbsp;Premier}}|Vice&nbsp;Premier}}
| label23 = {{{1blankname|}}}
{{!}} {{{vicepremier{{{1}}}}}}
| data23 = {{{1namedata|}}}
{{!}}-
 
}}
| label24 = {{{2blankname|}}}
{{#if:{{{deputy{{{1}}}|}}}|
| data24 = {{{2namedata|}}}
! {{#if:{{{office{{{1}}}|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office{{{1}}}}}}}}|valid|[[Deputy {{{office{{{1}}}}}}|Deputy]]|Deputy}}|Deputy}}
 
{{!}} {{{deputy{{{1}}}}}}
| label25 = {{{3blankname|}}}
{{!}}-
| data25 = {{{3namedata|}}}
}}
 
{{#if:{{{leader{{{1}}}|}}}|
| label26 = {{{4blankname|}}}
! Leader
| data26 = {{{4namedata|}}}
{{!}} {{{leader{{{1}}}}}}
 
{{!}}-
| label27 = {{{5blankname|}}}
}}
| data27 = {{{5namedata|}}}
{{#if:{{{lieutenant{{{1}}}|}}}|
 
! {{#if:{{{office{{{1}}}|}}}|[[Lieutenant {{{office{{{1}}}}}}|Lieutenant]]|Lieutenant}}
<!--------Predecessor/successor--------->
{{!}} {{{lieutenant{{{1}}}}}}
| label28 = <span class="nowrap">Running mate</span>
{{!}}-
| data28 = {{{runningmate|}}}
}}
 
{{#if:{{{nominator{{{1}}}|}}}|
| label29 = Opponent(s)
! Nominated&nbsp;by
| data29 = {{{opponent|}}}
{{!}} {{{nominator{{{1}}}}}}
 
{{!}}-
| label30 = Incumbent
}}
| data30 = {{{incumbent|}}}
{{#if:{{{appointe{{#if:{{{appointer{{{1}}}|}}}|r|d}}{{{1}}}|}}}|
 
! Appointed&nbsp;by
| label31 = {{#if:{{{succeeding|}}}|Succeeding|Preceding}}
{{!}} {{{appointe{{#if:{{{appointer{{{1}}}|}}}|r|d}}{{{1}}}}}}
| data31 = {{#if:{{{succeeding|}}}|{{{succeeding|}}}|{{{preceding|}}}}}
{{!}}-
 
}}
| label32 = <span class="nowrap">Preceded by</span>
<!---------- Blank fields ---------->
| data32 = {{#if:{{{succeeding|}}}||{{#if:{{{predecessor|}}}|{{{predecessor}}}|{{{preceded|}}}}}}}
{{#if:{{{1namedata{{{1}}}|}}}|
 
! {{{1blankname{{{1}}}|}}}
| label33 = <span class="nowrap">Succeeded by</span>
{{!}} {{{1namedata{{{1}}}}}}
| data33 = {{#if:{{{succeeding|}}}||{{#switch:{{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}}
{{!}}-
}}
{{#if:{{{2namedata{{{1}}}|}}}|
! {{{2blankname{{{1}}}|}}}
{{!}} {{{2namedata{{{1}}}}}}
{{!}}-
}}
{{#if:{{{3namedata{{{1}}}|}}}|
! {{{3blankname{{{1}}}|}}}
{{!}} {{{3namedata{{{1}}}}}}
{{!}}-
}}
{{#if:{{{4namedata{{{1}}}|}}}|
! {{{4blankname{{{1}}}|}}}
{{!}} {{{4namedata{{{1}}}}}}
{{!}}-
}}
{{#if:{{{5namedata{{{1}}}|}}}|
! {{{5blankname{{{1}}}|}}}
{{!}} {{{5namedata{{{1}}}}}}
{{!}}-
}}
<!----------Predecessor/successor---------->
{{#if:{{{runningmate{{{1}}}|}}}|
! Running&nbsp;mate
{{!}} {{{runningmate{{{1}}}}}}
{{!}}-
}}
{{#if:{{{opponent{{{1}}}|}}}|
! Opponent(s)
{{!}} {{{opponent{{{1}}}}}}
{{!}}-
}}
{{#if:{{{incumbent{{{1}}}|}}}|
! Incumbent
{{!}} {{{incumbent{{{1}}}}}}
{{!}}-
}}
{{#if:{{{succeeding{{{1}}}|}}}|
! Succeeding
{{!}} {{{succeeding{{{1}}}}}}
{{!}}-
|{{#if:{{{preceding{{{1}}}|}}}|
! Preceding
{{!}} {{{preceding{{{1}}}}}}
{{!}}-
}}
{{#if:{{{{{#if:{{{predecessor{{{1}}}|}}}|predecessor|preceded}}{{{1}}}|}}} |
! Preceded&nbsp;by
{{!}} {{{{{#if:{{{predecessor{{{1}}}|}}}|predecessor|preceded}}{{{1}}}|}}}
{{!}}-
}}
{{#switch:{{{{{#if:{{{successor{{{1}}}|}}}|successor|succeeded}}{{{1}}}|}}}
| Incumbent
| Incumbent
| '''Incumbent'''
| '''Incumbent'''
Line 315: Line 263:
| ''incumbent''
| ''incumbent''
| [[incumbent]] =
| [[incumbent]] =
|{{#if:{{{{{#if:{{{successor{{{1}}}|}}}|successor|succeeded}}{{{1}}}|}}} |
| #default = {{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}}
! Succeeded&nbsp;by
{{!}} {{{{{#if:{{{successor{{{1}}}|}}}|successor|succeeded}}{{{1}}}|}}} }}
{{!}}-
}}}}
}}}}
<!-----Constituency----->
<!--------Constituency/Majority--------->
{{#if:{{{constituency{{{1}}}|}}}|
| label34 = [[Parliamentary group]]
! Constituency
| data34 = {{{parliamentarygroup|}}}
{{!}} {{{constituency{{{1}}}}}}
 
{{!}}-
| label35 = Constituency
}}
| data35 = {{{constituency|}}}
<!-----Majority----->
 
{{#if:{{{majority{{{1}}}|}}}|
| label36 = Majority
! Majority
| data36 = {{{majority|}}}
{{!}} {{{majority{{{1}}}}}}
}} }}<noinclude>{{documentation}}</noinclude>
{{!}}-
}}</includeonly>

Latest revision as of 12:34, 5 February 2024

[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]] Template documentation