Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(fix ignored data cell warning)
(add assumed office label for incumbents)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{infobox
{{infobox
| heaaderstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em;
| headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em;
| datastyle = border-bottom:none
| datastyle = border-bottom:none
| abovestyle = font-size: 100%;
| abovestyle = font-size: 100%;
Line 27: Line 27:
         }}
         }}
     }}
     }}
| label8 = Prime Minister
| data8 = {{#if:{{{termstart|}}}
| data8 = {{{prime_minister|}}}
      |{{#if:{{{termend|}}}
| label9 = Delegate
|<!--then nothing else; term has ended-->
| data9 = {{{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>}}
| label10 = Emperor
      }}
| data10 = {{{emperor|}}}
  }}
| label11 = President
| label9 = Prime Minister
| data11 = {{{president|}}}
| data9 = {{{prime_minister|}}}
| label12 = {{{superior_title|Superior}}}
| label10 = Delegate
| data12 = {{{superior|}}}
| data10 = {{{delegate|}}}
| label13 = {{{superior_title2|Superior}}}
| label11 = Emperor
| data13 = {{{superior2|}}}
| data11 = {{{emperor|}}}
| label14 = {{{superior_title3|Superior}}}
| label12 = President
| data14 = {{{superior3|}}}
| data12 = {{{president|}}}
| label15 = {{{superior_title4|Superior}}}
| label13 = {{{superior_title|Superior}}}
| data15 = {{{superior4|}}}
| data13 = {{{superior|}}}
| label16 = {{{superior_title5|Superior}}}
| label14 = {{{superior_title2|Superior}}}
| data16 = {{{superior5|}}}
| data14 = {{{superior2|}}}
| label17 = {{{superior_title6|Superior}}}
| label15 = {{{superior_title3|Superior}}}
| data17 = {{{superior6|}}}
| data15 = {{{superior3|}}}
| label18 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| label16 = {{{superior_title4|Superior}}}
| data18 = {{{deputy|}}}
| data16 = {{{superior4|}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| label17 = {{{superior_title5|Superior}}}
| data19 = {{{assistant|}}}
| data17 = {{{superior5|}}}
| label20 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| label18 = {{{superior_title6|Superior}}}
| data20 = {{{vice_office|}}}
| data18 = {{{superior6|}}}
| label21 = {{{subordinate_title|Subordinate}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| data21 = {{{subordinate|}}}
| data19 = {{{deputy|}}}
| label22 = {{{subordinate_title2|Subordinate}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data22 = {{{subordinate2|}}}
| data20 = {{{assistant|}}}
| label23 = {{{subordinate_title3|Subordinate}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data23 = {{{subordinate3|}}}
| data21 = {{{vice_office|}}}
| label24 = {{{subordinate_title4|Subordinate}}}
| label22 = {{{subordinate_title|Subordinate}}}
| data24 = {{{subordinate4|}}}
| data22 = {{{subordinate|}}}
| label25 = {{{subordinate_title5|Subordinate}}}
| label23 = {{{subordinate_title2|Subordinate}}}
| data25 = {{{subordinate5|}}}
| data23 = {{{subordinate2|}}}
| label26 = {{{subordinate_title6|Subordinate}}}
| label24 = {{{subordinate_title3|Subordinate}}}
| data26 = {{{subordinate6|}}}
| data24 = {{{subordinate3|}}}
| label27 = Preceded by
| label25 = {{{subordinate_title4|Subordinate}}}
| data27 = {{{predecessor|}}}
| data25 = {{{subordinate4|}}}
| label28 = Succeeded by
| label26 = {{{subordinate_title5|Subordinate}}}
| data28 = {{{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