Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(fixed link)
(reducing gap between "In office (since)" and dates)
Line 15: Line 15:
-->{{#if:{{{term_start|}}} |<!--then:-->
-->{{#if:{{{term_start|}}} |<!--then:-->
{{#if:{{{term_end|}}} |<!--then:--> <!--term has start and end-->
{{#if:{{{term_end|}}} |<!--then:--> <!--term has start and end-->
<tr><th colspan="2" style="border-bottom:none; text-align:center;">In&nbsp;office</th></tr>
<tr><td colspan="2" style="border-bottom:none; text-align:center;">'''In&nbsp;office'''<br>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}</td></tr>
<tr><td colspan="2" style="border-top:none; text-align:center;"> {{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}</td></tr>
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}}
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}}
{{#if:{{{term_end|}}} |<!--then:--> <!--(nothing)-->
{{#if:{{{term_end|}}} |<!--then:--> <!--(nothing)-->
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start}}}</td></tr>}}
|<!--else:--> <tr><td>'''In&nbsp;office&nbsp;since'''<br>{{{term_start}}}</td></tr>}}
}}<!--
}}<!--


Line 36: Line 35:
-->{{#if:{{{term_start2|}}} |<!--then:-->
-->{{#if:{{{term_start2|}}} |<!--then:-->
{{#if:{{{term_end2|}}} |<!--then:--> <!--term has start and end-->
{{#if:{{{term_end2|}}} |<!--then:--> <!--term has start and end-->
<tr><th colspan="2" style="border-bottom:none; text-align:center;">In&nbsp;office</th></tr>
<tr><td colspan="2" style="border-bottom:none; text-align:center;">'''In&nbsp;office'''<br>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}</td></tr>
<tr><td colspan="2" style="border-top:none; text-align:center;"> {{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}</td></tr>
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}}
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}}
{{#if:{{{term_end2|}}} |<!--then:--> <!--(nothing)-->
{{#if:{{{term_end2|}}} |<!--then:--> <!--(nothing)-->
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start2}}}</td></tr>}}
|<!--else:--> <tr><td>'''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}}</td></tr>}}
}}<!--
}}<!--



Revision as of 17:55, 5 November 2006