Difference between revisions of "Template:Prime Minister Candidates"

From NSwiki, the NationStates encyclopedia.
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| class="toccolours" style="float:right;width:{{#if:{{{size|}}}|{{#expr:{{{size}}} + 2}}|182}}px;margin: 0 0 0 1em;"
+
 
{{#if:{{{year1|}}}|<tr><td>[[United Kingdom general election, {{{year1}}}|{{{year1}}} election]] '''•''' [[MPs elected in the United Kingdom general election, {{{year1}}}|MPs]]</td></tr>}}{{#if:{{{year2|}}}|<tr><td>[[United Kingdom general election, {{{year2}}}|{{{year2}}} election]] '''•''' [[MPs elected in the United Kingdom general election, {{{year2}}}|MPs]]</td></tr>}}{{#if:{{{year3|}}}|<tr><td>[[United Kingdom general election, {{{year3}}}|{{{year3}}} election]] '''•''' [[MPs elected in the United Kingdom general election, {{{year3}}}|MPs]]</td></tr>}}{{#if:{{{year4|}}}|<tr><td>[[United Kingdom general election, {{{year4}}}|{{{year4}}} election]] '''•''' [[MPs elected in the United Kingdom general election, {{{year4}}}|MPs]]</td></tr>}}{{#if:{{{year5|}}}|<tr><td>[[United Kingdom general election, {{{year5}}}|{{{year5}}} election]] '''•''' [[MPs elected in the United Kingdom general election, {{{year5}}}|MPs]]</td></tr>}}
+
|}
+
{{ImageStackRight|{{#if:{{{size|}}}|{{#expr:{{{size}}} + 20}}|200}}|{{#if:{{{leader1|}}}|[[Image:{{{image1}}}|{{{size|180}}}px|thumb|{{{leader1}}}]]}}{{#if:{{{leader2|}}}|[[Image:{{{image2}}}|{{{size|180}}}px|thumb|{{{leader2}}}]]}}{{#if:{{{leader3|}}}|[[Image:{{{image3}}}|{{{size|180}}}px|thumb|{{{leader3}}}]]}}{{#if:{{{leader4|}}}|[[Image:{{{image4}}}|{{{size|180}}}px|thumb|{{{leader4}}}]]}}
+
}}<noinclude>
+
== Usage ==
+
Copy and paste the template below:
+
<pre>
+
{{Infobox UK Election
+
| year1=
+
| year2=
+
| year3=
+
| year4=
+
| year5=
+
| leader1=
+
| leader2=
+
| leader3=
+
| leader4=
+
| image1=
+
| image2=
+
| image3=
+
| image4=
+
}}
+
</pre>
+
</noinclude>
+

Revision as of 04:00, 15 September 2007