Difference between revisions of "Template:ACE2013/doc"
blackwiki>Mr. Stradivarius (add {{lua}} template) |
blackwiki>Mr. Stradivarius on tour (→Instructions for adding new guides: tweak a little) |
||
| Line 5: | Line 5: | ||
== Instructions for adding new guides == | == Instructions for adding new guides == | ||
| − | |||
| − | + | To add a new guide, find the comment <code><nowiki><!-- Add candidate guides here. --></nowiki></code> and add a wikilink to the next blank line in the form of <code><nowiki>| guide# = [[</nowiki>''guide page''<nowiki>|</nowiki>''your username''<nowiki>]]</nowiki></code>. | |
Example, if the existing code is: | Example, if the existing code is: | ||
Revision as of 09:01, 19 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. |
| 30px | This template uses Lua: |
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. 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
To add a new guide, find the comment <!-- Add candidate guides here. --> and add a wikilink to the next blank line in the form of | guide# = [[guide page|your username]].
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]].