Difference between revisions of "Template:ACE2013/doc"
(upd example) |
(→Instructions for adding new guides: upd example) |
||
| Line 9: | Line 9: | ||
Example, if the existing code is: | Example, if the existing code is: | ||
<pre> | <pre> | ||
| + | <!-- Add candidate guides here. --> | ||
| guide1 = [[Example guide 1]] | | guide1 = [[Example guide 1]] | ||
| guide2 = [[Example guide 2]] | | guide2 = [[Example guide 2]] | ||
| − | | guide3 = | + | | guide3 = |
| guide4 = | | guide4 = | ||
| − | |||
</pre> | </pre> | ||
To add the guide ''My Guide'', you would make the following changes: | To add the guide ''My Guide'', you would make the following changes: | ||
<pre> | <pre> | ||
| + | <!-- Add candidate guides here. --> | ||
| guide1 = [[Example guide 1]] | | guide1 = [[Example guide 1]] | ||
| guide2 = [[Example guide 2]] | | guide2 = [[Example guide 2]] | ||
| − | | guide3 | + | | guide3 = [[wikilink to your guide|My Guide]] |
| − | + | | guide4 = | |
| − | | | ||
</pre> | </pre> | ||
Add additional lines in the form of <code><nowiki>| guide# = [[Example guide]]</nowiki></code>. | Add additional lines in the form of <code><nowiki>| guide# = [[Example guide]]</nowiki></code>. | ||
Revision as of 00:13, 3 November 2013
| 40px | This is a documentation subpage for Template:ACE2013. It contains usage information, categories and other content that is not part of the original template page. |
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, find the comment <!-- Add candidate guides here. --> and add a wikilink to the next blamk line in the form of | guide# = [[Example guide]].
Example, if the existing code is:
<!-- Add candidate guides here. --> | guide1 = [[Example guide 1]] | guide2 = [[Example guide 2]] | guide3 = | guide4 =
To add the guide My Guide, you would make the following changes:
<!-- Add candidate guides here. --> | guide1 = [[Example guide 1]] | guide2 = [[Example guide 2]] | guide3 = [[wikilink to your guide|My Guide]] | guide4 =
Add additional lines in the form of | guide# = [[Example guide]].