Anonymous user
Template:Infobox officeholder/office: Difference between revisions
Template:Infobox officeholder/office (view source)
Revision as of 00:20, 1 December 2018
, 5 years agoDefault line height
(add status parameter, for officeholders yet to take office and ranked designees) |
m (Default line height) |
||
Line 102:
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}|
{{#if:{{{status|}}}
| <div style="width:100%; margin:0; padding:0; line-height:1.6; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}|
}}
Line 117:
| {{#if:{{{termend|}}}
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}| – |–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|<div style="padding-bottom:0.2em; line-height:1.2em">{{{alongside}}}</div>|<div style="padding-bottom:0.2em; line-height:1.2em">{{{co-leader}}}</div>}}}}
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; padding:0; line-height:1.6; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
}}
}}
|