Difference between revisions of "Template:Canadian party colour/testcases"
Jump to navigation
Jump to search
imported>Arctic.gnome (←Created page with '{{template test cases notice}} == Testing sandbox version == <pre>{|class="wikitable" |- |{{Canadian party colour/sandbox|Other|background}} rowspan=2| |{{Cana...') |
imported>Arctic.gnome (→Testing sandbox version: testing CANelec) |
||
Line 30: | Line 30: | ||
{{Canadian party colour/sandbox|CAQ|row-name}} | {{Canadian party colour/sandbox|CAQ|row-name}} | ||
|} | |} | ||
+ | |||
+ | ==Testing [[Template:CANelec]] via sandbox version== | ||
+ | |||
+ | <pre><nowiki>{{</nowiki>Canadian election result/top|Example|2012<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|CA|BQ|John|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|BC|Liberal|Brian|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|PE|NDP|Kim|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|QC|CAQ|Jean|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|NL|PC|Paul|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>CANelec|CA|Conservative|Stephen|123<nowiki>}}</nowiki> | ||
+ | <nowiki>{{</nowiki>end<nowiki>}}</nowiki></pre> | ||
+ | |||
+ | {{Canadian election result/top|Example|2012}} | ||
+ | {{CANelec|CA|BQ|John|123}} | ||
+ | {{CANelec|BC|Liberal|Brian|123}} | ||
+ | {{CANelec|PE|NDP|Kim|123}} | ||
+ | {{CANelec|QC|CAQ|Jean|123}} | ||
+ | {{CANelec|NL|PC|Paul|123}} | ||
+ | {{CANelec|CA|Conservative|Stephen|123}} | ||
+ | {{end}} | ||
{{clear}} | {{clear}} |
Revision as of 18:55, 5 October 2012
![]() | This is the template test cases page for the sandbox of Template:Canadian party colour. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Testing sandbox version
{|class="wikitable" |- |{{Canadian party colour/sandbox|Other|background}} rowspan=2| |{{Canadian party colour/sandbox|SK NDP|background}}|This cell uses the colour {{Canadian party colour/sandbox|SK NDP}} |- |{{Canadian party colour/sandbox|CA PC|background}}|[[Web colors|Colour hex]]: {{Canadian party colour/sandbox|CA PC|nohash}} {{Canadian party colour/sandbox|CA AB United Farmers|row}} |[[Lorem Ipsum]] {{Canadian party colour/sandbox|BC Liberal|row-name}} {{Canadian party colour/sandbox|CA Liberal|row-name}} {{Canadian party colour/sandbox|Liberal|row-name}} {{Canadian party colour/sandbox|CAQ|row-name}} |}
This cell uses the colour #DCDCDC | |
Colour hex: #DCDCDC
#DCDCDC |
Lorem Ipsum
#DCDCDC #DCDCDC #DCDCDC #DCDCDC |
Testing Template:CANelec via sandbox version
{{Canadian election result/top|Example|2012}} {{CANelec|CA|BQ|John|123}} {{CANelec|BC|Liberal|Brian|123}} {{CANelec|PE|NDP|Kim|123}} {{CANelec|QC|CAQ|Jean|123}} {{CANelec|NL|PC|Paul|123}} {{CANelec|CA|Conservative|Stephen|123}} {{end}}
2012 Example election | ||||||||
---|---|---|---|---|---|---|---|---|
Party | Candidate | Votes | ||||||
Bloc Québécois | John | 123 | ||||||
Liberal | Brian | 123 | ||||||
New Democratic | Kim | 123 | ||||||
Coalition Avenir Québec | Jean | 123 | ||||||
Progressive Conservative | Paul | 123 | ||||||
Conservative | Stephen | 123 |
Testing main template
{|class="wikitable" |- |{{Canadian party colour|Other|background}} rowspan=2| |{{Canadian party colour|SK NDP|background}}|This cell uses the colour {{Canadian party colour|SK NDP}} |- |{{Canadian party colour|CA PC|background}}|[[Web colors|Colour hex]]: {{Canadian party colour|CA PC|nohash}} {{Canadian party colour|CA AB United Farmers|row}} |[[Lorem Ipsum]] {{Canadian party colour|BC Liberal|row-name}} {{Canadian party colour|CA Liberal|row-name}} {{Canadian party colour|Liberal|row-name}} {{Canadian party colour|CAQ|row-name}} |}
This cell uses the colour #DCDCDC | |
Colour hex: #DCDCDC
#DCDCDC |
Lorem Ipsum
#DCDCDC #DCDCDC #DCDCDC #DCDCDC |