Template:Infobox referendum: Difference between revisions
m (1 revision imported) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly> | ||
{{infobox | |||
| child = {{{child|{{{embed|}}}}}} | |||
| bodystyle = width:24em | | bodystyle = width:24em | ||
| headerstyle = background:#efefef; | | headerstyle = background:#efefef; | ||
| title = {{{name|}}} | | title = {{#ifeq:{{{child|{{{embed|}}}}}}|yes|{{#if:{{{name|}}}|<div style="background-color:#ddd; font-size:120%; font-weight:bold">{{{name}}}</div>}}|{{{name|{{PAGENAME}}}}}}} | ||
| subheader1 = {{#if:{{{flag_image|}}} | | subheader1 = {{#if:{{{flag_image|}}} | ||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}<hr /> | |{{#invoke:InfoboxImage|InfoboxImage|image={{{flag_image|}}}|size=50px|alt=|link=}}{{If mobile||<hr />}} | ||
|{{#if:{{{country|}}} | |{{#if:{{{country|}}} | ||
|{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}<hr /> | |{{flagdeco|{{{country}}}|variant={{{flag_year|}}}|size=50px|noredlink={{main other||yes}}}}{{If mobile||<hr />}} | ||
}} | }} | ||
}} | }} | ||
| subheader2 = {{#if: | | subheader2 = {{#if:{{{date|}}}| | ||
{{succession links|leftstyle=width: | {{succession links|leftstyle=width:10%;|centerstyle = width:80%;|rightstyle=width:10%; | ||
| left = | | left = | ||
| center = {{#if:{{{date|}}}|'''{{{date}}}'''}} | | center = {{#if:{{{date|}}}|'''{{{date}}}'''}} | ||
| right = | | right = | ||
}}{{If mobile||<hr />}} | |||
}} | }} | ||
| subheader3 = {{#if:{{{title|{{{question|}}}}}}|{{box|{{{title|{{{question|}}}}}}|color=#FEFEFE|border color=#A2A9B1|border size=2px|width=24em}}}} | | subheader3 = {{#if:{{{title|{{{question|}}}}}}|{{box|{{{title|{{{question|}}}}}}|color=#FEFEFE|border color=#A2A9B1|border size=2px|width=calc(100% - 16px)|max-width=24em}}}} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|240px}}}|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_width|240px}}}|alt={{{image_alt|}}}}} | ||
Line 26: | Line 29: | ||
| imagestyle = border-bottom: 1px solid #A2A9B1 | | imagestyle = border-bottom: 1px solid #A2A9B1 | ||
| label1 | | label1 = Voting system | ||
| data1 = {{{voting_system|}}} | |||
| | |||
| label3 = {{#if:{{{votes_counted|}}}|Votes counted|{{#if:{{{reporting|}}}|Reporting|{{#if:{{{declared|}}}|Declared}}}}}} | | label3 = {{#if:{{{votes_counted|}}}|Votes counted|{{#if:{{{reporting|}}}|Reporting|{{#if:{{{declared|}}}|Declared}}}}}} | ||
| data3 = {{#if:{{{votes_counted|}}}{{{reporting|}}}{{{declared|}}}|{{Percentage bar|{{#if:{{{votes_counted|}}}|{{{votes_counted}}}|{{#if:{{{reporting|}}}|{{{reporting}}}|{{#if:{{{declared|}}}|{{{declared}}}}}}}}}|c=# | | data3 = {{#if:{{{votes_counted|}}}{{{reporting|}}}{{{declared|}}}|{{center|{{Percentage bar|{{#if:{{{votes_counted|}}}|{{{votes_counted}}}|{{#if:{{{reporting|}}}|{{{reporting}}}|{{#if:{{{declared|}}}|{{{declared}}}}}}}}}|c=#1BCE0E}}}}}} {{#if:{{{last_update|}}}|as of '''{{{last_update}}} {{#if:{{{time_zone|}}}|{{{time_zone}}}}}'''}} | ||
|label4 = Outcome | |label4 = Outcome | ||
Line 46: | Line 46: | ||
}} | }} | ||
| | | header8 = {{{part1_subject|{{#if:{{{choice1|}}}{{{part1_choice1|}}}|Results|}}}}} | ||
| data9 = {{#if:{{{part1_subject|}}}{{{choice1|}}}{{{part1_choice1|}}}|{{bar box | |||
| | |||
| border_width = 0 | | border_width = 0 | ||
| background-color = transparent | | background-color = transparent | ||
Line 65: | Line 53: | ||
| barwidth = {{{barwidth|80px}}} | | barwidth = {{{barwidth|80px}}} | ||
| bars= | | bars= | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{choice1|{{{part1_choice1|}}}}}}|{{{choice1_color|{{{part1_choice1_color| #47729E}}}}}}|{{{percentage1|{{{part1_percentage1|}}}}}}}} | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{choice2|{{{part1_choice2|}}}}}}|{{{choice2_color|{{{part1_choice2_color| #8B8B54}}}}}}|{{{percentage2|{{{part1_percentage2|}}}}}}}} | ||
{{#if:{{{choice3|{{{part1_choice3|}}}}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{choice3|{{{part1_choice3|}}}}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{choice3|{{{part1_choice3|}}}}}}|{{{choice3_color|{{{part1_choice3_color|red}}}}}}|{{{percentage3|{{{part1_percentage3|}}}}}}}}}} | ||
{{#if:{{{choice4|{{{part1_choice4|}}}}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{choice4|{{{part1_choice4|}}}}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{choice4|{{{part1_choice4|}}}}}}|{{{choice4_color|{{{part1_choice4_color|orange}}}}}}|{{{percentage4|{{{part1_percentage4|}}}}}}}}}} | ||
{{#if:{{{choice5|{{{part1_choice5|}}}}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{choice5|{{{part1_choice5|}}}}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{choice5|{{{part1_choice5|}}}}}}|{{{choice5_color|{{{part1_choice5_color|teal}}}}}}|{{{percentage5|{{{part1_percentage5|}}}}}}}}}} | ||
| caption = {{{results_caption|{{{results1_caption|{{{part1_caption|}}}}}}}}} | | caption = {{{results_caption|{{{results1_caption|{{{part1_caption|}}}}}}}}} | ||
}}|}} | }}|}} | ||
| | | header10 = {{{part2_subject|}}} | ||
| | | data11 = {{#if:{{{part2_subject|}}}|{{bar box | ||
| border_width = 0 | | border_width = 0 | ||
| background-color = transparent | | background-color = transparent | ||
Line 80: | Line 68: | ||
| barwidth = {{{barwidth|80px}}} | | barwidth = {{{barwidth|80px}}} | ||
| bars= | | bars= | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part2_choice1|}}}|{{{part2_choice1_color|#47729E}}}|{{{part2_percentage1|}}}}} | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part2_choice2|}}}|{{{part2_choice2_color| #8B8B54}}}|{{{part2_percentage2|}}}}} | ||
{{#if:{{{part2_choice3|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part2_choice3|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part2_choice3|}}}|{{{part2_choice3_color|red}}}|{{{part2_percentage3|}}}}}}} | ||
{{#if:{{{part2_choice4|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part2_choice4|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part2_choice4|}}}|{{{part2_choice4_color|orange}}}|{{{part2_percentage4|}}}}}}} | ||
{{#if:{{{part2_choice5|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part2_choice5|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part2_choice5|}}}|{{{part2_choice5_color|teal}}}|{{{part2_percentage5|}}}}}}} | ||
| caption = {{{results2_caption|{{{part2_caption|}}}}}} | | caption = {{{results2_caption|{{{part2_caption|}}}}}} | ||
}}|}} | }}|}} | ||
| | | header12 = {{{part3_subject|}}} | ||
| | | data13 = {{#if:{{{part3_subject|}}}|{{bar box | ||
| border_width = 0 | | border_width = 0 | ||
| background-color = transparent | | background-color = transparent | ||
Line 95: | Line 83: | ||
| barwidth = {{{barwidth|80px}}} | | barwidth = {{{barwidth|80px}}} | ||
| bars= | | bars= | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part3_choice1|}}}|{{{part3_choice1_color| #47729E}}}|{{{part3_percentage1|}}}}} | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part3_choice2|}}}|{{{part3_choice2_color|#8B8B54}}}|{{{part3_percentage2|}}}}} | ||
{{#if:{{{part3_choice3|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part3_choice3|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part3_choice3|}}}|{{{part3_choice3_color|red}}}|{{{part3_percentage3|}}}}}}} | ||
{{#if:{{{part3_choice4|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part3_choice4|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part3_choice4|}}}|{{{part3_choice4_color|orange}}}|{{{part3_percentage4|}}}}}}} | ||
{{#if:{{{part3_choice5|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part3_choice5|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part3_choice5|}}}|{{{part3_choice5_color|teal}}}|{{{part3_percentage5|}}}}}}} | ||
| caption = {{{results3_caption|{{{part3_caption|}}}}}} | | caption = {{{results3_caption|{{{part3_caption|}}}}}} | ||
}}|}} | }}|}} | ||
| | | header14 = {{{part4_subject|}}} | ||
| | | data15 = {{#if:{{{part4_subject|}}}|{{bar box | ||
| border_width = 0 | | border_width = 0 | ||
| background-color = transparent | | background-color = transparent | ||
Line 110: | Line 98: | ||
| barwidth = {{{barwidth|80px}}} | | barwidth = {{{barwidth|80px}}} | ||
| bars= | | bars= | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part4_choice1|}}}|{{{part4_choice1_color| #47729E}}}|{{{part4_percentage1|}}}}} | ||
{{bar percent|barwidth={{{barwidth| | {{bar percent|barwidth={{{barwidth|180px}}}|{{{part4_choice2|}}}|{{{part4_choice2_color| #8B8B54}}}|{{{part4_percentage2|}}}}} | ||
{{#if:{{{part4_choice3|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part4_choice3|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part4_choice3|}}}|{{{part4_choice3_color|red}}}|{{{part4_percentage3|}}}}}}} | ||
{{#if:{{{part4_choice4|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part4_choice4|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part4_choice4|}}}|{{{part4_choice4_color|orange}}}|{{{part4_percentage4|}}}}}}} | ||
{{#if:{{{part4_choice5|}}}|{{bar percent|barwidth={{{barwidth| | {{#if:{{{part4_choice5|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part4_choice5|}}}|{{{part4_choice5_color|teal}}}|{{{part4_percentage5|}}}}}}} | ||
| caption = {{{results4_caption|{{{part4_caption|}}}}}} | | caption = {{{results4_caption|{{{part4_caption|}}}}}} | ||
}}|}} | }}|}} | ||
| header16 = {{{part5_subject|}}} | |||
| data17 = {{#if:{{{part5_subject|}}}|{{bar box | |||
| border_width = 0 | |||
| background-color = transparent | |||
| width = {{{width|300px}}} | |||
| barwidth = {{{barwidth|80px}}} | |||
| bars= | |||
{{bar percent|barwidth={{{barwidth|180px}}}|{{{part5_choice1|}}}|{{{part5_choice1_color| #47729E}}}|{{{part5_percentage1|}}}}} | |||
{{bar percent|barwidth={{{barwidth|180px}}}|{{{part5_choice2|}}}|{{{part5_choice2_color| #8B8B54}}}|{{{part5_percentage2|}}}}} | |||
{{#if:{{{part5_choice3|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part5_choice3|}}}|{{{part5_choice3_color|red}}}|{{{part5_percentage3|}}}}}}} | |||
{{#if:{{{part5_choice4|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part5_choice4|}}}|{{{part5_choice4_color|orange}}}|{{{part5_percentage4|}}}}}}} | |||
{{#if:{{{part5_choice5|}}}|{{bar percent|barwidth={{{barwidth|180px}}}|{{{part5_choice5|}}}|{{{part5_choice5_color|teal}}}|{{{part5_percentage5|}}}}}}} | |||
| caption = {{{results5_caption|{{{part5_caption|}}}}}} | |||
}}|}} | |||
| data18 = {{#if:{{{map|}}}|{{If mobile||<hr />}}}} | |||
| header19 = {{#if:{{{map_heading|}}}|{{{map_heading|}}}}} | |||
| data20 = {{#if:{{{map|}}}|{{#if:{{{map|}}} | |||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=300px|alt={{{map_alt|}}}}} | |||
|{{{map}}} | |||
}}<div>{{#if:{{{mapcaption|{{{map_caption|}}}}}}|{{{mapcaption|{{{map_caption|}}}}}}|Results by {{#if:{{{mapdivision|{{{map_division|}}}}}}|{{{mapdivision|{{{map_division|}}}}}}|county}}}}</div> | |||
}} | |||
| data21 = {{#if:{{{map2|}}}|{{If mobile||<hr />}}}} | |||
| header22 = {{#if:{{{map_heading2|}}}|{{{map_heading2|}}}}} | |||
| data23 = {{#if:{{{map2|}}}|{{#if:{{{map2|}}} | |||
|{{#invoke:InfoboxImage|InfoboxImage|image={{{map2|}}}|size={{{map_size2|}}}|sizedefault=260px|alt={{{map_alt2|}}}}} | |||
|{{{map2}}} | |||
}}<div>{{#if:{{{mapcaption2|{{{map_caption2|}}}}}}|{{{mapcaption2|{{{map_caption2|}}}}}}|Results by {{#if:{{{mapdivision2|{{{map_division2|}}}}}}|{{{mapdivision2|{{{map_division2|}}}}}}|county}}}}</div> | |||
}} | |||
| data24 = {{{module|}}} | |||
| belowstyle = text-align:left; background:#fafafa; border-top: #aaa 1px solid; padding:0.2em; | | belowstyle = text-align:left; background:#fafafa; border-top: #aaa 1px solid; padding:0.2em; | ||
| below = {{#if:{{{notes|}}}| | | below = {{#if:{{{notes|}}}|{{{notes}}}}} | ||
}}</includeonly><noinclude> | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview=Page using [[Template:Infobox referendum]] with unknown parameter "_VALUE_"|ignoreblank=y| name | country | title | flag_year | flag_image | date | previous_year | previous_referendum | next_year | next_referendum | question | image | image_width | image_alt | caption | location | voting_system | votes_counted | last_update | time_zone | outcome | website | yes_text | yes | no_text | no | blanktype | blank | othertype | other | invalid | total | totalref | electorate | voter_registration | turnoutpct | map | map_heading | map_size | map_alt | mapdivision | map_division | map_caption | map2 | map_heading2 | map_size2 | map_alt2 | mapdivision2 | map_division2 | mapcaption2 | width | barwidth | part1_subject | part1_choice1 | part1_percentage1 | part1_color1 | part1_choice2 | part1_percentage2 | part1_color2 | part1_choice3 | part1_percentage3 | part1_color3 | part1_choice4 | part1_percentage4 | part1_color4 | part1_choice5 | part1_percentage5 | part1_color5 | part1_caption | part2_subject | part2_choice1 | part2_percentage1 | part2_color1 | part2_choice2 | part2_percentage2 | part2_color2 | part2_choice3 | part2_percentage3 | part2_color3 | part2_choice4 | part2_percentage4 | part2_color4 | part2_choice5 | part2_percentage5 | part2_color5 | part2_caption | part3_subject | part3_choice1 | part3_percentage1 | part3_color1 | part3_choice2 | part3_percentage2 | part3_color2 | part3_choice3 | part3_percentage3 | part3_color3 | part3_choice4 | part3_prcentage4 | part3_color4 | part3_choice5 | part3_percentage5 | part3_color5 | part3_caption | part4_subject | part4_choice1 | part4_percentage1 | part4_color1 | part4_choice2 | part4_percentage2 | part4_color2 | part4_choice3 | part4_percentage3 | part4_color3 | part4_choice4 | part4_prcentage4 | part4_color4 | part4_choice5 | part4_percentage5 | part4_color5 | part4_caption | part5_subject | part5_choice1 | part5_percentage1 | part5_color1 | part5_choice2 | part5_percentage2 | part5_color2 | part5_choice3 | part5_percentage3 | part5_color3 | part5_choice4 | part5_prcentage4 | part5_color4 | part5_choice5 | part5_percentage5 | part5_color5 | part5_caption | notes | child | embed | module | reporting | mapcaption}}</includeonly><noinclude> | ||
{{ | {{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:25, 13 April 2024
This template's accessibility is in question. Relevant discussion may be found on the talk page. Information on making articles more accessible can be found at WikiProject Accessibility. |
Basic usage
This template is meant to work for referendums with polar questions as well as non-polar questions. This template can handle up to four subjects.
Please note the following:
- All numbers must be specified as plain numbers, without additional comments or references, or else the template will display improperly. The template uses the magic word {{formatnum}} to insert commas for display.
- All percentages are calculated by the template, as well as the number of valid votes, invalid and blank votes, and voter turnout. Therefore, it is not necessary to find or have this data.
- The template figures out by itself whether the majority of voters approved or rejected the referendum based on the data it is fed. Therefore, it is not necessary to specify this. Furthermore, this cannot be overridden. The order the yes and no parameters are listed in does not affect which is displayed first.
{{Infobox referendum | name = | title = | image = | image_width = | image_alt = | caption = | location = | date = <!-- {{Start date|YYYY|MM|DD}} --> | yes = | no = | other = | othertype = e.g. Informal votes, or Blank Votes | total = | electorate = | voter_registration = if nothing is entered or term is omitted, the term "registered voters" is used. if "no" is entered, "registered voters" is replaced by "eligible to vote" | map = | mapdivision = | mapcaption = | map2 = | mapdivision2 = | mapcaption2 = | notes = | voting_system = | width = | barwidth = | status = | part1_subject = | part1_choice1 = | part1_percentage1 = | part1_color1 = | part1_choice2 = | part1_percentage2 = | part1_color2 = | part1_choice3 = | part1_percentage3 = | part1_color3 = | part1_choice4 = | part1_percentage4 = | part1_color4 = | part1_choice5 = | part1_percentage5 = | part1_color5 = | part1_caption = | part2_subject = | part2_choice1 = | part2_percentage1 = | part2_color1 = | part2_choice2 = | part2_percentage2 = | part2_color2 = | part2_choice3 = | part2_percentage3 = | part2_color3 = | part2_choice4 = | part2_percentage4 = | part2_color4 = | part2_choice5 = | part2_percentage5 = | part2_color5 = | part2_caption = | website = }}
Examples
Below are examples of single-choice polar questions, as well as a non-polar example with multiple options.
Before an election
| ||
Template:Box | ||
Results by county |
Use the model code below before an election for a referendum is held. Oregon Ballot Measure 56 (2008) is used as an example to the right.
{{Infobox referendum | name = Measure 56 | title = Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting | location = | date = {{Start date|2018|11|04|df=y}} (in {{days from now|2018|11|04}}) | yes = | no = | total = | electorate = | map = Oregon election results-ELECTION NOT YET.svg | mapdivision = | notes = }}
Keep in mind that, though the parameters yes, no, total, electorate, and mapdivision are blank, they should not be deleted. This makes it inconvenient to add data later.
During the election
Once election day arrives, the image can be changed to File:Oregon election results-PENDING.svg. After the polls have closed and start announcing returns, start putting the data into the template, updating as often as reasonable. Use the notes parameter to cite the source of the election-night returns.
After an election
Template:Box | ||||||||||||||||||||||
Results | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
Results by county | ||||||||||||||||||||||
Source: Oregon Secretary of State |
The following code produces the table to the right:
{{Infobox referendum | name = Measure 56 | title = Amends Constitution: Provides That May And November Property Tax Elections Are Decided By Majority Of Voters Voting | yes = 959118 | no = 735500 | total = 1845251 | electorate = 2153914 | map = File:Oregon 2008 Measure 56.svg | mapdivision = | notes = Source: [[Oregon Secretary of State]] }}
The parameters yes, no, total, and electorate take only values without commas. The template automatically formats the numbers when displayed by inserting commas.
Multichoice referendums
| ||
Website | referendum2014.ru | |
---|---|---|
Results | ||
{{Infobox multichoice referendum | name = Crimean referendum, 2014 | location = [[Crimea]], [[Ukraine]] | date = {{Start date and years ago|2014|03|16|df=y}} | image = Crimea location map.svg | caption = The peninsula of Crimea and its local administrative subdivisions | status = ongoing | choice1 = Join the Russian Federation | percentage1 = 90 | choice2 = Restore the 1992 Constitution and its status within Ukraine | percentage2 = 10 | choice3 = Blank votes | percentage3 = 0 | choice4 = Invalid | percentage4 = 0 | website = [http://referendum2014.ru referendum2014.ru] }}
Parameters
- name
- The name of the referendum, such as Measure 56 or Proposition 1A.
- title
- The official ballot title.
- location
- The administrative division (or country for a nationwide vote) where the referendum was held.
- date
- When the referendum was held.
- yes
- The number of votes approving the referendum.
- no
- The number of votes rejecting the referendum.
- total
- The total number of votes cast in the election.
- (This includes all counted votes as well as invalid or blank votes.)
- electorate
- The number of people eligible to vote in the election (in some countries this means the number of people registered to vote).
- (This includes people who did not cast a vote on the referendum.)
- voter registration
- Whether voter registration determines the number of eligible voters. If no, the term "registered voters" will not be used for the parameter "electorate", but "eligible to vote" is used instead.
- map
- The map of election results.
- mapdivision
- The name of the political subdivisions shown in the map, such as county, parish, or canton.
- (If no value is given, the default is county. Give any value to override this.)
- map2
- A supplementary map for election results, like population density
- mapdivision
- The name of the political subdivisions shown in the map, such as county, parish, or canton.
- (If no value is given, the default is county. Give any value to override this.)
- notes
- Any notes, such as the source of the data.
Additional parameters
- float
- Aligns the infobox flush left if given the value left.
- (Defaults to right if no value is given or the parameter is omitted.)
- other
- The total number of valid votes which were not yes or no (e.g., informal votes)
- othertype
- Label to use for the "other votes" statistics, where those are part of the valid votes (e.g., Informal votes or Blank votes). If "Blank votes" is used here, the text "Invalid or blank votes" is also changed to "Invalid votes"
- invalid
- The total number of invalid votes. This may be used as an alternative to
total
, in which case the total number of votes is computed as the sum ofyes
,no
, andinvalid
. If bothinvalid
andtotal
are specified, thetotal
parameter will be used for computing the total number of votes. - To suppress the inclusion of invalid votes, specify
invalid
, but leave the value blank
- totalref
- A citation for the total number of votes
- turnoutpct
- The percentage of the electorate who voted in the referendum. Note that this is automatically computed from the value of
electorate
and the total number of votes, ifelectorate
is specified.
- mapcaption
- Use this parameter to override the default legend caption used for the map.
- detailed_legend
- Set this parameter to
yes
for a detailed map legend, instead of the default simple yes/no legend. This parameter has no effect ifmapcaption
is used.
- legend_yes
- The colour to use for yes in the default simple map legend. This parameter has no effect if
mapcaption
ordetailed_legend
are used.
- legend_no
- The colour to use for no in the default simple map legend. This parameter has no effect if
mapcaption
ordetailed_legend
are used.
Region-specific information
United States
California
The California Secretary of State's website prominently displays results for the latest election. Results are also available as far back as June 1990 on another page at the website. Before 2000, results are listed in a single document, both the statement of vote (which is brief) and the supplement to the statement of vote (which is highly detailed). Starting in 2000, results are organized into a table of contents.
Oregon
The Oregon Secretary of State's website maintains an online record of detailed election results going back to 1995-12-05. Results by county for each ballot measure since then are included. Statistics on voter registration (fitting the electorate parameter) and participation/turnout (the total parameter) is available alongside the official results for each election.
Basic data (i.e., without results by county) on all ballot measures in Oregon history can also be found in the online edition of the Oregon Blue Book. Voter registration information going back to 1950 is also provided.
The following images can be used in place of an election results map when none can be made:
See also
{{bar_box}}