Template:Party name with color
style="width:4px; " data-sort-value="{{{1}}}" | | style="text-align:left;" scope="row" | [[{{{1}}}|{{{1}}}]]
Parameters
If parameter full
is non-empty, a full name of the party is displayed.
Example
Template | Content |
---|---|
{{Bharatiya Janata Party/meta/color}}
|
#FF9933 |
{{Bharatiya Janata Party/meta/shortname}}
|
BJP |
{{Constitution Party (United States)/meta/color}}
|
#A356DE |
{{Constitution Party (United States)/meta/shortname}}
|
Constitution |
Party | |
---|---|
Bharatiya Janata Party | |
Bharatiya Janata Party | |
Constitution Party | |
Constitution Party | |
Foo Party |
{| class="wikitable" |- ! colspan="2" | Party |- | {{Full party name with color|Bharatiya Janata Party}} |- | {{Full party name with color|Bharatiya Janata Party|full=yes}} |- | {{Full party name with color|Constitution Party (United States)}} |- | {{Full party name with color|Constitution Party (United States)|full=yes}} |- | {{Full party name with color|Foo Party}} |}