Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (Pad bottom only) |
m (reduce by 0.2em) |
||
Line 111: | Line 111: | ||
|{{#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="padding-bottom:0. |
|<!--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>}}}} |
||
|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div> |
|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div> |
||
}} |
}} |
||
Line 123: | Line 123: | ||
|{{#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="padding-bottom:0. |
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}} 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>}}}} |
||
}} |
}} |
||
}} |
}} |