Template:Referendum bar
Jump to navigation
Jump to search
{{{title}}} results (excluding invalid votes) | |
---|---|
{{{text1}}} TBD |
{{{text2}}} TBD |
▲ 50% |
Usage
For use in referendum articles and lists.
{{Referendum bar
| title =
| text1 =
| vote1 =
| background1 =
| textcolor1 =
| text2 =
| vote2 =
| background2 =
| textcolor2 =
}}
Examples
Pre-election
Example: 2022 California Proposition 1
{{Referendum bar
| title = Proposition 1
| text1 = Yes
| vote1 =
| background1 = #01387b
| textcolor1 = #fff
| text2 = No
| vote2 =
| background2 = #feda00
| textcolor2 = #000
}}
Proposition 1 results (excluding invalid votes) | |
---|---|
Yes TBD |
No TBD |
▲ 50% |
Post-election
Example: 2016 United Kingdom European Union membership referendum
{{Referendum bar
| title = National referendum
| text1 = Leave
| vote1 = 17,410,742
| background1 = #0069b5
| textcolor1 = #fff
| text2 = Remain
| vote2 = 16,141,241
| background2 = #fcc822
| textcolor2 = #000
}}
National referendum results (excluding invalid votes) | |
---|---|
Leave 17,410,742 (51.9%) |
Remain 16,141,241 (48.1%) |
▲ 50% |
Color palettes
It is recommended to use a color palette that is accessible for color-blind users. David Nichols provides some accessible color palettes.
- Generic
Blue (#acf)
Yellow (#fea)
- California (official state colors)
Blue (#01387b)
Gold (#feda00)