Template:Canadian party colour/doc

This template can be used to standardize the colours used to represent Canadian political parties in tables, lists, and templates. Enter the jurisdiction and party name, and this template will produce the hex colour code for that party. In tables, this template can start a new row with one cell containing the colour and the next cell containing a wikilink to the article about that party.

A full list of available party names is at WikiProject Political parties and politicians in Canada/list of parties.

Usage

 * to get just the hex code (for use inside other templates)
 * to get bgcolor="colour"
 * to get the colour without the leading #
 * to get a wikilink to the party's article
 * to get a shortened wikilink to party's article (for use in tables)
 * to get an inline text version of the party colour followed by a wikilink to the party's article
 * to get an inline text version of the party colour followed by a shortened wikilink to the party's article
 * to start a new row with party colour as the first cell
 * to start a new row with the party colour as the first cell and a wikilink to the party's article as the second cell
 * to start a new row with the party colour as the first cell and a shortened wikilink to the party's article as the second cell

Where Jur is the jurisdiction, being one of: CA, AB, BC, MB, NB, NS, NF, NL, NT, NU, ON, PE, QC, SK, YK, YT, EDM, MTL, VAN

Example
 Will produce: