Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (nbsp refinements) |
(added a comment to clarify a #if; formatting is still ugly: let's try with a nested table, for semplicity's sake) |
||
Line 5: | Line 5: | ||
--> |
--> |
||
|- |
|- |
||
{{ #if: {{{term_end|}}} |<tr><th>In office</th><td> |
{{ #if: {{{term_end|}}} |<tr><th>In office</th><td>{| from||{{{term_start}}}|-to||{{{term_end}}} |}</td></tr>|<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>}}<!-- |
||
--> |
--> |
||
{{#if: {{{term_end|}}}| |<!--else--><tr><th>In office since</th><td>{{{term_start}}}</td></tr>}}<!-- |
{{#if: {{{term_end|}}}|<!--then--> |<!--else--><tr><th>In office since</th><td>{{{term_start}}}</td></tr>}}<!-- |
||
-->{{ #if:{{{vicepresident|}}}|<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr> }} |
-->{{ #if:{{{vicepresident|}}}|<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr> }} |
||
|-<!-- |
|-<!-- |