Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(revert; I'm sorry but this needs to get fixed before; it has removed the "Preceded by" field, it has added a top blank line; includes "Succeded by" on incumbent presidents... this needs a lot of work) |
(yes, it still needs work, which I plan to do this morning, sorry; blank line issues should be fixed now; about "Preceded"/"Succeeded" could you please show me a page where the problem occurs?) |
||
Line 1: | Line 1: | ||
{| class="infobox bordered" style="width: |
{| class="infobox bordered" style="width: 21em; font-size: 90%; 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>}}<!-- |
{{#if:{{{image|}}}|<tr style="text-align: center;"><td colspan="2">[[Image:{{{image}}}|200px| ]]<br />{{{caption|}}}</td></tr>}}<!-- |
||
--> |
|||
⚫ | |||
|- |
|- |
||
{{ #if: {{{term_end|}}}|<!--then: in office from/to--><tr><th style="border-bottom: none; text-align: center;" colspan="2">In office</th></tr><tr><td style="border-top: none; text-align: center;" colspan="2">{{{term_start}}} – {{{term_end}}}</td></tr>|<!--else: assume current--><tr><th style="text-align: center; background: #B0C4DE;" colspan="2">[[Incumbent]]</th></tr> |
|||
! President from |
|||
}}<!-- |
|||
| {{{term_start}}} – <span style="white-space: nowrap;">{{{term_end|present}}}</span> |
|||
{{#if:{{{ |
-->{{#if:{{{order|}}}|<tr style="text-align: center;"><td colspan="2">{{{order|}}}</td></tr>}}<!-- |
||
--> |
|||
{{#if: {{{term_end|}}}|<!--then--> |<!--else--><tr><th>In office since</th><td>{{{term_start}}}</td></tr>}}<!-- |
|||
! Preceded by |
|||
-->{{ #if:{{{vicepresident|}}}|<tr><th>Vice President</th><td>{{{vicepresident|}}}</td></tr> }} |
|||
| {{{predecessor|''none''}}} |
|||
|- |
|-<!-- |
||
-->{{#if: {{{predecessor|}}}|<tr><th>Preceded by</th><td>{{{predecessor|}}}</td></tr>}}<!-- |
|||
! Succeeded by |
|||
--> |
|||
| {{{successor|''[[Incumbent]]''}}} |
|||
|-<!-- |
|||
⚫ | |||
|- |
|- |
||
! 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>}}<!-- |
-->{{#if:{{{death_date|}}}|<tr><th>Died</th><td>{{{death_date|}}}<br />{{{death_place|}}}</td></tr>}}<!-- |
||
-->{{#if:{{{party|}}}|<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!-- |
-->{{#if:{{{party|}}}|<tr><th>Political party</th><td>{{{party|}}}</td></tr>}}<!-- |
||
-->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!-- |
-->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td>{{{spouse|}}}</td></tr>}}<!-- |
||
Line 24: | Line 26: | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
||
[[Category:Infobox templates|President]] |
[[Category:Infobox templates|President]] |
||
</noinclude><!-- |
|||
FOR TEST ONLY - WILL BE REMOVED WHEN DONE |
|||
--><noinclude> |
|||
{{Infobox President |
|||
| name=George W. Bush |
|||
| image=George-W-Bush.jpeg |
|||
| order=43rd [[President of the United States]] |
|||
| term_start=[[January 20]], [[2001]] |
|||
| vicepresident=[[Dick Cheney]] |
|||
| predecessor=[[Bill Clinton]] |
|||
| birth_date=[[July 6]], [[1946]] |
|||
| birth_place=[[New Haven, Connecticut|New Haven]], [[Connecticut]], [[United States|USA]] |
|||
| party=[[Republican Party (United States)|Republican]] |
|||
| spouse=[[Laura Bush|Laura Welch Bush]] |
|||
}} |
|||
</noinclude> |
</noinclude> |