Anonymous

Template:Infobox officeholder/office: Difference between revisions

From Roses, Tulips, & Liberty
use div tag
m (line height)
(use div tag)
Line 116:
|{{#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|}}}|<brdiv style="line-height:normal; /padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|<span style="display:inline-block; line-height:normal; margin-bottom:0.15em">{{{alongside}}}</div>|<span style="display:inline-block; line-height:normal; margin-bottom:0.15em">{{{co-leader}}}}}</div>}}}}
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; margin-bottom:-0.1em; line-height:normal;padding-top:0.25em; padding-bottom:0.3em; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; margin-bottom:-0.1em; line-height:normal;padding-top:0.25em; padding-bottom:0.3em; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
}}
Line 128:
|{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}}&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<brdiv style="line-height:normal; /padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|<span style="display:inline-block; line-height:normal; margin-bottom:0.15em">{{{alongside}}}</div>|<span style="display:inline-block; line-height:normal; margin-bottom:0.15em">{{{co-leader}}}}}</div>}}}}
}}
}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.