Difference between revisions of "Template:Election box ranked choice first round ballots/testcases"
imported>DCary (create test cases) |
imported>DCary (transition counts) |
||
| Line 2: | Line 2: | ||
== Basic test case == | == Basic test case == | ||
| − | === Testing sandbox version === | + | === Testing sandbox version, new format === |
| − | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | title = San Francisco mayoral election, 2011 | + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | title = San Francisco mayoral election, 2011 | format=new |
| − | | contvotes = | + | | contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42 |
| − | | undervotes = | + | | undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00 |
| − | | registeredvoters = | + | | registeredvoters = 464389 |
| contestturnoutpercent = 42.47 | | contestturnoutpercent = 42.47 | ||
}}</nowiki></code> | }}</nowiki></code> | ||
| − | {{{{BASEPAGENAME}}/sandbox | title = San Francisco mayoral election, 2011 | + | {{{{BASEPAGENAME}}/sandbox | title = San Francisco mayoral election, 2011 | format=new |
| − | | contvotes = | + | | contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42 |
| − | | undervotes = | + | | undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00 |
| − | | registeredvoters = | + | | registeredvoters = 464389 |
| + | | contestturnoutpercent = 42.47 }} | ||
| + | |||
| + | {{clear}} | ||
| + | |||
| + | === Testing sandbox version, old format === | ||
| + | |||
| + | <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>/sandbox | title = San Francisco mayoral election, 2011 | | ||
| + | | contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42 | ||
| + | | undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00 | ||
| + | | registeredvoters = 464389 | ||
| + | | contestturnoutpercent = 42.47 | ||
| + | }}</nowiki></code> | ||
| + | |||
| + | {{{{BASEPAGENAME}}/sandbox | title = San Francisco mayoral election, 2011 | | ||
| + | | contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42 | ||
| + | | undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00 | ||
| + | | registeredvoters = 464389 | ||
| contestturnoutpercent = 42.47 }} | | contestturnoutpercent = 42.47 }} | ||
Revision as of 08:46, 9 December 2011
| File:Gnome-applications-science.svg | This is the template test cases page for the sandbox of Template:Election box ranked choice first round ballots. Script error: No such module "Purge". 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 with these links: |
Contents
Basic test case
Testing sandbox version, new format
{{Election box ranked choice first round ballots/sandbox | title = San Francisco mayoral election, 2011 | format=new
| contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42
| undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00
| registeredvoters = 464389
| contestturnoutpercent = 42.47
}}
| |||||
|---|---|---|---|---|---|
| Count |
| ||||
| Continuing Votes | 194,417 | Template:Rndpad% | |||
| Over Votes | 1,820 | Template:Rndpad% | |||
| Under Votes | 2,004 | Template:Rndpad% | |||
| Contest Ballots | 197,242 | Template:Rndpad% | |||
| Registered Voters | 464,389 | ||||
| Contest Turnout | Template:Rndpad% | ||||
Testing sandbox version, old format
{{Election box ranked choice first round ballots/sandbox | title = San Francisco mayoral election, 2011 |
| contvotes = 194417 | contvotespercent = 98.6 | overvotes = 1820 | overvotespercent = 0.42
| undervotes = 2004 | undervotespercent = 1.02 | contestballots = 197242 | contestballotspercent = 100.00
| registeredvoters = 464389
| contestturnoutpercent = 42.47
}}
| |||||
|---|---|---|---|---|---|
| Count |
| ||||
| Continuing Votes | 194,417 | Template:Rndpad% | |||
| Over Votes | 1,820 | Template:Rndpad% | |||
| Under Votes | 2,004 | Template:Rndpad% | |||
| Contest Ballots | 197,242 | Template:Rndpad% | |||
| Registered Voters | 464,389 | ||||
| Contest Turnout | Template:Rndpad% | ||||
Testing main template
{{Election box ranked choice first round ballots | title = San Francisco mayoral election, 2011
| contvotes = 194,418 | contvotespercent = 98.6 | overvotes = 820 | overvotespercent = 0.42
| undervotes = 2,004 | undervotespercent = 1.02 | contestballots = 197,242 | contestballotspercent = 100.00
| registeredvoters = <ref>http://www.sfelections.org/results/20111108/</ref>464,380
| contestturnoutpercent = 42.47
}}
| Count | Share of Contest Ballots | |
|---|---|---|
| Continuing Votes | 194,418 | Template:Rndpad% |
| Over Votes | 820 | Template:Rndpad% |
| Under Votes | 2,004 | Template:Rndpad% |
| Contest Ballots | 197,242 | Template:Rndpad% |
| Registered Voters | [1]464,380 | |
| Contest Turnout | Template:Rndpad% |