Template:Infobox officeholder/office: Difference between revisions
Template page
More actions
Content deleted Content added
This should actually work |
This should fix it now |
||
| Line 118: | Line 118: | ||
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}{{{assuming|}}}| |
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}{{{assuming|}}}| |
||
{{#if:{{{status|}}} |
{{#if:{{{status|}}} |
||
| <div style="width:100%; margin:0; background-color: {{{color| |
| <div style="width:100%; margin:0; background-color: {{{color|var(--color-surface-2)}}}">'''{{{status}}}'''</div>|}}| |
||
}} |
}} |
||
| Line 133: | Line 133: | ||
| {{#if:{{{termend|}}} |
| {{#if:{{{termend|}}} |
||
|<!--then: term has start and end:--><span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{en dash range|{{{termstart}}}|{{{termend}}}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} |
|<!--then: term has start and end:--><span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{en dash range|{{{termstart}}}|{{{termend}}}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} |
||
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; background-color: {{{color| |
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; background-color: {{{color|var(--color-surface-2)}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; background-color: {{{color|var(--color-surface-2)}}}">'''[[Incumbent]]'''</div>}} |
||
}} |
}} |
||
}} |
}} |
||