This module generates banner templates for the annual Arbitration Committee elections. To make a banner template for an Arbcom election, add the links to that year's Arbcom election pages as described below, and set the four date parameters. After that, editors can add voting guides using the guide''n''
parameters. Voting guides are displayed in a random order.
The basic syntax for the template is as follows:
{{#invoke:Arbcom election banner|main | year = | nomstart = | nomend = | votestart = | voteend = | beforenomlink = | votepage = | votelog = <!-- Add candidate guides here. --> | guide1 = | guide2 = | guide3 = | guide4 = | guide5 = }}
The full syntax for the template is as follows:
{{#invoke:Arbcom election banner|main | year = | name = | root = | electionpage = | nomstart = | nomend = | votestart = | voteend = | beforenomlink = | nomlink = | votepage = | votelog = | contact = | discuss = | cguide = | cstatements = | cquestions = | cdiscuss = <!-- Add candidate guides here. --> | guide1 = | guide2 = | guide3 = | guide4 = | guide5 = }}
These parameters may need to be set explicitly.
year
- The year in which the elections are held. Either year
or name
must be given. If year
is not given, name
must end in a number, which will be taken as year
. In this documentation, the value of year
is denoted by ''YYYY''
.name
- The name of the template. This is needed to make the navbar work properly. Defaults to ACE''YYYY''
.nomstart
- The date that nominations start. This must be in a format accepted by the November 11
. .nomend
- The deadline for nominations, e.g. November 18
. .votestart
- The date that voting begins, e.g. November 23
. .voteend
- The date that voting ends, e.g. December 5
. .votepage
- The link to the SecurePoll voting page. Defaults to pointing to .votelog
- The link to the voting log. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Log|Voter log]]</nowiki>
.beforenomlink
- Text to be displayed before the nomination period begins. Defaults to <nowiki>[[Wikipedia:Requests for comment/</nowiki>''ROOT''|''YYYY''<nowiki> ArbCom pre-election RFC]]</nowiki>
.<nowiki>[[Wikipedia:Requests for comment/Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Electoral Commission|Electoral Commission RFC]]</nowiki>
., the last time such a value was used was in 2016.guide1
, guide2
, guide3
, ... - links to voting guides. These will be displayed in random order.These parameters' default values should be acceptable.
rootpagename
- The ROOTPAGENAME of the various election pages. Defaults to Arbitration Committee Elections December ''YYYY''
. In this documentation, the value of rootpagename
is denoted by ''ROOT''
.electionpage
- The main page for the year's Arbcom elections. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''|''YYYY''<nowiki> Arbitration Committee Elections]]</nowiki>
.nomlink
- Text to be displayed while nominations are underway. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Candidates|Nominate]]</nowiki>
.votelink
- A link to display during the voting period. Defaults to the voting page and the voting log, and can safely be left blank.contact
- Link to the coordinator contact page. Defaults to <nowiki>[[Wikipedia talk:</nowiki>''ROOT''<nowiki>/Coordination|Contact the coordinators]]</nowiki>
.discuss
- Link to the election discussion page. Defaults to <nowiki>[[Wikipedia talk:</nowiki>''ROOT''<nowiki>|Discuss the elections]]</nowiki>
.cguide
- Link to the candidate guide. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Candidates/Guide|Candidate guide]]</nowiki>
.cstatements
- Link to the candidate statements page. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Candidates|Candidate statements]]</nowiki>
.cquestions
- Link to the candidate questions page. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Questions|Questions for the candidates]]</nowiki>
.cdiscuss
- Link to the candidate discussion page. Defaults to <nowiki>[[Wikipedia:</nowiki>''ROOT''<nowiki>/Candidates/Discussion|Discuss the candidates]]</nowiki>
.