Template:Infobox officeholder: Difference between revisions
m (+iw) |
(Internal code layout and formatting to aid comprehension/navigation, reducing gap between "In office" and dates. (Why has gap appeared at top of page?)) |
||
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:120%;"| '''{{{name|{{PAGENAME}}}}}''' |
|||
- |
|- style="text-align:center;" |
||
-->{{#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> |
|||
<!----- Image -----> |
|||
⚫ | |||
⚫ | |||
<!----- Order -----> |
|||
{{#if:{{{order|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2">{{{order}}}</th></tr>}}<!-- |
|||
<!----- 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--> |
|||
! Born |
|||
<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)--> |
|||
<td> |
|||
|<!--else:--> <tr><th>In office since</th><td>{{{term_start2}}}</td></tr>}} |
|||
{{ #switch: {{{party}}} |
|||
}}<!-- |
|||
<!----- President -----> |
|||
⚫ | |||
<!----- Second predecessor/successor -----> |
|||
⚫ | |||
⚫ | |||
<!----- Birth/Death -----> |
|||
⚫ | |||
⚫ | |||
<!----- Constituency -----> |
|||
⚫ | |||
<!----- 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 68: | ||
| [[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|}}}|<tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}}<!-- |
|||
{{#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><hr><nowiki>{{esoteric}}</nowiki><hr> |
|||
---- |
|||
⚫ | |||
⚫ | |||
*'''Infobox Chancellor''' |
*'''Infobox Chancellor''' |
||
*'''Infobox Governor General''' |
*'''Infobox Governor General''' |
||
Line 55: | Line 92: | ||
*'''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 21:44, 4 November 2006
Born |
---|
{{esoteric}}
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