Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(avoiding line breaks inside certain links per edit request by Jonesey95) |
(change to ndash per ter--tested in sandbox and seems to be fine) |
||
Line 108: | Line 108: | ||
|{{#if:{{{termstart|}}} |
|{{#if:{{{termstart|}}} |
||
| {{#if:{{{termend|}}} |
| {{#if:{{{termend|}}} |
||
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|& |
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|–|–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}} |
||
|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div> |
|<!--else: term is ongoing--><div style="width:100%; margin:0; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div> |
||
}} |
}} |