Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (activate {{esoteric}}) |
(rv self) |
||
Line 1:
{| class="infobox" style="width:23em; font-size:90%; text-align:left;"
|+ style="font-size:larger;" | '''{{{name|{{PAGENAME}}}}}'''<!--
-->{{#if:{{{image|}}}
-->{{#if:{{{smallimage|}}}|
-->{{#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>
▲{{#if:{{{image|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|200px}}|{{PAGENAME}}]]<br/> <small>{{{caption|}}}<small/></td></tr>}}
{{#if:{{{smallimage|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/>{{{caption|}}}</td></tr>}}<!--▼
|<!--else:--> <tr><th>In office since</th><td>{{{term_start}}}</td></tr>}}▼
}}<!--
▲
-->{{#if:{{{
-->{{#if:{{{
-->{{#if:{{{
-->{{#if:{{{
-->{{#if:{{{
▲-->{{#if:{{{
-->{{#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:{{{predecessor|}}} |<!--then:--> <tr><th>Preceded by</th><td>{{{predecessor}}}</td></tr>}}▼
-->{{#if:{{{
-->{{#if:{{{
▲-->{{#if:{{{
-->{{#if:{{{
|-
! Born
-->{{#if:{{{death_date|}}}
-->{{#if:{{{
<td>
{{ #switch: {{{party}}}
▲{{#if:{{{president|}}} |<!--then:--><tr><th>President</th><td>{{{president}}}</td></tr>}}<!--
▲{{#if:{{{predecessor2|}}} |<!--then:--><tr><th>Preceded by</th><td>{{{predecessor2}}}</td></tr>}}
▲{{#if:{{{successor2|}}} |<!--then:--><tr><th>Succeeded by</th><td>{{{successor2}}}</td></tr>}}<!--
▲<tr><th>Born</th><td>{{{birth_date|}}}<br/>{{{birth_place|}}}</td></tr>
▲{{#if:{{{death_date|}}} |<!--then:--> <tr><th>Died</th><td>{{{death_date}}}<br/>{{{death_place|}}}</td></tr>}}<!--
▲{{#if:{{{constituency|}}} |<!--then:--><tr><th>Constituency</th><td>{{{constituency}}}</td></tr>}}<!--
▲{{#if:{{{party|}}} |<!--then:--> <tr><th>Political party</th><td>{{#switch:{{{party}}}
| [[United States Democratic Party|Democrat]]
| [[Democratic Party (United States)|Democratic]]
| [[Democratic Party (United States)|Democrat]] = [[Democratic Party (United States)|Democratic]]
| [[Republican Party (United States)|Republican]]
| [[United States Republican Party]]
Line 68 ⟶ 34:
| [[Republican Party (United States)|Republican Party]] = [[United States Republican party|Republican]]
| [[Conservative Party (UK)|Conservative Party]]
| [[Conservative Party (UK)|Conservative]] = [[Conservative Party (UK)|Conservative]]
| [[Labour Party (UK)|Labour Party]]
| [[Labour Party (UK)|Labour]] = [[Labour Party (UK)|Labour]]
| {{{party}
}}
</td></tr>}}<!--
-->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}}<!--
-->{{#if:{{{
-->{{#if:{{{
-->{{#if:{{{
-->{{#if:{{{
|}<noinclude>
{{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 Governor General'''
Line 92 ⟶ 55:
*'''Infobox Vice President'''
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:People infobox templates|Officeholder]]
[[Category:Politics infobox templates|Officeholder]]
[[ast:Plantilla:Info presidentes]]
[[bg:Шаблон:Президент инфо]]
|