Template:Infobox regional officeholder: Difference between revisions
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 | ||
| | | 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|}}} | [[{{{office}}}]]}} | |{{{order}}}{{#if:{{{office|}}} | [[{{{office}}}]]}} | ||
|{{{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}} with {{#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}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} | ||
Line 25: | Line 27: | ||
}} | }} | ||
}} | }} | ||
| | | data8 = {{#if:{{{termstart|}}} | ||
| | |{{#if:{{{termend|}}} | ||
| | |<!--then nothing else; term has ended--> | ||
| | |<!--else term is ongoing:--><span class="nowrap">'''{{#if:{{{termlabel|}}}|{{str rep|1={{{termlabel}}}|2=In office|3=Assumed office}}|Assumed office}}'''</span> <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} | ||
| | }} | ||
| | }} | ||
| | | 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|}}} | ||
| | | label16 = {{{superior_title4|Superior}}} | ||
| | | data16 = {{{superior4|}}} | ||
| | | label17 = {{{superior_title5|Superior}}} | ||
| | | data17 = {{{superior5|}}} | ||
| | | label18 = {{{superior_title6|Superior}}} | ||
| | | data18 = {{{superior6|}}} | ||
| | | label19 = {{#if:{{{office|}}}|{{#ifeq:{{isValidPageName|Deputy {{{office}}}}}|valid|[[Deputy {{{office}}}|Deputy]]|Deputy}}|Deputy}} | ||
| | | data19 = {{{deputy|}}} | ||
| | | 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 |