Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
No edit summary
(trying to improve the sectioning displayed by template by replacing <br>s with <hr>s (divider lines), rm potentially conflicting HTML table code)
Line 26: Line 26:
{{#if:{{{term_end|}}}
{{#if:{{{term_end|}}}
|<!--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_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}<br>
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}<hr>
{{!-}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<br>
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<hr>
{{!-}}
{{!-}}
}}
}}
Line 35: Line 35:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
|<!--else:-->
{{!}}<tr><td>'''In&nbsp;office&nbsp;since'''<br>{{{term_start}}}</td></tr>
{{!}} '''In&nbsp;office&nbsp;since'''<br>{{{term_start}}}<hr>
{{!-}}
{{!-}}
}}
}}
Line 77: Line 77:
{{#if:{{{term_end|}}}
{{#if:{{{term_end|}}}
|<!--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_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}<br>
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}<hr>
{{!-}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<br>
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<hr>
{{!-}}
{{!-}}
}}
}}
Line 86: Line 86:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
|<!--else:-->
{{!}}<tr><td>'''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}}</td></tr>
{{!}} '''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}}<hr>
{{!-}}
{{!-}}
}}
}}

Revision as of 16:25, 6 November 2006