Template:Infobox officeholder/office: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
m (reduce)
(Reverted to revision 871421046 by Neveselbert (talk). (TW))
Line 102: Line 102:
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}|
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}|
{{#if:{{{status|}}}
{{#if:{{{status|}}}
| <div style="width:100%; margin:0; padding:0; line-height:1.5; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}|
| <div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}|
}}
}}


Line 117: Line 117:
| {{#if:{{{termend|}}}
| {{#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="padding-bottom:0.2em; line-height:1.2em">{{{alongside}}}</div>|<div style="padding-bottom:0.2em; line-height:1.2em">{{{co-leader}}}</div>}}}}
|<!--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="padding-bottom:0.2em; line-height:1.2em">{{{alongside}}}</div>|<div style="padding-bottom:0.2em; line-height:1.2em">{{{co-leader}}}</div>}}}}
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; padding:0; line-height:1.5; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
}}
}}
}}
}}

Revision as of 00:24, 1 December 2018