Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(removed span element again, and inuse tag; I'll continue later (the template is usable though not as nice as it could be)) |
(try alternative approach for "inner layout") |
||
Line 4: | Line 4: | ||
--> |
--> |
||
|- |
|- |
||
{{ #if: {{{term_end|}}} |<tr><th>In office</th><td> |
{{ #if: {{{term_end|}}} |<tr><th>In office</th><td style="text-align: right; margin-right: 1em;"> |
||
from {{{term_start}}}<br>to {{{term_end}}}<!-- |
|||
<table style="border-collapse: collapse; border: hidden;"> |
|||
<tr><td style="text-align: right;">from</td> |
|||
<td>{{{term_start}}}</td></tr> |
|||
<tr><td style="text-align: right;>to</td> |
|||
<td>{{{term_end}}}</td><tr> |
|||
</table><!-- |
|||
--></td></tr>|<tr><th style="text-align: center; background: #B0C4DE;" colspan="2">[[Incumbent]]</th></tr> |
--></td></tr>|<tr><th style="text-align: center; background: #B0C4DE;" colspan="2">[[Incumbent]]</th></tr> |
||
}}<!-- |
}}<!-- |