Template:Stv-ballot
Appearance
This template is currently protected from editing. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may submit an edit request to ask an administrator to make an edit if it is uncontroversial or supported by consensus. You may also request that this page be unprotected. |
This is a ballot form for a ballot using the single transferable vote and instant run-off method of voting.
Usage
A sample ballot can be cast as follows:
* {{stv-ballot|A=2|B=3|C=1|sign=~~~~}}
This would produce the following output:
- C A B Jimbo Wales (talk) 00:01, 1 April 2009 (UTC)
The same ballot could be cast as follows:
* {{stv-ballot|C=1|A=2|B=3|sign=~~~~}}
Up to 26 options can be ranked using the template (A to Z). Options must be stated as capital letters e.g. A=1 not a=1. There is no requirement to rank all options. There is no intelligent checking of ballots for errors except that if a user leaves blank the a signature field the ballot will produce a warning.
The explicit sign parameter is required for signatures that contain equal-to signs (for example as part of HTML markup). Otherwise, the same ballot could be cast as follows:
* {{stv-ballot|C=1|A=2|B=3|~~~~}}