Template:Party name with colour is used to produce two adjacent table cells - a colored table cell with a given political party's colors, and a political party's name.

Parameters

change
Parameter Description
|1= The party's name.
|full= Optional; Displays the full name of the party without its disambiguation.
|shortname= Optional; Uses the value of |shortname= as the short name.
|color= Optional; Uses the value of |color= as the party's color.
|rowspan= Optional; Spans the rows of the color and the party name by the amount entered.
|no_link= Optional; Any value will disable linking to the party's article.
|dab= Optional; Any value will display the part in |1=; useful to display party's name with disambiguation.

Example

change
Used below in examples
Template Content
{{Party color|Nepali Congress}} green
{{Party shortname|Nepal Communist Party}} NCP
{{Party color|Constitution Party (United States)}} #A356DE
{{Party shortname|Constitution Party (United States)}} Republican
{{Party color|Labour Party (UK)}} #E4003B
{{Party shortname|Labour Party (UK)}} Labour
Year Party
2000 Nepali Congress
2005 Nepal Communist Party
2010 Constitution
2015 Constitution Party
2020 Labour
2025
2030 Foo Party
{| class="wikitable"
|-
! scope="col" | Year
! scope="col" colspan="2" | Party
|-
| 2000
| {{Party name with color|Nepali Congress}}
|-
| 2005
| {{Party name with color|Nepal Communist Party|full=yes}}
|-
| 2010
| {{Party name with color|Constitution Party (United States)}}
|-
| 2015
| {{Party name with color|Constitution Party (United States)|full=yes}}
|-
| 2020
| {{Party name with color|Labour Party (UK)|rowspan=2}}
|-
| 2025
|-
| 2030
| {{Party name with color|Foo Party}}
|}

See also

change

Tracking category

change