Template:Infobox officeholder/office: Difference between revisions

Line height for !alongside and !co-leader parameters
(Padding)
(Line height for !alongside and !co-leader parameters)
Line 111:
|{{#if:{{{termstart|}}}
| {{#if:{{{termend|}}}
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|&nbsp;–&#32;|–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|<div style="line-height:normal">{{{alongside}}}</div>|<div style="line-height:normal">{{{co-leader}}}</div>}}}}
|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>
}}
Line 123:
|{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}}&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|<div style="line-height:normal">{{{alongside}}}</div>|<div style="line-height:normal">{{{co-leader}}}</div>}}}}
}}
}}
Anonymous user