Jump to content

Template:Election box ranked choice begin/testcases

From Wikipedia, the free encyclopedia


Basic[edit]

Testing sandbox version[edit]

With new parameters:

{{Election box ranked choice begin/sandbox | title=Alcatraz mayor, 1935 }}

{{Election box ranked choice candidate with party link
| party = Republican Party (US) | candidate = [[Aaron Adimsan]]
| maxround=2 | maxvotes=1120 | maxvotespercent=56.00 | r1votes=750 | fullwidthvotes=1200
}}

{{Election box ranked choice end}}

Alcatraz mayor, 1935
Party Candidate
Maximum
Round
Maximum
Votes
Share in
Maximum
Round
Maximum Votes
 First Round Votes  Transfer Votes 


Republican Aaron Adimsan 2 1,120 56.00%

With old parameters:

Alcatraz mayor, 1935
Party Candidate
Maximum
Round
Maximum
Votes
Share in
Maximum
Round
Maximum Votes
 First Round Votes  Transfer Votes 


Republican Aaron Adimsan 2 1,120 56.00%

Testing main template[edit]

{{Election box ranked choice begin | title=Alcatraz mayor, 1935 }}

{{Election box ranked choice candidate with party link
| party = Republican Party (US) | candidate = [[Aaron Adimsan]]
| maxround=2 | maxvotes=1,120 | maxvotespercent=56.00 | r1voteswidth=25.00ex | transfervoteswidth=12.33ex
}}

{{Election box ranked choice end}}

Alcatraz mayor, 1935
Party Candidate Maximum
round
Maximum
votes
Share in
maximum
round
Maximum votes
First round votesTransfer votes


Republican Aaron Adimsan 2 1,120 56.00%

Extract of article example[edit]

Testing sandbox version with new parameters[edit]

San Francisco mayoral election, 2011[1]
Party Candidate
Maximum
Round
Maximum
Votes
Share in
Maximum
Round
Maximum Votes
 First Round Votes  Transfer Votes 


Democratic Ed Lee (incumbent) 12 84,457 59.64%
Democratic John Avalos 12 57,160 40.36%
Independent Tony Hall 6 7,896 4.14%
Republican Wilma Pang 3 469 0.24%
(unknown) Emil Lawrence 2 397 0.20%
Independent Write-in 1 38 0.02%

Testing sandbox version with old parameters[edit]

San Francisco mayoral election, 2011[2]
Party Candidate
Maximum
Round
Maximum
Votes
Share in
Maximum
Round
Maximum Votes
 First Round Votes  Transfer Votes 


Democratic Ed Lee (incumbent) 12 84,457 59.64%
Democratic John Avalos 12 57,160 40.36%
Independent Tony Hall 6 7,896 4.14%
Republican Wilma Pang 3 469 0.24%
(unknown) Emil Lawrence 2 397 0.20%
Independent Write-in 1 38 0.02%

Testing main template[edit]

San Francisco mayoral election, 2011[3]
Party Candidate Maximum
round
Maximum
votes
Share in
maximum
round
Maximum votes
First round votesTransfer votes


Democratic Ed Lee (incumbent) 12 84,457 59.64%
Democratic John Avalos 12 57,160 40.36%
Independent Tony Hall 6 7,896 4.14%
Republican Wilma Pang 3 469 0.24%
(unknown) Emil Lawrence 2 397 0.20%
Independent Write-in 1 38 0.02%

Reference List[edit]