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.
Simple usage:
{{#invoke:Arbcom election banner|main | year = | guide1 = | guide2 = | guide3 = | guide4 = | guide5 = }}
Full syntax:
{{#invoke:Arbcom election banner|main | year = | name = | electionpage = | nomstart = | nomend = | votestart = | voteend = | beforenomlink = | nomlink = | votepage = | votelog = | contact = | discuss = | cguide = | cstatements = | cquestions = | cdiscuss = | guide1 = | guide2 = | guide3 = | guide4 = | guide5 = }}
year
- The year of the Arbcom election, in YYYY format. This defaults to the current year.guide1
, guide2
, guide3
, ... - links to voting guides. These will be displayed in random order.These parameters are used to customize links and poll dates. If you don't need customisation, and is up to date, you should be able to leave most or all of these parameters blank. Note - in this section, the string ''YYYY''
refers to the year specified by the parameter.
name
- The name of the template. This is needed to make the navbar work properly. Defaults to ACE''YYYY''
.electionpage
- The main page for the year's Arbcom elections. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>|</nowiki>''YYYY''<nowiki> Arbitration Committee Elections]]</nowiki>
.nomstart
- The date that nominations start. This must be in a format accepted by the November 11
. This defaults to 00:00 on the date specified in for the election year (the "nombegin" value). If there is no value specified in that template, an error is raised.nomend
- The deadline for nominations, e.g. November 18
. This defaults to 23:59 on the day before the date specified in for the election year (the "nomend" value). If there is no value specified in that template, an error is raised.votestart
- The date that voting begins, e.g. November 23
. This defaults to 00:00 on the date specified in for the election year (the "begin" value). If there is no value specified in that template, an error is raised.voteend
- The date that voting ends, e.g. December 5
. This defaults to 23:59 on the day before the date specified in for the election year (the "end" value). If there is no value specified in that template, an error is raised.beforenomlink
- Text to be displayed before the nomination period begins. Defaults to <nowiki>[[Wikipedia:Requests for comment/Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Electoral Commission|Electoral Commission RFC]]</nowiki>
.nomlink
- Text to be displayed while nominations are underway. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Candidates|Nominate]]</nowiki>
.votepage
- The link to the SecurePoll voting page. Defaults to a SecurePoll link with display text "Vote" made using the poll ID from for the election year (the "poll" value). If no value is available the greyed-out text "Vote" is used.votelog
- The link to the voting log. Defaults to a SecurePoll voter log link with display text "Voter log" made using the vote wiki ID from for the election year (the "votewikiid" value). If no value is available the greyed-out text "Voter log" is used.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>[[WT:COORD</nowiki>''YY''<nowiki>|Contact the coordinators]]</nowiki>
, where ''YY''
is the third and fourth digits of the current year.discuss
- Link to the election discussion page. Defaults to <nowiki>[[WT:ACE</nowiki>''YYYY''<nowiki>|Discuss the elections]]</nowiki>
.cguide
- Link to the candidate guide. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Candidates/Guide|Candidate guide]]</nowiki>
.cstatements
- Link to the candidate statements page. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Candidates|Candidate statements]]</nowiki>
.cquestions
- Link to the candidate questions page. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Questions|Questions for the candidates]]</nowiki>
.cdiscuss
- Link to the candidate discussion page. Defaults to <nowiki>[[Wikipedia:Arbitration Committee Elections December </nowiki>''YYYY''<nowiki>/Candidates/Discussion|Discuss the candidates]]</nowiki>
.