Anonymous user
Template:Infobox officeholder/office: Difference between revisions
Template:Infobox officeholder/office (view source)
Revision as of 00:21, 3 December 2018
, 5 years agouse 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}}}}}| – |–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<
|{{#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'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<
}}
}}
|