Template:Infobox officeholder: Difference between revisions

trying to improve the sectioning displayed by template by replacing <br>s with <hr>s (divider lines), rm potentially conflicting HTML table code
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:
{{#if:{{{term_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}}}<brhr>
{{!-}}
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<brhr>
{{!-}}
}}
Line 35:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
{{!}}<tr><td> '''In&nbsp;office&nbsp;since'''<br>{{{term_start}}}</td></trhr>
{{!-}}
}}
Line 77:
{{#if:{{{term_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}}}<brhr>
{{!-}}
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<brhr>
{{!-}}
}}
Line 86:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
{{!}}<tr><td> '''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}}</td></trhr>
{{!-}}
}}