Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Reduce WP:PEIS) |
(fix duplicated date) |
||
Line 24: | Line 24: | ||
| data3 = {{#if:{{{nominee|}}}{{{candidate|}}}| |
| data3 = {{#if:{{{nominee|}}}{{{candidate|}}}| |
||
{{#if:{{{termstart|}}}{{{election_date|}}} | <span class="nowrap">'''Election date''' |
{{#if:{{{termstart|}}}{{{election_date|}}} | <span class="nowrap">'''Election date'''</span><br />{{#if:{{{election_date|}}}|{{{election_date}}}|{{{termstart}}}}} |
||
}} }} |
}} }} |
||
Line 107: | Line 107: | ||
| data20 = {{#if:{{{nominee|}}}{{{candidate|}}}|| |
| data20 = {{#if:{{{nominee|}}}{{{candidate|}}}|| |
||
{{#if:{{{succeeding|}}} |
{{#if:{{{succeeding|}}} |
||
| <span class="nowrap">'''Assuming office''' |
| <span class="nowrap">'''Assuming office'''</span><br />{{{termstart}}}{{#if:{{{term|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with succeeding and term or termend]]}} |
||
| {{#if: {{{term|}}} | <span class="nowrap">'''{{{termlabel|In office}}}''' |
| {{#if: {{{term|}}} | <span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{{term}}} }} |
||
}} }} |
}} }} |
||
Line 116: | Line 116: | ||
|{{#if:{{{termstart|}}} |
|{{#if:{{{termstart|}}} |
||
| {{#if:{{{termend|}}} |
| {{#if:{{{termend|}}} |
||
|<!--then: term has start and end:--><span class="nowrap">'''{{{termlabel|In office}}}''' |
|<!--then: term has start and end:--><span class="nowrap">'''{{{termlabel|In office}}}'''</span><br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}| – |–}}{{{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|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}} |
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}} |
||
}} |
}} |
||
Line 128: | Line 128: | ||
|{{#if:{{{termend|}}} |
|{{#if:{{{termend|}}} |
||
|<!--then nothing else; term has ended--> |
|<!--then nothing else; term has ended--> |
||
|<!--else term is ongoing:--><span class="nowrap">'''Assumed office''' |
|<!--else term is ongoing:--><span class="nowrap">'''Assumed office'''</span> <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} |
||
}} |
}} |
||
}} |
}} |