Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(best symmetry) |
m (consistency) |
||
Line 116: | Line 116: | ||
|{{#if:{{{termstart|}}} |
|{{#if:{{{termstart|}}} |
||
| {{#if:{{{termend|}}} |
| {{#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="line-height:1. |
|<!--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="line-height:1.2; margin-bottom:0.12em">{{{alongside}}}</div>|<div style="line-height:1.2; margin-bottom:0.12em">{{{co-leader}}}</div>}}}} |
||
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}} |
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}} |
||
}} |
}} |
||
Line 128: | Line 128: | ||
|{{#if:{{{termend|}}} |
|{{#if:{{{termend|}}} |
||
|<!--then nothing else; term has ended--> |
|<!--then nothing else; term has ended--> |
||
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|<div style="line-height:1. |
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|<div style="line-height:1.2; margin-bottom:0.12em">{{{alongside}}}</div>|<div style="line-height:1.2; margin-bottom:0.12em">{{{co-leader}}}</div>}}}} |
||
}} |
}} |
||
}} |
}} |