Template:Election box ranked choice begin/testcases
Appearance
![]() | This is the template test cases page for the sandbox of Template:Election box ranked choice begin. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
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 |
|
|
|
| ||||||||||
Republican | Aaron Adimsan | 2 | 1,120 | 56.00% |
|
With old parameters:
Alcatraz mayor, 1935 | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Party | Candidate |
|
|
|
| ||||||||||
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}}
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 |
|
|
|
| ||||||||||
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 |
|
|
|
| ||||||||||
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]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% |
|