From Wikipedia, the free encyclopedia
Template:Abbrev party name with color is used to produce two adjacent table cells - a colored table cell with a given political party's colors, and a political party's full name without its disambiguation.
Parameters [ edit ]
Parameter
Description
|1=
The party's name.
|rowspan=
Optional; Spans the rows of the color and the party name by the amount entered.
Examples [ edit ]
Year
Party
2000
BJP
2005
C
2010
Lab
2015
2020
Foo Party
{| class = "wikitable"
! scope = "col" | Year
! scope = "col" colspan = "2" | Party
|-
| 2000
| {{{ {BASEPAGENAME}} | Bharatiya Janata Party}}
| -
| 2005
| {{{ {BASEPAGENAME}} | Constitution Party (United States)}}
| -
| 2010
| {{{ {BASEPAGENAME}} | Labour Party (UK)| rowspan=2}}
| -
| 2015
| -
| 2020
| {{{ {BASEPAGENAME}} | Foo Party}}
| }
Template data [ edit ]
TemplateData
Template parameters[ Edit template data ]
This template prefers inline formatting of parameters.
Parameter Description Type Status Party name 1
Name of the political party
String required Rowspan rowspan
number of rows that this party covers in the table (default is 1)
Number optional
See also [ edit ]