Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
m (syntax)
(add assumed office label for incumbents)
 
(7 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;
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|}}}}}
}}
| data7 = {{#if:{{{termstart|}}}
| header11 = {{{status|Incumbent}}}
| data12 = {{#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>}}
         }}
         }}
     }}
     }}
| label13 = Prime Minister
| data8 = {{#if:{{{termstart|}}}
| data14 = {{{prime_minister|}}}
      |{{#if:{{{termend|}}}
| label15 = Delegate
|<!--then nothing else; term has ended-->
| data16 = {{{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>}}
| label17 = {{{superior_title|Superior}}}
      }}
| data18 = {{{superior|}}}
  }}
| label19 = {{{superior_title2|Superior}}}
| label9 = Prime Minister
| data20 = {{{superior2|}}}
| data9 = {{{prime_minister|}}}
| label21 = {{{superior_title3|Superior}}}
| label10 = Delegate
| data22 = {{{superior3|}}}
| data10 = {{{delegate|}}}
| label23 = {{{superior_title4|Superior}}}
| label11 = Emperor
| data24 = {{{superior4|}}}
| data11 = {{{emperor|}}}
| label25 = {{{superior_title5|Superior}}}
| label12 = President
| data26 = {{{superior5|}}}
| data12 = {{{president|}}}
| label27 = {{{superior_title6|Superior}}}
| label13 = {{{superior_title|Superior}}}
| data28 = {{{superior6|}}}
| data13 = {{{superior|}}}
| label29 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| label14 = {{{superior_title2|Superior}}}
| data30 = {{{deputy|}}}
| data14 = {{{superior2|}}}
| label31 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| label15 = {{{superior_title3|Superior}}}
| data32 = {{{assistant|}}}
| data15 = {{{superior3|}}}
| label33 = {{{subordinate_title|Subordinate}}}
| label16 = {{{superior_title4|Superior}}}
| data34 = {{{subordinate|}}}
| data16 = {{{superior4|}}}
| label35 = {{{subordinate_title2|Subordinate}}}
| label17 = {{{superior_title5|Superior}}}
| data36 = {{{subordinate2|}}}
| data17 = {{{superior5|}}}
| label37 = {{{subordinate_title3|Subordinate}}}
| label18 = {{{superior_title6|Superior}}}
| data38 = {{{subordinate3|}}}
| data18 = {{{superior6|}}}
| label39 = {{{subordinate_title4|Subordinate}}}
| label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}}
| data40 = {{{subordinate4|}}}
| data19 = {{{deputy|}}}
| label41 = {{{subordinate_title5|Subordinate}}}
| label20 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Assistant {{{office}}}}}|valid|[[Assistant {{{office}}}|Assistant]]|Assistant}}|Assistant}}
| data42 = {{{subordinate5|}}}
| data20 = {{{assistant|}}}
| label43 = {{{subordinate_title6|Subordinate}}}
| label21 = <span class="nowrap">[[Vice {{{office}}}]]</span>
| data44 = {{{subordinate6|}}}
| data21 = {{{vice_office|}}}
| label45 = Preceded by
| label22 = {{{subordinate_title|Subordinate}}}
| data46 = {{{predecessor|}}}
| data22 = {{{subordinate|}}}
| label47 = Succeeded by
| label23 = {{{subordinate_title2|Subordinate}}}
| data48 = {{{successor|}}}
| 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