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 (→Output: fmt) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
<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}}) | ||
| + | |||
| + | {{Purge page|Purge page to update totals}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
| − | + | [[Category:CanElecResTopTest]] | |
| + | [[Category:Canada election result templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 14:59, 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)