On this page you will find lots of things I'm tinkering with (new templates and styles), if you have any ideas, leave them on the talk page — thanks :)

Election result table

edit
2001 General Election
Name Party Votes % ±%
John Maples Conservative 27,606 50.3 +2.0
Susan Juned Liberal Democrat 15,804 28.8 +3.3
Mushtaq Hussain Labour 9,164 16.7 -3.8
Ron Mole UK Independence 1,184 2.2 +1.3
Mick Davies Green 1,156 2.1
Majority 11,802 21.5
Turnout 54,914 64.4 -11.8

Template suggestions

edit

Template:ElectionResultHeader

edit
{| {{subst:prettytable}}
! colspan="6"|{{{1}}}
|-
! style="width: 3px"| 
!Name
!Party
!Votes
!%
!±%
|-

Template:ElectionResultFooter

edit
|-
| colspan="3" align="right"|'''Majority'''||{{{1}}}||{{{2}}}||{{{3}}}
|-
| colspan="3" align="right"|'''Turnout'''||{{{4}}}||{{{5}}}||{{{6}}}
|}

Full example

edit
{{ElectionResultHeader|2001 General Election}}
| style="background-color: #000099"| ||John Maples||Conservative||27,606||50.3||+2.0
|-
| style="background-color: #FF9900"| ||Susan Juned||Liberal Democrat||15,804||28.8||+3.3
|-
| style="background-color: #CC0000"| ||Mushtaq Hussain||Labour||9,164||16.7||-3.8
|-
| style="background-color: #663366"| ||Ron Mole||UK Independence||1,184||2.2||+1.3
|-
| style="background-color: #339933"| ||Mick Davies||Green||1,156||2.1||
{{ElectionResultFooter|11,802|21.5||54,914|64.4|-11.8}}