Jump to content

Template:Election table/testcases

From Wikipedia, the free encyclopedia

Named parameters test

[edit]

{{election table/sandbox|template_name=Election table/testcases|title=Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|template_name=Election table/testcases|title=Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

Named parameters test, collapsed

[edit]

{{election table/sandbox|template_name=Election table/testcases|title=Title to display|collapsed=yes}}

e • d Title to display
Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|template_name=Election table/testcases|title=Title to display|collapsed=yes}}

e • d Title to display
Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

Unnamed parameters test

[edit]

{{election table/sandbox|Election table/testcases|Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|Election table/testcases|Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

Bad edit link, named parameters test

[edit]

{{election table/sandbox|template_name=Name of template|title=Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|template_name=Name of template|title=Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

No edit link, unnamed parameters test

[edit]

{{election table/sandbox|editlink=no|2=Title to display}}

Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|editlink=no|2=Title to display}}

Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

Bad edit link, unnamed parameters test

[edit]

{{election table/sandbox|Name of template|Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50

{{election table|Name of template|Title to display}}

e • d Title to display Summary of Martian election results, 2020
Parties Votes % ± Seats ±
The red party 6042 45.40 -4.41 23 -2
The green party 5678 42.67 +1.23 21 0
Free Mars 345 2.59 +2.59 1 +1
None of the above (unfilled seats) 1242 9.33 +.59 5 +1
Total 13307 100% 50