Template:Recent RfX/testcases
Appearance
| This is the template test cases page for the sandbox of Template:Recent RfX. 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: |
Main template
[edit]Parameter tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfB | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | AE | Elected | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RRfA | Reconfirmed | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | ARE | Reconfirmed | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Withdrawn by candidate | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Closed per WP:NOTNOW | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Closed per WP:SNOW | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Candidate blocked | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Candidate blocked (see diff) | 1 Jan 2020 | 0 | 0 | 0 | 0 |
Math tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 1 | 1 | 1 | 50 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 2 | 1 | 33 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 2 | 100 | 33 |
| Example | RfA | Successful | 1 Jan 2020 | 2 | 1 | 100 | 67 |
| Example | RfA | Successful | 1 Jan 2020 | 99 | 1 | 100 | 99 |
| Example | RfA | Successful | 1 Jan 2020 | 199 | 1 | 100 | >99 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 999 | 100 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 100 | 0 | 1000 | 100 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 0 | 100 | 1000 | 0 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 100 | 100 | 1000 | 50 |
Error handling tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 2 (NAME OF CANDIDATE) VALUE IS BLANK! | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example2 | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | Error: Invalid time. | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 3 (AE CYCLE MONTH AND YEAR) VALUE IS BLANK! | AE | Elected | Error: Invalid time. | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 3 (AE CYCLE MONTH AND YEAR) VALUE IS BLANK! | AE | Elected | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | ERROR: PARAMETER 8 (RESULT) VALUE IS BLANK! | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 2 (NAME OF CANDIDATE) VALUE IS BLANK! | RfA | ERROR: PARAMETER 8 (RESULT) VALUE IS BLANK! | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |
Sandbox
[edit]Parameter tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfB | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | AE | Elected | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RRfA | Reconfirmed | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | ARE | Reconfirmed | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Withdrawn by candidate | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Closed per WP:NOTNOW | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Closed per WP:SNOW | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Candidate blocked | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Candidate blocked (see diff) | 1 Jan 2020 | 0 | 0 | 0 | 0 |
Math tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 1 | 1 | 1 | 50 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 2 | 1 | 33 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 2 | 100 | 33 |
| Example | RfA | Successful | 1 Jan 2020 | 2 | 1 | 100 | 67 |
| Example | RfA | Successful | 1 Jan 2020 | 99 | 1 | 100 | 99 |
| Example | RfA | Successful | 1 Jan 2020 | 199 | 1 | 100 | >99 |
| Example | RfA | Successful | 1 Jan 2020 | 1 | 999 | 100 | <1 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 100 | 0 | 1000 | 100 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 0 | 100 | 1000 | 0 |
| Example | RfA | Unsuccessful | 1 Jan 2020 | 100 | 100 | 1000 | 50 |
Error handling tests
[edit]| Candidate | Type | Result | Date of close | Tally | |||
|---|---|---|---|---|---|---|---|
| S | O | N/A | % | ||||
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 2 (NAME OF CANDIDATE) VALUE IS BLANK! | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example2 | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | Error: Invalid time. | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 3 (AE CYCLE MONTH AND YEAR) VALUE IS BLANK! | AE | Elected | Error: Invalid time. | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 3 (AE CYCLE MONTH AND YEAR) VALUE IS BLANK! | AE | Elected | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | Successful | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| Example | RfA | ERROR: PARAMETER 8 (RESULT) VALUE IS BLANK! | 1 Jan 2020 | 0 | 0 | 0 | 0 |
| ERROR: PARAMETER 2 (NAME OF CANDIDATE) VALUE IS BLANK! | RfA | ERROR: PARAMETER 8 (RESULT) VALUE IS BLANK! | ERROR: PARAMETER 4 (DATE OF CLOSE) VALUE IS BLANK! | 0 | 0 | 0 | 0 |