Difference between revisions of "Template:Infobox Election Result"
Jump to navigation
Jump to search
imported>Orderinchaos (+) |
imported>Orderinchaos (+) |
||
| Line 37: | Line 37: | ||
|- bgcolor="#eeeeff" | |- bgcolor="#eeeeff" | ||
| {{{party1}}} | | {{{party1}}} | ||
| − | | width="20%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | | width="20%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} | {{{vote1}}} |
| − | | width="10%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | | width="10%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} | {{{swing1}}} |
| − | | width="20%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | | width="20%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} | {{{seats1}}} |
| − | | width="10%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | | width="10%" align="right" style={{#switch: {{{colour1}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} | {{{change1}}} |
|- | |- | ||
| {{{party2}}} | | {{{party2}}} | ||
| − | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} | {{{vote2}}} |
| − | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} | {{{swing2}}} |
| − | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} | {{{seats2}}} |
| − | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | | align="right" style={{#switch: {{{colour2}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} | {{{change2}}} |
|- bgcolor="#eeeeff" | |- bgcolor="#eeeeff" | ||
{{#if: {{{party3<includeonly>|</includeonly>}}} | | {{#if: {{{party3<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party3}}} | {{!}} {{{party3}}} | ||
| − | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{vote3}}} |
| − | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{swing3}}} |
| − | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{seats3}}} |
| − | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour3}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{change3}}} }} |
|- | |- | ||
{{#if: {{{party4<includeonly>|</includeonly>}}} | | {{#if: {{{party4<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party4}}} | {{!}} {{{party4}}} | ||
| − | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{vote4}}} |
| − | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{swing4}}} |
| − | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{seats4}}} |
| − | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour4}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{change4}}} }} |
|- bgcolor="#eeeeff" | |- bgcolor="#eeeeff" | ||
{{#if: {{{party5<includeonly>|</includeonly>}}} | | {{#if: {{{party5<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party5}}} | {{!}} {{{party5}}} | ||
| − | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{vote5}}} |
| − | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{swing5}}} |
| − | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: # | + | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 150%;color: #A00;" | blue = "font-size: 150%;color: #00A;" | green = "font-size: 150%;color: #0A0;" | "font-size: 150%;color: #333;" }} {{!}} {{{seats5}}} |
| − | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: # | + | {{!}} align="right" style={{#switch: {{{colour5}}} | red = "font-size: 90%;color: #A00;" | blue = "font-size: 90%;color: #00A;" | green = "font-size: 90%;color: #0A0;" | "font-size: 90%;color: #333;" }} {{!}} {{{change5}}} }} |
|- | |- | ||
{{#if: {{{party6<includeonly>|</includeonly>}}} | | {{#if: {{{party6<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party6}}} | {{!}} {{{party6}}} | ||
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{vote6}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{swing6}}} |
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{seats6}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{change6}}} }} |
|- bgcolor="#eeeeff" | |- bgcolor="#eeeeff" | ||
{{#if: {{{party7<includeonly>|</includeonly>}}} | | {{#if: {{{party7<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party7}}} | {{!}} {{{party7}}} | ||
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{vote7}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{swing7}}} |
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{seats7}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{change7}}} }} |
|- | |- | ||
{{#if: {{{party8<includeonly>|</includeonly>}}} | | {{#if: {{{party8<includeonly>|</includeonly>}}} | | ||
{{!}} {{{party8}}} | {{!}} {{{party8}}} | ||
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{vote8}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{swing8}}} |
| − | {{!}} align="right" style="font-size: 150%;color: # | + | {{!}} align="right" style="font-size: 150%;color: #333;" {{!}} {{{seats8}}} |
| − | {{!}} align="right" style="font-size: 90%;color: # | + | {{!}} align="right" style="font-size: 90%;color: #333;" {{!}} {{{change8}}} }} |
|- | |- | ||
{{#switch: {{{hung}}} | {{#switch: {{{hung}}} | ||
| yes = {{!}} bgcolor="#555" colspan="5" align="center" style="font-size: 150%;color: #FFF;" {{!}} '''No majority''' | | yes = {{!}} bgcolor="#555" colspan="5" align="center" style="font-size: 150%;color: #FFF;" {{!}} '''No majority''' | ||
| − | | no = {{!}} bgcolor={{#switch: {{{wincolour}}} | red = "#AB0C08" | blue = "#080CAB" | green = "# | + | | no = {{!}} bgcolor={{#switch: {{{wincolour}}} | red = "#AB0C08" | blue = "#080CAB" | green = "#10a23b" | "#555" }} colspan="5" align="center" style="font-size: 150%;color: #FFF;" {{!}} '''{{{winner}}} win''' }} |
|}<noinclude>{{documentation}}</noinclude> | |}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 07:49, 3 February 2010
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
| {{{jurisdiction}}} | ||||
| {{{year}}} | ||||
| Party | Vote % | Seats | ||
|---|---|---|---|---|
| {{{party1}}} | {{{vote1}}} | {{{swing1}}} | {{{seats1}}} | {{{change1}}} |
| {{{party2}}} | {{{vote2}}} | {{{swing2}}} | {{{seats2}}} | {{{change2}}} |
| {{{party3}}} | {{{vote3}}} | {{{swing3}}} | {{{seats3}}} | {{{change3}}} |
| {{{party4}}} | {{{vote4}}} | {{{swing4}}} | {{{seats4}}} | {{{change4}}} |
| {{{party5}}} | {{{vote5}}} | {{{swing5}}} | {{{seats5}}} | {{{change5}}} |
| {{{party6}}} | {{{vote6}}} | {{{swing6}}} | {{{seats6}}} | {{{change6}}} |
| {{{party7}}} | {{{vote7}}} | {{{swing7}}} | {{{seats7}}} | {{{change7}}} |
| {{{party8}}} | {{{vote8}}} | {{{swing8}}} | {{{seats8}}} | {{{change8}}} |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |