Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(fix row numbering)
(add assumed office label for incumbents)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
{{infobox
| headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em;
| datastyle = border-bottom:none
| abovestyle = font-size: 100%;
| abovestyle = font-size: 100%;
| above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<!--
| above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<!--
Line 14: Line 16:
| label4 = Member of
| label4 = Member of
| data4 = {{{organizations|}}}
| data4 = {{{organizations|}}}
| label5 = Former member of
| label5 = Past member of
| data5 = {{{past_organizations|}}}
| data5 = {{{past_organizations|}}}
| header6 = {{#if:{{{order|}}}  
| header6 = {{#if:{{{order|}}}  
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}
|{{{office|}}}}}
|{{{office|}}}}}
| data6 = {{#if:{{{termstart|}}}
| data7 = {{#if:{{{termstart|}}}
       | {{#if:{{{termend|}}}
       | {{#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>}}
         |<!--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>}}
Line 25: Line 27:
         }}
         }}
     }}
     }}
| label7 = Prime Minister
| data8 = {{#if:{{{termstart|}}}
| data7 = {{{prime_minister|}}}
      |{{#if:{{{termend|}}}
| label8 = Delegate
|<!--then nothing else; term has ended-->
| data8 = {{{delegate|}}}
|<!--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>}}
| label9 = Emperor
      }}
| data9 = {{{emperor|}}}
  }}
| label10 = President
| label9 = Prime Minister
| data10 = {{{president|}}}
| data9 = {{{prime_minister|}}}
| label11 = {{{superior_title|Superior}}}
| label10 = Delegate
| data11 = {{{superior|}}}
| data10 = {{{delegate|}}}
| label12 = {{{superior_title2|Superior}}}
| label11 = Emperor
| data12 = {{{superior2|}}}
| data11 = {{{emperor|}}}
| label13 = {{{superior_title3|Superior}}}
| label12 = President
| data13 = {{{superior3|}}}
| data12 = {{{president|}}}
| label14 = {{{superior_title4|Superior}}}
| label13 = {{{superior_title|Superior}}}
| data14 = {{{superior4|}}}
| data13 = {{{superior|}}}
| label15 = {{{superior_title5|Superior}}}
| label14 = {{{superior_title2|Superior}}}
| data15 = {{{superior5|}}}
| data14 = {{{superior2|}}}
| label16 = {{{superior_title6|Superior}}}
| label15 = {{{superior_title3|Superior}}}
| data16 = {{{superior6|}}}
| data15 = {{{superior3|}}}
| label17 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| label16 = {{{superior_title4|Superior}}}
| data17 = {{{deputy|}}}
| data16 = {{{superior4|}}}
| label18 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| label17 = {{{superior_title5|Superior}}}
| data18 = {{{assistant|}}}
| data17 = {{{superior5|}}}
| label19 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| label18 = {{{superior_title6|Superior}}}
| data19 = {{{vice_office|}}}
| data18 = {{{superior6|}}}
| label20 = {{{subordinate_title|Subordinate}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| data20 = {{{subordinate|}}}
| data19 = {{{deputy|}}}
| label21 = {{{subordinate_title2|Subordinate}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data21 = {{{subordinate2|}}}
| data20 = {{{assistant|}}}
| label22 = {{{subordinate_title3|Subordinate}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data22 = {{{subordinate3|}}}
| data21 = {{{vice_office|}}}
| label23 = {{{subordinate_title4|Subordinate}}}
| label22 = {{{subordinate_title|Subordinate}}}
| data23 = {{{subordinate4|}}}
| data22 = {{{subordinate|}}}
| label24 = {{{subordinate_title5|Subordinate}}}
| label23 = {{{subordinate_title2|Subordinate}}}
| data24 = {{{subordinate5|}}}
| data23 = {{{subordinate2|}}}
| label25 = {{{subordinate_title6|Subordinate}}}
| label24 = {{{subordinate_title3|Subordinate}}}
| data25 = {{{subordinate6|}}}
| data24 = {{{subordinate3|}}}
| label26 = Preceded by
| label25 = {{{subordinate_title4|Subordinate}}}
| data26 = {{{predecessor|}}}
| data25 = {{{subordinate4|}}}
| label27 = Succeeded by
| label26 = {{{subordinate_title5|Subordinate}}}
| data27 = {{{successor|}}}
| data26 = {{{subordinate5|}}}
| label27 = {{{subordinate_title6|Subordinate}}}
| data27 = {{{subordinate6|}}}
| label28 = Preceded by
| data28 = {{{predecessor|}}}
| label29 = Succeeded by
| data29 = {{{successor|}}}
}}
}}

Latest revision as of 17:15, 27 January 2022

Infobox regional officeholder
Personal details