Template:Infobox Election Result
From Wikipedia, the free encyclopedia
{{{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}}} |
[edit] Template documentation
{{Infobox Election Result <!-- Overview --> | jurisdiction = | year = | hung = | wincolour = | winner = <!-- Major parties --> | party1 = | colour1 = | vote1 = | swing1 = | seats1 = | change1 = | party2 = | colour2 = | vote2 = | swing2 = | seats2 = | change2 = <!-- Minor parties --> | party3 = | colour3 = | vote3 = | swing3 = | seats3 = | change3 = | party4 = | colour4 = | vote4 = | swing4 = | seats4 = | change4 = | party5 = | colour5 = | vote5 = | swing5 = | seats5 = | change5 = | party6 = | vote6 = | swing6 = | seats6 = | change6 = | party7 = | vote7 = | swing7 = | seats7 = | change7 = | party8 = | vote8 = | swing8 = | seats8 = | change8 = }}
[edit] Usage
[edit] Fields
- jurisdiction = Where the election took place
- Allowed values: au (Australia), nsw, vic, qld, sa, wa, act, nt, nz (New Zealand), nz86 (New Zealand pre-1986)
- year = Year the election took place
- hung = Required.
- Allowed values: yes (Hung parliament), no
- wincolour = Leave blank for grey.
- Other allowed values: red (Australian Labor Party/New Zealand Labour Party), blue (Liberal Party of Australia, New Zealand National Party, Country Liberal Party), green (National Party of Australia and its predecessors)
- winner = Majority party or parties. Do not link.
- partyn = Party name. Please provide a link.
- colourn = Leave blank for grey.
- Other allowed values: red (Australian Labor Party/New Zealand Labour Party), blue (Liberal Party of Australia, New Zealand National Party, Country Liberal Party), green (National Party of Australia and its predecessors)
- voten = Primary vote share, to one decimal place
- swingn = Primary vote share change on last general election, to one decimal place. Use ↑ or ↓ characters to indicate positive or negative change.
- seatsn = Number of seats won
- changen = Difference between number of seats held before and after election. Use ↑ or ↓ characters to indicate positive or negative change. Leave blank for no change.
[edit] Other notes
- Arrange parties in order of seat share
- Colour attributes for parties 6, 7 and 8 are ignored
- Put the independent total last
- Do not include any statewide vote or swing amount for the independents
- If parties with sitting MPs are no longer contesting the election, add their total number of lost seats as an "Others" row at the end, after any independents
- Use discretion when including parties who win no lower house seats – this infobox is to provide an overview only