Template:Infobox officeholder: Difference between revisions
(rv to known-good version; please test in a sandbox instead of editing this live as it's on many prominent articles) |
(self-revert; that didn't fix it either - I'm not gonna touch this anymore and wait for someone who knows what they're doing...) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width:23em; font-size:90%; text-align:left;" cellpadding="3" |
{| class="infobox" style="width:23em; font-size:90%; text-align:left;" <!--cellpadding="3"--><!-- |
||
|+ style="font-size:larger;" | '''{{{name|{{PAGENAME}}}}}'''<!-- |
|||
<!----- Name -----> |
|||
⚫ | |||
|+ style="font-size:125%";"| '''{{{name|{{PAGENAME}}}}}'''<!-- |
|||
⚫ | |||
<!----- Image -----> |
|||
-->{{#if:{{{term_start|}}}|{{#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> |
|||
⚫ | |||
<small>{{{caption|}}}<small/></td></tr>}} |
|||
{{#if:{{{smallimage|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/>{{{caption|}}}</td></tr>}}<!-- |
|||
<!----- Order -----> |
|||
⚫ | |||
<!----- Term -----> |
|||
{{#if:{{{term_start|}}} |<!--then:--> |
|||
{{#if:{{{term_end|}}} |<!--then:--> <!--term has start and end--> |
|||
<tr><th colspan="2" style="border-bottom:none; text-align:center;">In office</th></tr> |
|||
<tr><td colspan="2" style="border-top:none; text-align:center;"> {{{term_start}}} – {{{term_end}}}</td></tr> |
|||
|<!--else:--> <!--term is ongoing--> |
|||
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}} |
|||
{{#if:{{{term_end|}}} |<!--then:--> <!--(nothing)--> |
|||
⚫ | |||
}}<!-- |
}}<!-- |
||
⚫ | |||
<!----- Vice president/s, Vice prime minister/s, Deputy/ies -----> |
|||
⚫ | |||
{{#if:{{{vicepresident|}}} |<!--then:--> <tr><th>Vice President(s) </th><td>{{{vicepresident}}}</td></tr>}} |
|||
{{#if:{{{vice prime minister|}}} |<!--then:--> <tr><th><small>Vice Prime Minister(s)</small> </th><td>{{{vice prime minister}}}</td></tr>}} |
|||
{{#if:{{{deputy|}}} |<!--then:--> <tr><th>Deputy</th><td>{{{deputy}}}</td></tr>}}<!-- |
|||
⚫ | |||
<!----- Predecessor/Successor -----> |
|||
⚫ | |||
⚫ | |||
-->{{#if:{{{term_start2|}}}|{{#if:{{{term_end2|}}}|<!--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_start2}}} – {{{term_end2}}}</td></tr>|<!--else: assume current--><tr><th style="text-align:center; background:#B0C4DE;" colspan="2">[[Incumbent]]</th></tr>}}<!-- |
|||
{{#if:{{{successor|}}} |<!--then:--> <tr><th>Succeeded by</th><td>{{{successor}}}</td></tr>}}<!-- |
|||
⚫ | |||
<!----- Second order/term -----> |
|||
⚫ | |||
{{#if:{{{order2|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2"> {{{order2}}}</th></tr>}} |
|||
{{#if:{{{term_start2|}}} |<!--then:--> |
|||
{{#if:{{{term_end2|}}} |<!--then:--> <!--term has start and end--> |
|||
<tr><th colspan="2" style="border-bottom:none; text-align:center;">In office</th></tr> |
|||
<tr><td colspan="2" style="border-top:none; text-align:center;"> {{{term_start2}}} – {{{term_end2}}}</td></tr> |
|||
|<!--else:--> <!--term is ongoing--> |
|||
<tr><th colspan="2" style="text-align:center; background:#b0c4de;">[[Incumbent]]</th></tr>}} |
|||
{{#if:{{{term_end2|}}} |<!--then:--> <!--(nothing)--> |
|||
|<!--else:--> <tr><th>In office since</th><td>{{{term_start2}}}</td></tr>}} |
|||
}}<!-- |
|||
<!----- President -----> |
|||
⚫ | |||
<!----- Second predecessor/successor -----> |
|||
{{#if:{{{predecessor2|}}} |<!--then:--> <tr><th>Preceded by</th><td>{{{predecessor2}}}</td></tr>}} |
|||
⚫ | |||
<!----- Birth/Death -----> |
|||
|- |
|- |
||
! Born |
! Born |
||
| {{{birth_date|}}}<br |
| {{{birth_date|}}}<br/>{{{birth_place|}}} |
||
|- |
|||
-->{{#if:{{{death_date|}}}|<tr><th>Died</th><td>{{{death_date}}}<br />{{{death_place|}}}</td></tr>}}<!-- |
|||
{{#if:{{{death_date|}}} |<!--then:--> <tr><th>Died</th><td>{{{death_date}}}<br/>{{{death_place|}}}</td></tr>}}<!-- |
|||
⚫ | |||
<!----- Constituency -----> |
|||
<td> |
|||
⚫ | |||
{{ #switch: {{{party}}} |
|||
<!----- Party -----> |
|||
⚫ | |||
| [[United States Democratic Party|Democrat]] |
| [[United States Democratic Party|Democrat]] |
||
| [[Democratic Party (United States)|Democratic]] |
| [[Democratic Party (United States)|Democratic]] |
||
| [[Democratic Party (United States)|Democrat]] = |
| [[Democratic Party (United States)|Democrat]] = [[Democratic Party (United States)|Democratic]] |
||
| [[Republican Party (United States)|Republican]] |
| [[Republican Party (United States)|Republican]] |
||
| [[United States Republican Party]] |
| [[United States Republican Party]] |
||
Line 34: | Line 72: | ||
| [[Republican Party (United States)|Republican Party]] = [[United States Republican party|Republican]] |
| [[Republican Party (United States)|Republican Party]] = [[United States Republican party|Republican]] |
||
| [[Conservative Party (UK)|Conservative Party]] |
| [[Conservative Party (UK)|Conservative Party]] |
||
| [[Conservative Party (UK)|Conservative]] = |
| [[Conservative Party (UK)|Conservative]] = [[Conservative Party (UK)|Conservative]] |
||
| [[Labour Party (UK)|Labour Party]] |
| [[Labour Party (UK)|Labour Party]] |
||
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]] |
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]] |
||
| {{{party}}} |
| {{{party}}} }} |
||
}} |
}}<!-- |
||
</td></tr>}}<!-- |
|||
<!----- Spouse etc -----> |
|||
⚫ | |||
{{#if:{{{spouse|}}} |<!--then:--> <tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}} |
|||
{{#if:{{{profession|}}} |<!--then:--> <tr><th>Profession</th><td>{{{profession}}}</td></tr>}} |
|||
{{#if:{{{religion|}}} |<!--then:--> <tr><th>Religion</th><td>{{{religion}}}</td></tr>}} |
|||
{{#if:{{{signature|}}} |<!--then:--> <tr><th>Signature</th><td>[[Image:{{{signature}}}|128px]]</td></tr>}} |
|||
{{#if:{{{footnotes|}}} |<!--then:--> <tr><td colspan="2" style="font-size:smaller; border-top:1px solid;">{{{footnotes}}}</td></tr>}} |
|||
|}<noinclude> |
|||
{{esoteric}} |
|}<noinclude>{{clear}}<br><hr><br>{{esoteric}} |
||
---- |
|||
Please use the most appropriate name when placing this template on a page |
Please use the most appropriate name when placing this template on a page (i.e. the following all redirect here): |
||
*'''Infobox Chancellor''' |
*'''Infobox Chancellor''' |
||
*'''Infobox Governor General''' |
*'''Infobox Governor General''' |
||
Line 55: | Line 94: | ||
*'''Infobox Vice President''' |
*'''Infobox Vice President''' |
||
<!--Categories--> |
|||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] |
||
[[Category:People infobox templates|Officeholder]] |
[[Category:People infobox templates|Officeholder]] |
||
[[Category:Politics infobox templates|Officeholder]] |
[[Category:Politics infobox templates|Officeholder]] |
||
<!--Other languages--> |
|||
[[ast:Plantilla:Info presidentes]] |
[[ast:Plantilla:Info presidentes]] |
||
[[bg:Шаблон:Президент инфо]] |
[[bg:Шаблон:Президент инфо]] |
Revision as of 00:03, 5 November 2006
Born |
---|
Please use the most appropriate name when placing this template on a page (i.e. the following all redirect here):
- Infobox Chancellor
- Infobox Governor General
- Infobox President
- Infobox Prime Minister
- Infobox Vice President
ast:Plantilla:Info presidentes bg:Шаблон:Президент инфо bs:Šablon:Infokutija predsjednik cs:Šablona:Infobox PrezidentUSA cy:Nodyn:Arlywydd UDA eu:Txantiloi:Presidente infotaula fi:Malline:Hallitsija hu:Sablon:President infobox ms:Templat:Politik fr:Modèle:FichePresidentUS ga:Teimpléad:Bosca Sonraí Uachtaráin he:תבנית:נשיא ארצות הברית id:Templat:Politikus ja:Template:大統領 lb:Template:Minister nl:Sjabloon:Amerikaanse President no:Mal:Infoboks president USA nn:Mal:Infoboks leiar ps:Template:ولسمشربکس pl:Szablon:Polityk infobox simple:Template:Infobox President sk:Šablóna:Prezident USA sl:Predloga:Infopolje Predsednik sv:Mall:Regeringschef vi:Tiêu bản:Tổng thống tr:Şablon:ABD Başkanları zh:Template:Infobox President