Template:Electiontable
From MicrasWiki
Usage
This template marks the beginning of a table and defines borders, margins, background colours, and text alignment within the table. (Default alignment is "right" - for numbers, others must be specified.) Table rows and cells are written as usual in any number and the table is closed with "|}"
Example:
| Parties | Votes | % | +/- | Seats | +/- |
|---|---|---|---|---|---|
| The Little Green Party | 123,456 | 79.2 | -8.3 | 53 | -8 |
| The Red Party | 23,697 | 15.2 | +6.6 | 10 | +4 |
| The Sun-Followers' Party | 8,730 | 5.6 | +1.7 | 4 | +4 |
| Total | 155,883 | 100% | 67 | ||
{| border="1" cellpadding="4" cellspacing="1" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; text-align:right; border-collapse: collapse; font-size: 95%;"
|+