Template:Party name with color

From ModelUSGov Wiki
Jump to navigation Jump to search

style="width:4px; " data-sort-value="{{{1}}}" | | style="text-align:left;" scope="row" | [[{{{1}}}|{{{1}}}]]

Template documentation[view] [edit] [history] [purge]

Parameters[edit source]

If parameter full is non-empty, a full name of the party is displayed.

Example[edit source]

Used below in examples
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}}
|}