Template:Infobox officeholder/office: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#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|}}} | {{#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|}}}{{{assuming|}}}{{{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|}}} | ||
|{{infobox|child=yes|decat=yes | |{{#invoke:infobox|infoboxTemplate|child=yes|decat=yes | ||
| headerstyle = background:{{{color|lavender}}} | | headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em; | ||
| datastyle = border-bottom:none | | datastyle = border-bottom:none | ||
Line 13: | Line 13: | ||
}} | }} | ||
}}{{#if:{{{prior_term|}}}| | }}{{#if:{{{prior_term|}}}| | ||
<br / | <br />{{{prior_term}}}}} | ||
}} | }} | ||
Line 19: | Line 19: | ||
| header2 = {{#if:{{{nominee|}}}{{{candidate|}}}| | | header2 = {{#if:{{{nominee|}}}{{{candidate|}}}| | ||
{{#if:{{{party_election|}}}{{{party|}}} | {{#if:{{{party_election|}}}{{{party|}}} | ||
|{{#if:{{{party_election|}}}|{{{party_election}}}|{{{party}}}}} {{#if:{{{nominee|}}}|nominee for<br>{{{nominee}}}|candidate for<br>{{{candidate}}}}} | |{{#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}}}}} | |{{#if:{{{nominee|}}}|Nominee for<br />{{{nominee}}}|Candidate for<br />{{{candidate}}}}} | ||
}} }} | }} }} | ||
| data3 = {{#if:{{{nominee|}}}{{{candidate|}}}| | | data3 = {{#if:{{{nominee|}}}{{{candidate|}}}| | ||
{{#if:{{{termstart|}}}{{{election_date|}}} | | {{#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|}}}|| | | 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#Senior/Junior U.S. Senators]]{{{jr/sr}}}-->United States Senator{{#if:{{{succeeding|}}} |-elect}}]]<br />from {{{state}}} | {{#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|}}}{{{assuming|}}}|-elect}}]]<br />from {{{state}}} | ||
}} }} | }} }} | ||
Line 36: | Line 36: | ||
| header6 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}|| | | 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|}}}| | {{#if:{{{state_senate|}}}|Member{{#if:{{{succeeding|}}}{{{assuming|}}}|-elect}} of the <span style="display: inline-block;">[[{{{state_senate}}} Senate]]</span>{{#if:{{{district|}}}|<br />from the {{{district}}} district}}{{#if:{{{prior_term|}}}| | ||
<br / | <br />{{{prior_term}}}}} | ||
}} }} | }} }} | ||
| header7 = {{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}|| | | 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 | {{#if:{{{state_legislature|}}}|Member{{#if:{{{succeeding|}}}{{{assuming|}}}|-elect}} of the <span style="display: inline-block;">[[{{{state_legislature}}} Legislature]]</span><br />from the {{{district}}} district | ||
}} }} | }} }} | ||
Line 58: | Line 58: | ||
| header10 = {{#if:{{both|{{{ambassador_from|}}}{{{minister_from|}}}|{{{country|}}}}} | | header10 = {{#if:{{both|{{{ambassador_from|}}}{{{minister_from|}}}|{{{country|}}}}} | ||
|{{#if:{{{order|}}}|{{{order}}}}} {{#if:{{{minister_from|}}} | |{{#if:{{{order|}}}|{{{order}}}}} {{#if:{{{minister_from|}}} | ||
|[[{{{minister_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}|{{{minister_from}}} Minister to {{CountryPrefixThe|{{{country}}}}}]] | |[[{{{minister_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}|{{{minister_from}}} Minister to <span class="nowrap">{{CountryPrefixThe|{{{country}}}}}</span>]] | ||
|[[{{{ambassador_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}]] | |[[{{{ambassador_from}}} Ambassador to {{CountryPrefixThe|{{{country}}}}}|{{{ambassador_from}}} Ambassador to <span class="nowrap">{{CountryPrefixThe|{{{country}}}}}</span>]] | ||
}} [[Category:Pages using infobox officeholder with ambassador from or minister from]] | }} [[Category:Pages using infobox officeholder with ambassador from or minister from]] | ||
}} | }} | ||
Line 65: | Line 65: | ||
<!--------MP---------> | <!--------MP---------> | ||
| header11 = {{#if:{{{constituency_AM|}}}{{{constituency_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]] | |||
|Scottish = [[Member of the Scottish Parliament]] | |||
|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|{{#invoke:delink|delink|{{{constituency_MP|}}}}} (UK Parliament constituency)}} }} | |||
|{{#if:{{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}} | |||
|{{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}} | |||
|{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}}} | |||
|{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}}} | |||
}}{{#if:{{{prior_term|}}}| | |||
<div style="font-weight:normal;">{{{prior_term}}}</div>}} | |||
}} | }} | ||
| 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}}} | | header12 = {{#if:{{{riding|}}}|{{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the <span style="display: inline-block;">[[{{{assembly}}} Assembly]]</span>|Assembly Member}}| | ||
{{#switch:{{{parliament|}}} | |||
|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}}} | |||
}} | }} | ||
Line 88: | Line 105: | ||
<!--------Congressman---------> | <!--------Congressman---------> | ||
| header17 = {{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}|| | | header17 = {{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}|| | ||
{{#if:{{{district|}}}|{{#if:{{{state_assembly|}}} | {{#if:{{#if:{{{state|}}}|{{{constituency|}}}}}{{{district|}}}{{{state_house|}}}|{{#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|}}}{{{assuming|}}}|-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.}}}} {{#if:{{{state_delegate|}}}|House of Delegates|{{#if:{{{state_house|}}}| }}House of Representatives}}]]</span><br />from {{#if:{{{state_delegate|}}}|the |{{#if:{{{state_house|}}}|the |{{{state}}}'s}}}} | |Member{{#if:{{{succeeding|}}}{{{assuming|}}}|-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.}}}} {{#if:{{{state_delegate|}}}|House of Delegates|{{#if:{{{state_house|}}}| }}House of Representatives}}]]</span>{{#if:{{{district|}}}{{{state|}}}{{{state_delegate|}}}|<br />from {{#if:{{{state_delegate|}}}|the |{{#if:{{{state_house|}}}|{{#if:{{{district|}}}|the|{{{state|}}}}}|{{{state|}}}{{#if:{{{district|}}}|'s}}}}}} | ||
}} {{{district}}} district{{#if:{{{prior_term|}}}| | }}}} {{#if:{{{district|}}}|{{{district}}} district|{{#if:{{{state_house|}}}|{{{constituency|}}}}}}}{{#if:{{{prior_term|}}}| | ||
<br / | <br />{{{prior_term}}}}} | ||
}} | }} | ||
}} | }} | ||
Line 100: | Line 117: | ||
<!--------Term---------> | <!--------Term---------> | ||
| data19 = {{#if:{{{nominee|}}}{{{candidate|}}}|| | | data19 = {{#if:{{{termend|}}}{{{succeeding|}}}{{{assuming|}}}| | ||
{{#if:{{{succeeding|}}} | {{#if:{{{status|}}} | ||
| | | <div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}| | ||
| {{#if: {{{term|}}} | | }} | ||
| data20 = {{#if:{{{nominee|}}}{{{candidate|}}}|| | |||
{{#if:{{{succeeding|}}}{{{assuming|}}} | |||
| <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}}} }} | |||
}} }} | }} }} | ||
| | | data21 = {{#if:{{{nominee|}}}{{{candidate|}}}|| | ||
{{#if:{{{succeeding|}}} | {{#if:{{{succeeding|}}}{{{assuming|}}} | ||
| | | | ||
|{{#if:{{{termstart|}}} | |{{#if:{{{termstart|}}} | ||
| {{#if:{{{termend|}}} | | {{#if:{{{termend|}}} | ||
|<!--then: term has start and end:--> | |<!--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}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} | ||
|<!--else: term is ongoing--><div style="width:100%; margin | |{{#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>}} | ||
}} | }} | ||
}} | }} | ||
}} }} | }} }} | ||
| | | data22 = {{#if:{{{nominee|}}}{{{candidate|}}}|| | ||
{{#if:{{{succeeding|}}} | {{#if:{{{succeeding|}}}{{{assuming|}}} | ||
| | | | ||
|{{#if:{{{termstart|}}} | |{{#if:{{{termstart|}}} | ||
|{{#if:{{{termend|}}} | |{{#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|}}}|{{#invoke:String|replace|source={{{termlabel}}}|In office|Assumed office}}|Assumed office}}'''</span> <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} | ||
}} | }} | ||
}} | }} | ||
Line 130: | Line 152: | ||
}} }}<!-- | }} }}<!-- | ||
end infobox1 / start infobox2 | end infobox1 / start infobox2 | ||
-->{{#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|}}}{{{1namedata|}}}{{{2namedata|}}}{{{3namedata|}}}{{{4namedata|}}}{{{5namedata|}}}{{{runningmate|}}}| | -->{{#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|}}}{{{assuming|}}}{{{preceding|}}}{{{predecessor|}}}{{{preceded|}}}{{{successor|}}}{{{succeeded|}}}{{{parliamentarygroup|}}}{{{constituency|}}}{{{majority|}}}{{{suboffice|}}}{{{1namedata|}}}{{{2namedata|}}}{{{3namedata|}}}{{{4namedata|}}}{{{5namedata|}}}{{{runningmate|}}}| | ||
{{infobox|child=yes | {{#invoke:infobox|infoboxTemplate|child=yes | ||
| labelstyle = text-align:left | | labelstyle = text-align:left | ||
| label1 = | | label1 = <span class="nowrap">Nominated by</span> | ||
| data1 = {{{nominator|}}} | | data1 = {{{nominator|}}} | ||
| label2 = | | label2 = <span class="nowrap">Appointed by</span> | ||
| data2 = {{{appointer|}}} | | data2 = {{{appointer|}}} | ||
<!--------President, Prime Minister, Governor---------> | <!--------President, Prime Minister, Governor---------> | ||
| label3 = Monarch | | label3 = Monarch{{#if:{{detect singular|{{{monarch|}}}}}||s}} | ||
| data3 = {{{monarch|}}} | | data3 = {{{monarch|}}} | ||
Line 147: | Line 169: | ||
| data4 = {{{president|}}} | | data4 = {{{president|}}} | ||
| label5 = {{#if:{{{governor_general|}}}|Governor General|Governor-General}} | | label5 = {{#if:{{{governor_general|}}}|Governor{{#if:{{detect singular|{{{governor_general}}}}}||s}} General|Governor{{#if:{{detect singular|{{{governor-general}}}}}||s}}-General}} | ||
| data5 = {{#if:{{{governor_general|}}}|{{{governor_general}}}|{{{governor-general|}}}}} | | data5 = {{#if:{{{governor_general|}}}|{{{governor_general}}}|{{{governor-general|}}}}} | ||
| label6 = | | label6 = <span class="nowrap">Prime Minister</span> | ||
| data6 = {{{primeminister|}}} | | data6 = {{{primeminister|}}} | ||
Line 162: | Line 184: | ||
| data9 = {{{taoiseach|}}} | | data9 = {{{taoiseach|}}} | ||
| label10 = | | label10 = <span class="nowrap">First Minister</span> | ||
| data10 = {{{firstminister|}}} | | data10 = {{{firstminister|}}} | ||
| label11 = | | label11 = <span class="nowrap">Chief Minister</span> | ||
| data11 = {{{chiefminister|}}} | | data11 = {{{chiefminister|}}} | ||
Line 178: | Line 200: | ||
<!--------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------> | <!--------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------> | ||
| label15 = {{ | | label15 = <span class="nowrap">{{#if:{{{vicepresident|}}}|{{#ifeq:{{Linkless exists|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}|{{#ifeq:{{#invoke:Redirect|main|fulltext=1|{{#ifeq:Vice|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}||Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}}}|{{#invoke:Redirect|main|fulltext=1|{{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||{{#if:{{#invoke:Disambiguation|isDisambiguationPage|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||true}} }}|[[Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Vice President]]|Vice President}}|Vice President}}</span> | ||
| data15 = {{{vicepresident|}}} | | data15 = {{{vicepresident|}}} | ||
| label16 = {{ | | label16 = <span class="nowrap">{{#if:{{{vicegovernor|}}}|{{#ifeq:{{Linkless exists|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}|{{#ifeq:{{#invoke:Redirect|main|fulltext=1|{{#ifeq:Vice|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}||Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}}}|{{#invoke:Redirect|main|fulltext=1|{{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||{{#if:{{#invoke:Disambiguation|isDisambiguationPage|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||true}} }}|[[Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Vice Governor]]|Vice Governor}}|Vice Governor}}</span> | ||
| data16 = {{{vicegovernor|}}} | | data16 = {{{vicegovernor|}}} | ||
| label17 = | | label17 = <span class="nowrap">{{#if:{{{viceprimeminister|}}}|[[Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Vice PM]]|Vice [[Prime Minister|PM]]}}</span> | ||
| data17 = {{{viceprimeminister|}}} | | data17 = {{{viceprimeminister|}}} | ||
| label18 = {{ | | label18 = <span class="nowrap">{{#if:{{{vicepremier|}}}|{{#ifeq:{{Linkless exists|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}|{{#ifeq:{{#invoke:Redirect|main|fulltext=1|{{#ifeq:Vice|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}||Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}}}|{{#invoke:Redirect|main|fulltext=1|{{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||{{#if:{{#invoke:Disambiguation|isDisambiguationPage|Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||true}} }}|[[Vice {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Vice Premier]]|Vice Premier}}|Vice Premier}}</span> | ||
| data18 = {{{vicepremier|}}} | | data18 = {{{vicepremier|}}} | ||
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{ | | label19 = {{#if:{{{deputy|}}}|{{#ifeq:{{Linkless exists|Deputy {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}|{{#ifeq:{{#invoke:Redirect|main|fulltext=1|{{#ifeq:Deputy|Deputy {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}||Deputy {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}}}|{{#invoke:Redirect|main|fulltext=1|{{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||{{#if:{{#invoke:Disambiguation|isDisambiguationPage|Deputy {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}}}||true}} }}|[[Deputy {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Deputy]]|Deputy}}|Deputy}} | ||
| data19 = {{{deputy|}}} | | data19 = {{{deputy|}}} | ||
Line 196: | Line 218: | ||
| data20 = {{{leader|}}} | | data20 = {{{leader|}}} | ||
| label21 = {{#if:{{{office|}}}|[[Lieutenant {{{office}}}|Lieutenant]]|Lieutenant}} | | label21 = {{#if:{{{office|}}}|[[Lieutenant {{#invoke:delink|delink|{{{office}}}|wikilinks=target}}|Lieutenant]]|Lieutenant}} | ||
| data21 = {{{lieutenant|}}} | | data21 = {{{lieutenant|}}} | ||
| label22 = {{nowrap|{{{subterm|}}}}} | |||
| data22 = {{{suboffice|}}} | |||
<!--------Blank fields---------> | <!--------Blank fields---------> | ||
| | | label23 = {{{1blankname|}}} | ||
| | | data23 = {{{1namedata|}}} | ||
| | | label24 = {{{2blankname|}}} | ||
| | | data24 = {{{2namedata|}}} | ||
| | | label25 = {{{3blankname|}}} | ||
| | | data25 = {{{3namedata|}}} | ||
| | | label26 = {{{4blankname|}}} | ||
| | | data26 = {{{4namedata|}}} | ||
| | | label27 = {{{5blankname|}}} | ||
| | | data27 = {{{5namedata|}}} | ||
<!--------Predecessor/successor---------> | <!--------Predecessor/successor---------> | ||
| | | label28 = <span class="nowrap">Running mate</span> | ||
| | | data28 = {{{runningmate|}}} | ||
| | | label29 = Opponent{{#invoke:Detect singular|pluralize|{{{opponent|}}}|likely=(s)|plural=s}} | ||
| | | data29 = {{{opponent|}}} | ||
| | | label30 = Incumbent | ||
| | | data30 = {{{incumbent|}}} | ||
| | | label31 = {{#if:{{{succeeding|}}}|Succeeding|Preceding}} | ||
| | | data31 = {{#if:{{{succeeding|}}}|{{{succeeding|}}}|{{{preceding|}}}}} | ||
| label32 = | | label32 = <span class="nowrap">Preceded by</span> | ||
| data32 = {{#if:{{{succeeding|}}}||{{#if:{{{predecessor|}}}|{{{predecessor}}}|{{{preceded|}}}}}}} | | data32 = {{#if:{{{succeeding|}}}||{{#if:{{{predecessor|}}}|{{{predecessor}}}|{{{preceded|}}}}}}} | ||
| label33 = | | label33 = <span class="nowrap">Succeeded by</span> | ||
| data33 = {{#if:{{{succeeding|}}}||{{#switch:{{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}} | | data33 = {{#if:{{{succeeding|}}}||{{#switch:{{#if:{{{successor|}}}|{{{successor}}}|{{{succeeded|}}}}} | ||
| Incumbent | | Incumbent | ||
Line 248: | Line 273: | ||
| label35 = Constituency | | label35 = Constituency | ||
| data35 = {{{constituency|}}} | | data35 = {{#if:{{{state_house|}}}||{{{constituency|}}}}} | ||
| label36 = Majority | | label36 = Majority | ||
| data36 = {{{majority|}}} | | data36 = {{{majority|}}} | ||
}} }}<noinclude>{{documentation}}</noinclude> | }} }}<noinclude>{{documentation}}</noinclude> |