Template:Full party name with color
Appearance
| This template uses Lua: |
Template:Full 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
[change source]| Parameter | Description |
|---|---|
|1= |
The party's name. |
|rowspan= |
Optional; Spans the rows of the color and the party name by the amount entered. |
|dab= |
Optional; Set to "yes" to include parenthetical disambiguation in the party's name. |
Examples
[change source]| Template | Content |
|---|---|
{{Party color|Bharatiya Janata Party}} |
#FF9933 |
{{Party color|Constitution Party (United States)}} |
#A356DE |
{{Party color|Labour Party (UK)}} |
#E4003B |
| Year | Party | |
|---|---|---|
| 2000 | Bharatiya Janata Party | |
| 2005 | Constitution Party | |
| 2010 | Labour Party | |
| 2015 | ||
| 2020 | Foo Party | |
{| class="wikitable"
! scope="col" | Year
! scope="col" colspan="2" | Party
|-
| 2000
| {{Full party name with color|Bharatiya Janata Party}}
|-
| 2005
| {{Full party name with color|Constitution Party (United States)}}
|-
| 2010
| {{Full party name with color|Labour Party (UK)|rowspan=2}}
|-
| 2015
|-
| 2020
| {{Full party name with color|Foo Party}}
|}
Template data
[change source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Full party name with color in articles based on its TemplateData.
TemplateData for Full party name with color
TemplateData | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
No description.
| ||||||||||||||||||||