Template:Canadian election result/top/ElectionYearTest
Jump to navigation
Jump to search
![]() | This template uses Lua: |
A temporary helper template to test whether the {{{election}}}
}} parameter in {{Canadian election result/top}} can reliably be used at the start if the name.
If it can be used that way, then {{Canadian election result/top}} can be modified to out the date at the start of the link, per WP:NC-GAL.
Usage
{{Canadian election result/top/ElectionYearTest|electionyear={{{election}}}}}
Output
Categorises the page in one of the following tracking categories:
- Category:CanElecResTopTest with nil value (population: 0)
- Category:CanElecResTopTest with bare year (population: 0)
- Category:CanElecResTopTest with month year (population: 0
- Category:CanElecResTopTest with something before year (population: 0)
- Category:CanElecResTopTest with unrecognised value (population: 0)
The above documentation is transcluded from Template:Canadian election result/top/ElectionYearTest/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |