Template:Electoral history election/doc: Difference between revisions
Jump to navigation
Jump to search
Talod>Takeru-Sync Create documentation for adapted TALOD template |
m 1 revision imported |
(No difference)
| |
Latest revision as of 15:06, 22 July 2026
| This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
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 ( )