Difference between revisions of "Template:Infobox CanadianMP"

From blackwiki
Jump to navigation Jump to search
imported>Bryan Derksen
(template doc template)
imported>CBM
Line 1: Line 1:
{| class="infobox" style="width:20em; font-size:90%; text-align:left;" cellpadding="3"
+
#redirect [[Template:Infobox Officeholder]]
|+ style="font-size:larger;" | '''{{{name}}}'''<!--
 
-->{{#if:{{{image|}}}|<tr style="text-align:center;"><td colspan="2">[[Image:{{{image}}}|{{{imagesize|142px}}}|{{PAGENAME}}]]<br />{{{caption|}}}</td></tr>}}<!--
 
-->{{#if:{{{smallimage|}}}|<tr style="text-align:center;"><td colspan="2">[[Image:{{{smallimage}}}|{{PAGENAME}}]]<br />{{{caption|}}}</td></tr>}}<!--
 
-->{{#if:{{{cabinet|}}}|<tr><th style="text-align:center; font-size: 110%; " colspan="2"><b>{{{cabinet}}}</b></th></tr>}}<!--
 
-->{{#if:{{{party colour|}}}|<tr><th style="text-align:center; height: 15px; background:{{ #switch: {{{party colour}}}
 
| Liberal
 
| Liberl Party of Canada
 
| [[Liberal]]
 
| LPC
 
| [[LPC]]
 
| [[Liberal Party of Canada|Liberal Party]]
 
| Liberal Party =  lightcoral
 
| Conservative
 
| [[Conservative]]
 
| Conservative Party of Canada
 
| [[Conservative Party of Canada|Conservative Party]]
 
| CPC
 
| [[Conservative Party of Canada|CPC]]
 
| Conservative Party = cornflowerblue
 
| NDP
 
| [[NDP]]
 
| [[New Democratic Party of Canada|NDP]]
 
| New Democrats =sandybrown
 
| Bloc
 
| [[Bloc]]
 
| Bloc Québécois
 
| Bloc Quebecois
 
| BQ
 
| Bloc Quebecois =lightskyblue
 
| Independent
 
| [[Independent politican|Independent]]
 
| [[Independent]] =#999999
 
| CCF
 
| [[CCF]]
 
| [[Co-Operative Commonwealth Federation|CCF]]
 
| CCF = #EEDDAA
 
| Reform
 
| [[Reform]]
 
| [[Reform Party of Canada|Reform]]
 
| Reform =mediumseagreen
 
}};" colspan="2"></th></tr>}}<!--
 
-->{{#if:{{{term_end|}}}|<!--then: in office from/to--><tr><th style="border-bottom:none; text-align:center;" colspan="2">In&nbsp;office</th></tr><tr><td style="border-top:none; text-align:center;" colspan="2">{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}</td></tr>|<!--else: assume current--><tr><th style="text-align:center; " colspan="2">[[Incumbent]]</th></tr>
 
}}<!--
 
-->{{#if:{{{riding|}}}|<tr><th>Riding</th><td>{{{riding}}}</td></tr>}}<!--
 
-->{{#if:{{{term_end|}}}|<!--then--> |<!--else--><tr><th>In&nbsp;office&nbsp;since</th><td>{{{term_start}}}</td></tr>}}<!--
 
-->{{#if:{{{predecessor|}}}|<tr><th>Preceded&nbsp;by</th><td>{{{predecessor}}}</td></tr>}}<!--
 
-->{{#if:{{{successor|}}}|<tr><th>Succeeded&nbsp;by</th><td>{{{successor}}}</td></tr>}}
 
|-
 
! Born
 
| {{{birth_date|}}}<br />{{{birth_place|}}}<!--
 
-->{{#if:{{{death_date|}}}|<tr><th>Died</th><td>{{{death_date}}}<br />{{{death_place|}}}</td></tr>}}<!--
 
-->{{#if:{{{residence|}}}|<tr><th>Residence</th><td>{{{residence}}}</td></tr>}}<!--
 
-->{{#if:{{{constituency|}}}|<tr><th>Constituency</th><td>{{{constituency}}}</td></tr>}}<!--
 
-->{{#if:{{{party|}}}|<tr><th>Political&nbsp;party</th>
 
<td>
 
{{ #switch: {{{party}}}
 
| Liberal
 
| Liberal Party of Canada
 
| [[Liberal]]
 
| LPC
 
| [[LPC]]
 
| [[Liberal Party of Canada|Liberal Party]]
 
| Liberal Party =  [[Liberal Party of Canada|Liberal]]
 
| Conservative
 
| [[Conservative]]
 
| Conservative Party of Canada
 
| [[Conservative Party of Canada|Conservative Party]]
 
| CPC
 
| [[Conservative Party of Canada|CPC]]
 
| Conservative Party = [[Conservative Party of Canada|Conservative]]
 
| NDP
 
| [[NDP]]
 
| [[New Democratic Party of Canada|NDP]]
 
| New Democrats = [[New Democratic Party]]
 
| Bloc
 
| [[Bloc]]
 
| Bloc Québécois
 
| Bloc Quebecois
 
| BQ
 
| [[Bloc Quebecois]] = [[Bloc Québécois]]
 
| CCF
 
| [[CCF]]
 
| [[Co-Operative Commonwealth Federation|CCF]]
 
| CCF = [[Co-Operative Commonwealth Federation|CCF]]
 
| {{{party}}}
 
}}
 
</td></tr>}}<!--
 
-->{{#if:{{{profession|}}}|<tr><th>Profession(s)</th><td>{{{profession}}}</td></tr>}}<!--
 
-->{{#if:{{{religion|}}}|<tr><th>Religion</th><td>{{{religion}}}</td></tr>}}<!--
 
-->{{#if:{{{spouse|}}}|<tr><th>Spouse</th><td>{{{spouse}}}</td></tr>}}<!--
 
-->{{#if:{{{portfolio|}}}|<tr><th>Portfolio(s)</th><td>{{{portfolio}}}</td></tr>}}<!--
 
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2" style="font-size: smaller; border-top: 1px solid;">{{{footnotes}}}</td></tr>}}<!--
 
-->{{#if:{{{term_end2|}}}|<!--then: in office from/to--><tr><th style="border-bottom:none; text-align:center;" colspan="2">In&nbsp;office</th></tr><tr><td style="border-top:none; text-align: center;" colspan="2">{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}</td></tr>}}<!--
 
-->{{#if:{{{predecessor2|}}}|<tr><th>Preceded&nbsp;by</th><td>{{{predecessor2}}}</td></tr>}}<!--
 
-->{{#if:{{{successor2|}}}|<tr><th>Succeeded&nbsp;by</th><td>{{{successor2}}}</td></tr>}}<!--
 
-->{{#if:{{{portfolio2|}}}|<tr><th>Portfolio(s)</th><td>{{{portfolio2}}}</td></tr>}}
 
|}<noinclude>
 
{{template doc}}</noinclude>
 

Revision as of 01:36, 13 November 2007