Editing
Template:Infobox referendum/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == Below are examples of single-choice polar questions, as well as a non-polar example with multiple options. === Before an election === {{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}} | yes = | no = | total = | electorate = | map = Oregon election results-ELECTION NOT YET.svg | mapdivision = | notes = }} 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. <syntaxhighlight lang="wikitext" style="overflow:auto"> {{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}} | yes = | no = | total = | electorate = | map = Oregon election results-ELECTION NOT YET.svg | mapdivision = | notes = }} </syntaxhighlight> Keep in mind that, though the parameters <code>yes</code>, <code>no</code>, <code>total</code>, <code>electorate</code>, and <code>mapdivision</code> are blank, they ''should not'' be deleted. This makes it inconvenient to add data later. {{clear}} === 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 <code>notes</code> parameter to cite the source of the election-night returns. {{clear right}} === After an election === {{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 following code produces the table to the right: <syntaxhighlight lang="wikitext" style="overflow:auto"> {{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]] }} </syntaxhighlight> The parameters <code>yes</code>, <code>no</code>, <code>total</code>, and <code>electorate</code> take only values '''without commas'''. The template automatically formats the numbers when displayed by inserting commas. {{clear}} ===Multichoice referendums=== {{Infobox multichoice referendum | name = 2016 United Kingdom European Union membership referendum | country = United Kingdom | date = {{Start date|2016|06|23|df=y}} | image = | caption = The results in the United Kingdom by constituency | choice1 = Remain in the European Union | percentage1 = 55.11 | choice2 = Leave the European Union | percentage2 = 44.89 | choice3 = Invalid votes | percentage3 = 0.08 }} <syntaxhighlight lang="wikitext" style="overflow: auto"><nowiki> {{Infobox multichoice referendum | name = 2016 United Kingdom European Union membership referendum | country = United Kingdom | date = {{Start date|2016|06|23|df=y}} | choice1 = Remain in the European Union | percentage1 = 55.11 | choice2 = Leave the European Union | percentage2 = 44.89 | choice3 = Invalid votes | percentage3 = 0.08 {{clear}} </nowiki></syntaxhighlight>
Summary:
Please note that all contributions to NightRealm Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
NR:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information