Template:Canadian election result/top/ElectionYearTest/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Canadian election result/top/ElectionYearTest. It contains usage information, categories and other content that is not part of the original template page. |
| 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)