Difference between revisions of "Template:Canadian election result/top/ElectionYearTest/doc"
Jump to navigation
Jump to search
imported>BrownHairedGirl (←Created page with '{{Documentation subpage}} {{Lua|Module:CanElecResTopTest}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (se...') |
imported>BrownHairedGirl (add) |
||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
<code><nowiki>{{Canadian election result/top/ElectionYearTest|electionyear={{{election}}}}}</nowiki></code> | <code><nowiki>{{Canadian election result/top/ElectionYearTest|electionyear={{{election}}}}}</nowiki></code> | ||
| + | |||
| + | == Output == | ||
| + | |||
| + | Categorises the page in one of the following tracking categories: | ||
| + | * [[:Category:CanElecResTopTest with nil value]] population: {{PAGESINCATEGORY:CanElecResTopTest with nil value}} | ||
| + | * [[:Category:CanElecResTopTest with bare year]] population: {{PAGESINCATEGORY:CanElecResTopTest with bare year}} | ||
| + | * [[:Category:CanElecResTopTest with month year]] population: {{PAGESINCATEGORY:CanElecResTopTest with month year}} | ||
| + | * [[:Category:CanElecResTopTest with something before year]] population: {{PAGESINCATEGORY:CanElecResTopTest with something before year}} | ||
| + | * [[:Category:CanElecResTopTest with unrecognised value]] population: {{PAGESINCATEGORY:CanElecResTopTest with unrecognised value}} | ||
Revision as of 14:21, 26 June 2019
| 40px | 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. |
| 30px | 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