Template:Infobox regional officeholder: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(fix if no alongside)
(expanded general info and fixes for office)
Line 1: Line 1:
{{infobox
{{infobox
| abovestyle =
| abovestyle = font-size: 100%;
| above =
| above = "{{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class=""honorific-prefix"" style=""font-weight: normal;"">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<!--
| image =
--><div class=""fn"" style=""font-size:125%;"">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div><!--
| caption =
-->{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class=""honorific-suffix"" style=""font-weight: normal;"">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}"
| header1 = {{{order | }}}[[{{{office}}}]]
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| header2 = {{{status|}}}
| captionstyle = line-height:normal;padding-top:0.2em;
| data3 = {{{termlabel|In office}}}
| caption = {{{caption|}}}
| data4 = {{#if:{{{termstart|}}}
| label1 = Founded
| data2 = {{{founded|}}}
| label3 = Also known as
| data4 = {{{aliases|}}}
| label5 = Member of
| data6 = {{{organizations|}}}
| header7 = {{{order | }}}[[{{{office}}}]]
| header8 = {{{status|Incumbent}}}
| data9 = "{{#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 = {{#if:{{{alongside|}}}|Serving with {{{alongside}}}}}
| label10 = {{{superior_title|Prime Minister}}}
| label6 = {{{superior_title|Prime Minister}}}
| data11 = {{{superior|}}}
| data7 = {{{superior}}}
| label12 = {{{superior_title2|Delegate}}}
| label8 = {{{superior_title2|Delegate}}}
| data13 = {{{superior2|}}}
| data9 = {{{superior2}}}
| label14 = {{{superior_title3|Superior}}}
| label10 = {{{superior_title3|Superior}}}
| data15 = {{{superior3|}}}
| data11 = {{{superior3}}}
| label16 = {{{superior_title4|Superior}}}
| label12 = {{{superior_title4|Superior}}}
| data17 = {{{superior4|}}}
| data13 = {{{superior4}}}
| label18 = {{{superior_title5|Superior}}}
| label14 = {{{superior_title5|Superior}}}
| data19 = {{{superior5|}}}
| data15 = {{{superior5}}}
| label20 = {{{superior_title6|Superior}}}
| label16 = {{{superior_title6|Superior}}}
| data21 = {{{superior6|}}}
| data17 = {{{superior6}}}
| label22 = {{{deputy_title|Deputy}}}
| label18 = {{{superior_title7|Superior}}}
| data23 = {{{deputy|}}}
| data19 = {{{superior7}}}
| label24 = {{{deputy_title2|Deputy}}}
| label20 = {{{deputy_title|Deputy}}}
| data25 = {{{deputy2|}}}
| data21 = {{{deputy|}}}
| label26 = {{{deputy_title3|Deputy}}}
| label22 = {{{deputy_title2|Deputy}}}
| data27 = {{{deputy3|}}}
| data23 = {{{deputy2|}}}
| label28 = {{{deputy_title4|Deputy}}}
| label24 = {{{deputy_title3|Deputy}}}
| data29 = {{{deputy4|}}}
| data25 = {{{deputy3}}}
| label30 = {{{deputy_title5|Deputy}}}
| label26 = {{{deputy_title4|Deputy}}}
| data31 = {{{deputy5|}}}
| data27 = {{{deputy4|}}}
| label32 = {{{deputy_title6|Deputy}}}
| label28 = {{{deputy_title5|Deputy}}}
| data33 = {{{deputy6|}}}
| data29 = {{{deputy5}}}
| label34 = Preceded by
| label30 = Preceded by
| data35 = {{{predecessor}}}
| data31 = {{{predecessor}}}
| label36 = Succeeded by
| label32 = Succeeded by
| data37 = {{{successor}}}
| data33 = {{{successor}}}
}}
}}

Revision as of 21:41, 23 January 2022

"
Infobox regional officeholder
"
[[{{{office}}}]]
Incumbent
""
{{{predecessor}}}
{{{successor}}}