Difference between revisions of "Template:Canadian election result/top/ElectionYearTest/doc"

From blackwiki
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

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: