Jump to content

Template:Canadian party colour/testcases

From Wikipedia, the free encyclopedia

Testing sandbox version

[edit]
{|class="wikitable"
|-
|{{Canadian party colour/sandbox|invalid input|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|invalid input|Liberal|row-name}}
{{Canadian party colour/sandbox|PE|NDP|row-name}}
{{Canadian party colour/sandbox|ON|CoR|row-name}}
{{Canadian party colour/sandbox|ON|CoR|row-name|short}}
{{Canadian party colour/sandbox|ON|CCF|row-name}}
{{Canadian party colour/sandbox|ON|CCF|row-name|short}}
{{Canadian party colour/sandbox|QC|CAQ|row-name}}
|}
This cell uses the colour #F4A460
Colour hex: 9999FF
  Lorem Ipsum
Liberal
Liberal
Liberal
New Democratic
Confederation of Regions
Conf of Regions
Co-operative Commonwealth
CCF
Coalition Avenir Québec
Example of inline citation for the {{Canadian party colour/sandbox|ON|NDP|colour&name}} 
and {{Canadian party colour/sandbox|ON|Green|colour+name}} party colours and wikilinked articles.

Example of inline citation for the  New Democratic and  Green party colours and wikilinked articles.

Example of colour blocks: #386B67 Smith; #5B081D Smith; #6495ED Smith

Testing Template:CANelec via sandbox version

[edit]
{{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

[edit]
{|class="wikitable"
|-
|{{Canadian party colour|Other|background}} rowspan=2|
|{{Canadian party colour/Temporary|SK|NDP|background}}|This cell uses the colour {{Canadian party colour/Temporary|SK|NDP}}
|-
|{{Canadian party colour/Temporary|CA|PC|background}}|[[Web colors|Colour hex]]: {{Canadian party colour/Temporary|CA|PC|nohash}}
{{Canadian party colour/Temporary|CA|AB United Farmers|row}}
|[[Lorem Ipsum]]
{{Canadian party colour/Temporary|BC|Liberal|row-name}}
{{Canadian party colour/Temporary|CA|Liberal|row-name}}
{{Canadian party colour|Invalid input|Liberal|row-name}}
{{Canadian party colour|ON|CoR|row-name}}
{{Canadian party colour|ON|CoR|row-name|short}}
{{Canadian party colour|ON|CCF|row-name}}
{{Canadian party colour|ON|CCF|row-name|short}}
{{Canadian party colour|QC|CAQ|row-name}}
|}
This cell uses the colour #F4A460
Colour hex: 9999FF
  Lorem Ipsum
Liberal
Liberal
Liberal
Confederation of Regions
Conf of Regions
Co-operative Commonwealth
CCF
Coalition Avenir Québec
Example of inline citation for the {{Canadian party colour|ON|NDP|colour&name}} 
and {{Canadian party colour|ON|Green|colour+name}} party colours and wikilinked articles.

Example of inline citation for the  New Democratic and  Green party colours and wikilinked articles.