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:
<includeonly>
<noinclude>
:''This template is used in conjunction with {{tl|Infobox Officeholder}}.''
{{pp-template|small=yes}}
</noinclude><includeonly>
<!----------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&nbsp;office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}&nbsp;&ndash;&nbsp;{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co&ndash;leading}}&nbsp;with&nbsp;{{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}}
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}}'''In&nbsp;office'''<br />{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}{{#iferror:{{#expr:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}}}}*{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}}}|&nbsp;&ndash;&nbsp;|&ndash;}}{{{term{{#if:{{{termend{{{1}}}|}}}||_}}end{{{1}}}}}}{{#if:{{{alongside{{{1}}}|}}}{{{co-leader{{{1}}}|}}}|<br />{{#if:{{{alongside{{{1}}}|}}}|Serving|Co&ndash;leading}}&nbsp;with&nbsp;{{#if:{{{alongside{{{1}}}|}}}|{{{alongside{{{1}}}}}}|{{{co-leader{{{1}}}}}}}}}}
{{!}}-
{{!}}-
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->

Revision as of 21:05, 2 February 2010