Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(expanded general info and fixes for office)
(add assumed office label for incumbents)
 
(10 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>}}<!--
--><div class=""fn"" style=""font-size:125%;"">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div><!--
--><div class="fn" style="font-size:125%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div><!--
-->{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class=""honorific-suffix"" style=""font-weight: normal;"">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}"
-->{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class="honorific-suffix" style="font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| captionstyle = line-height:normal;padding-top:0.2em;
| captionstyle = line-height:normal;padding-top:0.2em;
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| label1 = Founded
| header1 = Personal details
| label2 = Founded
| data2 = {{{founded|}}}
| data2 = {{{founded|}}}
| label3 = Also known as
| label3 = Also known as
| data4 = {{{aliases|}}}
| data3 = {{{aliases|}}}
| label5 = Member of
| label4 = Member of
| data6 = {{{organizations|}}}
| data4 = {{{organizations|}}}
| header7 = {{{order | }}}[[{{{office}}}]]
| label5 = Past member of
| header8 = {{{status|Incumbent}}}
| data5 = {{{past_organizations|}}}
| data9 = "{{#if:{{{termstart|}}}
| header6 = {{#if:{{{order|}}}
|{{{order}}}{{#if:{{{office|}}} |&#32;[[{{{office}}}]]}}
|{{{office|}}}}}
| 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>}}
         |{{#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:{{{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>}}
         }}
         }}
     }}"
     }}
| label10 = {{{superior_title|Prime Minister}}}
| data8 = {{#if:{{{termstart|}}}
| data11 = {{{superior|}}}
      |{{#if:{{{termend|}}}
| label12 = {{{superior_title2|Delegate}}}
|<!--then nothing else; term has ended-->
| data13 = {{{superior2|}}}
|<!--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>}}
| label14 = {{{superior_title3|Superior}}}
      }}
  }}
| label9 = Prime Minister
| data9 = {{{prime_minister|}}}
| label10 = Delegate
| data10 = {{{delegate|}}}
| label11 = Emperor
| data11 = {{{emperor|}}}
| label12 = President
| data12 = {{{president|}}}
| label13 = {{{superior_title|Superior}}}
| data13 = {{{superior|}}}
| label14 = {{{superior_title2|Superior}}}
| data14 = {{{superior2|}}}
| label15 = {{{superior_title3|Superior}}}
| data15 = {{{superior3|}}}
| data15 = {{{superior3|}}}
| label16 = {{{superior_title4|Superior}}}
| label16 = {{{superior_title4|Superior}}}
| data17 = {{{superior4|}}}
| data16 = {{{superior4|}}}
| label18 = {{{superior_title5|Superior}}}
| label17 = {{{superior_title5|Superior}}}
| data19 = {{{superior5|}}}
| data17 = {{{superior5|}}}
| label20 = {{{superior_title6|Superior}}}
| label18 = {{{superior_title6|Superior}}}
| data21 = {{{superior6|}}}
| data18 = {{{superior6|}}}
| label22 = {{{deputy_title|Deputy}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| data23 = {{{deputy|}}}
| data19 = {{{deputy|}}}
| label24 = {{{deputy_title2|Deputy}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data25 = {{{deputy2|}}}
| data20 = {{{assistant|}}}
| label26 = {{{deputy_title3|Deputy}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data27 = {{{deputy3|}}}
| data21 = {{{vice_office|}}}
| label28 = {{{deputy_title4|Deputy}}}
| label22 = {{{subordinate_title|Subordinate}}}
| data29 = {{{deputy4|}}}
| data22 = {{{subordinate|}}}
| label30 = {{{deputy_title5|Deputy}}}
| label23 = {{{subordinate_title2|Subordinate}}}
| data31 = {{{deputy5|}}}
| data23 = {{{subordinate2|}}}
| label32 = {{{deputy_title6|Deputy}}}
| label24 = {{{subordinate_title3|Subordinate}}}
| data33 = {{{deputy6|}}}
| data24 = {{{subordinate3|}}}
| label34 = Preceded by
| label25 = {{{subordinate_title4|Subordinate}}}
| data35 = {{{predecessor}}}
| data25 = {{{subordinate4|}}}
| label36 = Succeeded by
| label26 = {{{subordinate_title5|Subordinate}}}
| data37 = {{{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