Difference between revisions of "Template:ACE2013/doc"

From blackwiki
Jump to navigation Jump to search
(rm old example)
(upd dates)
Line 1: Line 1:
 
{{documentation subpage}}
 
{{documentation subpage}}
  
The [[Wikipedia:Requests for comment/Arbitration Committee Elections December 2011|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. The 2012 RFC resulted in no change in that regard. 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.
+
The [[Wikipedia:Requests for comment/Arbitration Committee Elections December 2011|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. The 2013 RFC resulted in no change in that regard. 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==
 
==Instructions for adding new guides==
The easiest way to add your guide is just to list it at [[Template talk:ACE2012]], and someone else will add it for you.  Or, if you'd like to try and insert it yourself, instructions are as follows:
+
The easiest way to add your guide is just to list it at [[Template talk:ACE2013]], 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 {{tl|ACE2012/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 <nowiki>({{CURRENTTIMESTAMP}} + #)</nowiki> to one higher than the entry above.  
+
The voter guide order is based on a pseudo random number. To add a new guide, you will need to edit {{tl|ACE2013/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 <nowiki>({{CURRENTTIMESTAMP}} + #)</nowiki> to one higher than the entry above.  
  
 
Example, if the existing code is:
 
Example, if the existing code is:

Revision as of 23:42, 2 November 2013

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. The 2013 RFC resulted in no change in that regard. 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

The easiest way to add your guide is just to list it at Template talk:ACE2013, 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 {{ACE2013/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: