Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(syntax)
(add assumed office label for incumbents)
 
(3 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 9: Line 11:
| header1 = Personal details
| header1 = Personal details
| label2 = Founded
| label2 = Founded
| data3 = {{{founded|}}}
| data2 = {{{founded|}}}
| label4 = Also known as
| label3 = Also known as
| data5 = {{{aliases|}}}
| data3 = {{{aliases|}}}
| label6 = Member of
| label4 = Member of
| data7 = {{{organizations|}}}
| data4 = {{{organizations|}}}
| label8 = Former member of
| label5 = Past member of
| data9 = {{{past_organizations|}}}
| data5 = {{{past_organizations|}}}
| header10 = {{#if:{{{order|}}}  
| header6 = {{#if:{{{order|}}}  
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}
|{{{office|}}}}}
|{{{office|}}}}}
| data11 = {{#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:
         }}
         }}
     }}
     }}
| label12 = Prime Minister
| data8 = {{#if:{{{termstart|}}}
| data13 = {{{prime_minister|}}}
      |{{#if:{{{termend|}}}
| label14 = Delegate
|<!--then nothing else; term has ended-->
| data15 = {{{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>}}
| label16 = Emperor
      }}
| data17 = {{{emperor|}}}
  }}
| label18 = President
| label9 = Prime Minister
| data19 = {{{president|}}}
| data9 = {{{prime_minister|}}}
| label20 = {{{superior_title|Superior}}}
| label10 = Delegate
| data21 = {{{superior|}}}
| data10 = {{{delegate|}}}
| label22 = {{{superior_title2|Superior}}}
| label11 = Emperor
| data23 = {{{superior2|}}}
| data11 = {{{emperor|}}}
| label24 = {{{superior_title3|Superior}}}
| label12 = President
| data25 = {{{superior3|}}}
| data12 = {{{president|}}}
| label26 = {{{superior_title4|Superior}}}
| label13 = {{{superior_title|Superior}}}
| data27 = {{{superior4|}}}
| data13 = {{{superior|}}}
| label28 = {{{superior_title5|Superior}}}
| label14 = {{{superior_title2|Superior}}}
| data29 = {{{superior5|}}}
| data14 = {{{superior2|}}}
| label30 = {{{superior_title6|Superior}}}
| label15 = {{{superior_title3|Superior}}}
| data31 = {{{superior6|}}}
| data15 = {{{superior3|}}}
| label32 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| label16 = {{{superior_title4|Superior}}}
| data33 = {{{deputy|}}}
| data16 = {{{superior4|}}}
| label34 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| label17 = {{{superior_title5|Superior}}}
| data35 = {{{assistant|}}}
| data17 = {{{superior5|}}}
| label36 = <span class="nowrap">{{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Vice {{{office}}}}}|valid|[[Vice {{{office}}}]]|Vice {{{office}}}}}|Vice {{{office}}}}}</span>
| label18 = {{{superior_title6|Superior}}}
| data37 = {{{vice_office|}}}
| data18 = {{{superior6|}}}
| label38 = {{{subordinate_title|Subordinate}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| data39 = {{{subordinate|}}}
| data19 = {{{deputy|}}}
| label40 = {{{subordinate_title2|Subordinate}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data41 = {{{subordinate2|}}}
| data20 = {{{assistant|}}}
| label42 = {{{subordinate_title3|Subordinate}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data43 = {{{subordinate3|}}}
| data21 = {{{vice_office|}}}
| label44 = {{{subordinate_title4|Subordinate}}}
| label22 = {{{subordinate_title|Subordinate}}}
| data45 = {{{subordinate4|}}}
| data22 = {{{subordinate|}}}
| label46 = {{{subordinate_title5|Subordinate}}}
| label23 = {{{subordinate_title2|Subordinate}}}
| data47 = {{{subordinate5|}}}
| data23 = {{{subordinate2|}}}
| label48 = {{{subordinate_title6|Subordinate}}}
| label24 = {{{subordinate_title3|Subordinate}}}
| data49 = {{{subordinate6|}}}
| data24 = {{{subordinate3|}}}
| label50 = Preceded by
| label25 = {{{subordinate_title4|Subordinate}}}
| data51 = {{{predecessor|}}}
| data25 = {{{subordinate4|}}}
| label52 = Succeeded by
| label26 = {{{subordinate_title5|Subordinate}}}
| data53 = {{{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