Template:Canadian party colour/testcases
Jump to navigation
Jump to search
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|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: █ Smith; █ Smith; █ Smith
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/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.