Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(fixing per talk, consistency) |
m (add spaces around automatically for dates which are not just years, per discussion, and rmv noinclude section - as a subtemplate the note should be obvious) |
||
Line 1: | Line 1: | ||
⚫ | |||
<noinclude> |
|||
:''This template is used in conjunction with {{tl|Infobox Officeholder}}.'' |
|||
{{pp-template|small=yes}} |
|||
⚫ | |||
<!----------Speaker of the House----------> |
<!----------Speaker of the House----------> |
||
{{#if:{{{speaker|}}}| |
{{#if:{{{speaker|}}}| |
||
Line 136: | Line 133: | ||
{{#if:{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}|}}} |
{{#if:{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}|}}} |
||
|<!--then term has start and end:--> |
|<!--then term has start and end:--> |
||
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''In office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}} – {{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co–leading}} with {{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}} |
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''In office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}{{#iferror:{{#expr:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}*{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}}}| – |–}}{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co–leading}} with {{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}} |
||
{{!}}- |
{{!}}- |
||
|<!--else:--> <!--term is ongoing--> |
|<!--else:--> <!--term is ongoing--> |