Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(replaced style attribute with class="infobox borderless") |
(completely new code for non-incumbent president) |
||
Line 4: | Line 4: | ||
--> |
--> |
||
|- |
|- |
||
{{ #if: {{{term_end|}}}|<!--then: in office from/to--><tr><th>In office</th>< |
{{ #if: {{{term_end|}}}|<!--then: in office from/to--><tr><th style="border-bottom: none; text-align: center;" colspan="2">In office</th></tr><tr style="text-align: center;" colspan="2"><td>from {{{term_start}}} to {{{term_end}}}</td></tr>|<!--else: assume current--><tr><th style="text-align: center; background: #B0C4DE;" colspan="2">[[Incumbent]]</th></tr> |
||
}}<!-- |
}}<!-- |
||
-->{{#if:{{{order|}}}|<tr style="text-align: center;"><td colspan="2">{{{order|}}}</td></tr>}}<!-- |
-->{{#if:{{{order|}}}|<tr style="text-align: center;"><td colspan="2">{{{order|}}}</td></tr>}}<!-- |