Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(Attempt to fix by removing blank lines)
(Self-revert; that didn't fix it.)
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"--><!--

<!----- Name ----->
<!----- Name ----->
|+ style="font-size:125%";"| '''{{{name|{{PAGENAME}}}}}'''<!--
|+ style="font-size:125%";"| '''{{{name|{{PAGENAME}}}}}'''<!--

<!----- Image ----->
<!----- Image ----->
{{#if:{{{image|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{image}}}|{{#if:{{{imagesize|}}}|<!--then:-->{{{imagesize}}}|200px}}|{{PAGENAME}}]]<br/>
{{#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>}}
<small>{{{caption|}}}<small/></td></tr>}}
{{#if:{{{smallimage|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/>{{{caption|}}}</td></tr>}}<!--
{{#if:{{{smallimage|}}} |<!--then:--> <tr style="text-align:center;"><td colspan="2"> [[Image:{{{smallimage}}}|{{PAGENAME}}]]<br/>{{{caption|}}}</td></tr>}}<!--

<!----- Order ----->
<!----- Order ----->
{{#if:{{{order|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2"> {{{order}}}</th></tr>}}<!--
{{#if:{{{order|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2"> {{{order}}}</th></tr>}}<!--

<!----- Term ----->
<!----- Term ----->
{{#if:{{{term_start|}}} |<!--then:-->
{{#if:{{{term_start|}}} |<!--then:-->
Line 18: Line 22:
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start}}}</td></tr>}}
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start}}}</td></tr>}}
}}<!--
}}<!--

<!----- Vice president/s, Vice prime minister/s, Deputy/ies ----->
<!----- Vice president/s, Vice prime minister/s, Deputy/ies ----->
{{#if:{{{vicepresident|}}} |<!--then:--> <tr><th>Vice&nbsp;President(s)&nbsp;&nbsp;</th><td>{{{vicepresident}}}</td></tr>}}
{{#if:{{{vicepresident|}}} |<!--then:--> <tr><th>Vice&nbsp;President(s)&nbsp;&nbsp;</th><td>{{{vicepresident}}}</td></tr>}}
{{#if:{{{vice prime minister|}}} |<!--then:--> <tr><th><small>Vice&nbsp;Prime&nbsp;Minister(s)</small>&nbsp;&nbsp;</th><td>{{{vice prime minister}}}</td></tr>}}
{{#if:{{{vice prime minister|}}} |<!--then:--> <tr><th><small>Vice&nbsp;Prime&nbsp;Minister(s)</small>&nbsp;&nbsp;</th><td>{{{vice prime minister}}}</td></tr>}}
{{#if:{{{deputy|}}} |<!--then:--> <tr><th>Deputy</th><td>{{{deputy}}}</td></tr>}}<!--
{{#if:{{{deputy|}}} |<!--then:--> <tr><th>Deputy</th><td>{{{deputy}}}</td></tr>}}<!--

<!----- Predecessor/Successor ----->
<!----- Predecessor/Successor ----->
{{#if:{{{predecessor|}}} |<!--then:--> <tr><th>Preceded&nbsp;by</th><td>{{{predecessor}}}</td></tr>}}
{{#if:{{{predecessor|}}} |<!--then:--> <tr><th>Preceded&nbsp;by</th><td>{{{predecessor}}}</td></tr>}}
{{#if:{{{successor|}}} |<!--then:--> <tr><th>Succeeded&nbsp;by</th><td>{{{successor}}}</td></tr>}}<!--
{{#if:{{{successor|}}} |<!--then:--> <tr><th>Succeeded&nbsp;by</th><td>{{{successor}}}</td></tr>}}<!--

<!----- Second order/term ----->
<!----- Second order/term ----->
{{#if:{{{order2|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2"> {{{order2}}}</th></tr>}}
{{#if:{{{order2|}}} |<!--then:--> <tr style="text-align:center;"><th colspan="2"> {{{order2}}}</th></tr>}}
Line 36: Line 43:
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start2}}}</td></tr>}}
|<!--else:--> <tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start2}}}</td></tr>}}
}}<!--
}}<!--


<!----- President ----->
<!----- President ----->
{{#if:{{{president|}}} |<!--then:--> <tr><th>President</th><td>{{{president}}}</td></tr>}}<!--
{{#if:{{{president|}}} |<!--then:--> <tr><th>President</th><td>{{{president}}}</td></tr>}}<!--

<!----- Second predecessor/successor ----->
<!----- Second predecessor/successor ----->
{{#if:{{{predecessor2|}}} |<!--then:--> <tr><th>Preceded&nbsp;by</th><td>{{{predecessor2}}}</td></tr>}}
{{#if:{{{predecessor2|}}} |<!--then:--> <tr><th>Preceded&nbsp;by</th><td>{{{predecessor2}}}</td></tr>}}
{{#if:{{{successor2|}}} |<!--then:--> <tr><th>Succeeded&nbsp;by</th><td>{{{successor2}}}</td></tr>}}<!--
{{#if:{{{successor2|}}} |<!--then:--> <tr><th>Succeeded&nbsp;by</th><td>{{{successor2}}}</td></tr>}}<!--

<!----- Birth/Death ----->
<!----- Birth/Death ----->
|-
|-
Line 47: Line 58:
|-
|-
{{#if:{{{death_date|}}} |<!--then:--> <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 ----->
<!----- Constituency ----->
{{#if:{{{constituency|}}} |<!--then:--> <tr><th>Constituency</th><td>{{{constituency}}}</td></tr>}}<!--
{{#if:{{{constituency|}}} |<!--then:--> <tr><th>Constituency</th><td>{{{constituency}}}</td></tr>}}<!--

<!----- Party ----->
<!----- Party ----->
{{#if:{{{party|}}} |<!--then:--> <tr><th>Political&nbsp;party</th><td>{{#switch:{{{party}}}
{{#if:{{{party|}}} |<!--then:--> <tr><th>Political&nbsp;party</th><td>{{#switch:{{{party}}}
Line 64: Line 77:
| {{{party}}} }}
| {{{party}}} }}
}}<!--
}}<!--

<!----- Spouse etc ----->
<!----- Spouse etc ----->
{{#if:{{{spouse|}}} |<!--then:--> <tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}}
{{#if:{{{spouse|}}} |<!--then:--> <tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}}
Line 71: Line 85:
{{#if:{{{footnotes|}}} |<!--then:--> <tr><td colspan="2" style="font-size:smaller; border-top:1px solid;">{{{footnotes}}}</td></tr>}}
{{#if:{{{footnotes|}}} |<!--then:--> <tr><td colspan="2" style="font-size:smaller; border-top:1px solid;">{{{footnotes}}}</td></tr>}}
|}<noinclude>{{clear}}<br><hr><br>{{esoteric}}
|}<noinclude>{{clear}}<br><hr><br>{{esoteric}}



Please use the most appropriate name when placing this template on a page (i.e. the following all redirect here):
Please use the most appropriate name when placing this template on a page (i.e. the following all redirect here):
Line 78: Line 93:
*'''Infobox Prime Minister'''
*'''Infobox Prime Minister'''
*'''Infobox Vice President'''
*'''Infobox Vice President'''



<!--Categories-->
<!--Categories-->