Template:Electoral history election
Jump to navigation
Jump to search
| Year | Electorate | Party | Votes | Result | |||
|---|---|---|---|---|---|---|---|
| Votes | % | ±% | |||||
| {{{year}}} | {{{electorate}}} | rowspan="{{{rows}}}" style="max-width:5px; background:Template:Political party;" | | Template:Political party | {{{votes}}} | {{{percent}}} | {{{change}}} | |
Usage
This template creates a row in an electoral history table. It should be used inside {{Electoral history begin}}.
Parameters
- Main row
{{{year}}}— Election year{{{electorate}}}— Electorate/district name{{{party}}}— Political party name (must match a party in {{Political party}}){{{rows}}}— Number of rows to span (for the electorate and party cells){{{votes}}}— Number of votes{{{percent}}}— Percentage of vote{{{change}}}— Change in percentage since previous election{{{elected}}}— Result:Elected,Not elected,Re-elected,Lost, or custom text
- Additional rows (year2–year8)
- Same parameters with suffix 2–8:
votes2,percent2,change2,elected2, etc.
Example
{{Electoral history begin |title=Electoral history of Toshiro Kurosawa}}
{{Electoral history election
| year = 2010
| electorate = Miyagi 3rd district
| party = Liberal Democratic Party (Okaiken)
| rows = 4
| votes = 89,432
| percent = 52.3
| change = ''New seat''
| elected = Elected
| year2 = 2016
| votes2 = 74,221
| percent2 = 44.1
| change2 = -8.2
| elected2 = Re-elected
| year3 = 2021
| votes3 = 61,008
| percent3 = 38.7
| change3 = -5.4
| elected3 = Re-elected
| year4 = 2025
| votes4 = 52,445
| percent4 = 33.2
| change4 = -5.5
| elected4 = Re-elected
}}
{{End}}
Supported parties
Template:Political party ( ), Template:Political party ( ), Template:Political party ( ), Template:Political party ( ), Komeito ( ), Independent ( )