Template:Infobox officeholder: Difference between revisions

Rv edit by Freakofnurture as this seems to break some pages, e.g. James Garfield (pending further investigation)
(cleanup by converting to #if:)
(Rv edit by Freakofnurture as this seems to break some pages, e.g. James Garfield (pending further investigation))
Line 1:
{| class="infobox bordered" style="width: 20em; font-size: 95%; text-align: left;" cellpadding="3"
|+ style="font-size: larger;" | '''{{{name}}}'''
{{#if:qif|test={{{image|}}}|then=<tr style="text-align: center;"><td colspan="2">[[Image:{{{image}}}|200px| ]]<br />{{{caption|}}}</td></tr>}}<!--
-->{{#if:qif|test={{{order|}}}|then=<tr><th>Order</th><td>{{{order|}}}</td></tr>}}
|-
! President&nbsp;from
| {{{term_start}}} &ndash; <span style="white-space: nowrap;">{{{term_end|present}}}</span>
{{#if:qif|test={{{vicepresident|}}}|then=<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr>}}
|-
! Preceded by
Line 16:
! Born
| {{{birth_date|}}}<br />{{{birth_place|}}}
{{#if:qif|test={{{death_date|}}}|then=<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}<!--
-->{{#if:qif|test={{{party|}}}|then=<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!--
-->{{#if:qif|test={{{spouse|}}}|then=<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!--
-->{{#if:qif|test={{{signature|}}}|then=<tr><th>Signature</th><td>[[Image:{{{signature}}}|128px]]</td></tr>}}<!--
-->{{#if:qif|test={{{footnotes|}}}|then=<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid;">{{{footnotes|}}}</td></tr>}}
|}<noinclude>
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Infobox templates|President]]
</noinclude>
Anonymous user