Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(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: Line 1:
{| class="infobox bordered" style="width: 20em; font-size: 95%; text-align: left;" cellpadding="3"
{| class="infobox bordered" style="width: 20em; font-size: 95%; text-align: left;" cellpadding="3"
|+ style="font-size: larger;" | '''{{{name}}}'''
|+ style="font-size: larger;" | '''{{{name}}}'''
{{#if:{{{image|}}}|<tr style="text-align: center;"><td colspan="2">[[Image:{{{image}}}|200px| ]]<br />{{{caption|}}}</td></tr>}}<!--
{{qif|test={{{image|}}}|then=<tr style="text-align: center;"><td colspan="2">[[Image:{{{image}}}|200px| ]]<br />{{{caption|}}}</td></tr>}}<!--
-->{{#if:{{{order|}}}|<tr><th>Order</th><td>{{{order|}}}</td></tr>}}
-->{{qif|test={{{order|}}}|then=<tr><th>Order</th><td>{{{order|}}}</td></tr>}}
|-
|-
! President&nbsp;from
! President&nbsp;from
| {{{term_start}}} &ndash; <span style="white-space: nowrap;">{{{term_end|present}}}</span>
| {{{term_start}}} &ndash; <span style="white-space: nowrap;">{{{term_end|present}}}</span>
{{#if:{{{vicepresident|}}}|<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr>}}
{{qif|test={{{vicepresident|}}}|then=<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr>}}
|-
|-
! Preceded by
! Preceded by
Line 16: Line 16:
! Born
! Born
| {{{birth_date|}}}<br />{{{birth_place|}}}
| {{{birth_date|}}}<br />{{{birth_place|}}}
{{#if:{{{death_date|}}}|<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}<!--
{{qif|test={{{death_date|}}}|then=<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}<!--
-->{{#if:{{{party|}}}|<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!--
-->{{qif|test={{{party|}}}|then=<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!--
-->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!--
-->{{qif|test={{{spouse|}}}|then=<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!--
-->{{#if:{{{signature|}}}|<tr><th>Signature</th><td>[[Image:{{{signature}}}|128px]]</td></tr>}}<!--
-->{{qif|test={{{signature|}}}|then=<tr><th>Signature</th><td>[[Image:{{{signature}}}|128px]]</td></tr>}}<!--
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid;">{{{footnotes|}}}</td></tr>}}
-->{{qif|test={{{footnotes|}}}|then=<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid;">{{{footnotes|}}}</td></tr>}}
|}<noinclude>
|}<noinclude>

[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Infobox templates|President]]
[[Category:Infobox templates|President]]
</noinclude>
</noinclude>

Revision as of 11:49, 21 April 2006

{{{name}}} Template:QifTemplate:Qif
President from {{{term_start}}} – present

Template:Qif

Preceded by none
Succeeded by Incumbent
Born

Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif