Difference between revisions of "Template:Infobox regional officeholder"

From TSP Encyclopedia
Jump to navigation Jump to search
m (remove accidental quotes)
(add assumed office label for incumbents)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
{{infobox
| abovestyle =
| headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em;
| above =
| datastyle = border-bottom:none
| image =
| abovestyle = font-size: 100%;
| caption =
| above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<!--
| header1 = {{{order | }}}[[{{{office}}}]]
--><div class="fn" style="font-size:125%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div><!--
| header2 = {{{status|}}}
-->{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class="honorific-suffix" style="font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}
| data3 = {{{termlabel|In office}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| data4 = {{#if:{{{termstart|}}}
| captionstyle = line-height:normal;padding-top:0.2em;
| caption = {{{caption|}}}
| header1 = Personal details
| label2 = Founded
| data2 = {{{founded|}}}
| label3 = Also known as
| data3 = {{{aliases|}}}
| label4 = Member of
| data4 = {{{organizations|}}}
| label5 = Past member of
| data5 = {{{past_organizations|}}}
| 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>}}
         }}
         }}
     }}
     }}
| data5 = Serving with {{{alongside|}}}
| data8 = {{#if:{{{termstart|}}}
| label6 = {{{superior_title|Prime Minister}}}
      |{{#if:{{{termend|}}}
| data7 = {{{superior}}}
|<!--then nothing else; term has ended-->
| label8 = {{{superior_title2|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>}}
| data9 = {{{superior2}}}
      }}
| label10 = {{{superior_title3|Superior}}}
  }}
| data11 = {{{superior3}}}
| label9 = Prime Minister
| label12 = {{{superior_title4|Superior}}}
| data9 = {{{prime_minister|}}}
| data13 = {{{superior4}}}
| label10 = Delegate
| label14 = {{{superior_title5|Superior}}}
| data10 = {{{delegate|}}}
| data15 = {{{superior5}}}
| label11 = Emperor
| label16 = {{{superior_title6|Superior}}}
| data11 = {{{emperor|}}}
| data17 = {{{superior6}}}
| label12 = President
| label18 = {{{superior_title7|Superior}}}
| data12 = {{{president|}}}
| data19 = {{{superior7}}}
| label13 = {{{superior_title|Superior}}}
| label20 = {{{deputy_title|Deputy}}}
| data13 = {{{superior|}}}
| data21 = {{{deputy|}}}
| label14 = {{{superior_title2|Superior}}}
| label22 = {{{deputy_title2|Deputy}}}
| data14 = {{{superior2|}}}
| data23 = {{{deputy2|}}}
| label15 = {{{superior_title3|Superior}}}
| label24 = {{{deputy_title3|Deputy}}}
| data15 = {{{superior3|}}}
| data25 = {{{deputy3}}}
| label16 = {{{superior_title4|Superior}}}
| label26 = {{{deputy_title4|Deputy}}}
| data16 = {{{superior4|}}}
| data27 = {{{deputy4|}}}
| label17 = {{{superior_title5|Superior}}}
| label28 = {{{deputy_title5|Deputy}}}
| data17 = {{{superior5|}}}
| data29 = {{{deputy5}}}
| label18 = {{{superior_title6|Superior}}}
| label30 = Preceded by
| data18 = {{{superior6|}}}
| data31 = {{{predecessor}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| label32 = Succeeded by
| data19 = {{{deputy|}}}
| data33 = {{{successor}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data20 = {{{assistant|}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data21 = {{{vice_office|}}}
| label22 = {{{subordinate_title|Subordinate}}}
| data22 = {{{subordinate|}}}
| label23 = {{{subordinate_title2|Subordinate}}}
| data23 = {{{subordinate2|}}}
| label24 = {{{subordinate_title3|Subordinate}}}
| data24 = {{{subordinate3|}}}
| label25 = {{{subordinate_title4|Subordinate}}}
| data25 = {{{subordinate4|}}}
| label26 = {{{subordinate_title5|Subordinate}}}
| 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