• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:ACE2011

  • Template
  • Talk
  • Language
  • Watch
  • Edit
ArbCom
  • v
  • t
  • e
  • 2011 Arbitration Committee Elections
  • Voter log
  • Contact the coordinators
  • Discuss the elections
  • Give your feedback

Candidates
Candidate guide
Candidate statements
Questions for the candidates
Discuss the candidates
Voter guides
These guides represent only the views of their authors. All guides written responsibly, seriously and in good faith are welcome for inclusion.
  • HJ Mitchell
  • Sven Manguard
  • SandyGeorgia
  • Ealdgyth
  • RegentsPark
  • Kiefer.Wolfowitz
  • Rschen7754
  • Badger Drink
  • William M. Connolley
  • Wizardman
  • NuclearWarfare
  • Joe Gazz84
  • Guerillero
  • Carcharoth
  • Monty845
  • Elonka
  • Heimstern
  • Master&Expert
Template documentation[view] [edit] [history] [purge]

The RFC for the 2011 Arbcom elections requested that, if possible, the order of the voter guides in this template be randomized each time the template is refreshed. As a stop gap measure, the template is currently set up to use a combination of the number of edits to the project, and the current time to generate a pseudo random matrix of guides. The randomization is not perfect; depending on the number of guides listed, it will be possible to see patterns in the order, however each guide should still have an equal chance to appear in each position. If you want to check the cycling, make sure to purge your view, as the server may not regenerate the template on every view.

Instructions for adding new guides

edit

The easiest way to add your guide is just to list it at Template talk:ACE2011, and someone else will add it for you. Or, if you'd like to try and insert it yourself, instructions are as follows:

The voter guide order is based on a pseudo random number. To add a new guide, you will need to edit {{ACE2011/Guides}}. Add a new line at the end, with the new guide listed, increase the mod # throughout the template by 1, and set the # in ({{CURRENTTIMESTAMP}} + #) to one higher than the entry above.

Example, if the existing code is:

{{#switch:{{{1}}}

|{{#expr: ({{CURRENTTIMESTAMP}} + 0) mod 2}} = Guide 1

|{{#expr: ({{CURRENTTIMESTAMP}} + 1) mod 2}} = Guide 2

}}

To add the guide of User B, you would make the following changes: (strike for removals, underlines for additions)

{{#switch:{{{1}}}

|{{#expr: ({{CURRENTTIMESTAMP}} + 0) mod 23}} = Guide 1

|{{#expr: ({{CURRENTTIMESTAMP}} + 1) mod 23}} = Guide 2

|{{#expr: ({{CURRENTTIMESTAMP}} + 2) mod 3}} = Guide 3

}}

The above documentation is transcluded from Template:ACE2011/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:ACE2011&oldid=1090420348"
Last edited on 29 May 2022, at 12:08

Languages

    • ไทย
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 29 May 2022, at 12:08 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop